Skip to content

Commit 1c965cb

Browse files
authored
Merge branch 'main' into module_wcc_add_defender
2 parents 4815249 + 94a0b7a commit 1c965cb

4 files changed

Lines changed: 16 additions & 7 deletions

File tree

nxc/helpers/bloodhound.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@ def add_user_bh(user, domain, logger, config):
5252
_add_with_domain(user_info, domain, tx, logger)
5353
except AuthError:
5454
logger.fail(f"Provided Neo4J credentials ({config.get('BloodHound', 'bh_user')}:{config.get('BloodHound', 'bh_pass')}) are not valid.")
55-
exit()
5655
except ServiceUnavailable:
5756
logger.fail(f"Neo4J does not seem to be available on {uri}.")
58-
exit()
5957
except Exception as e:
6058
logger.fail(f"Unexpected error with Neo4J: {e}")
6159
finally:

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bloodhound = "^1.7.2"
4444
dploot = "^2.7.1"
4545
dsinternals = "^1.2.4"
4646
impacket = { git = "https://github.com/fortra/impacket.git" }
47-
lsassy = ">=3.1.10"
47+
lsassy = ">=3.1.11"
4848
masky = "^0.2.0"
4949
minikerberos = "^0.4.1"
5050
msgpack = "^1.0.0"

tests/e2e_commands.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,17 @@ netexec smb TARGET_HOST -u '' -p '' -M petitpotam
153153
netexec smb TARGET_HOST -u data/test_users.txt -p data/test_passwords.txt --no-bruteforce
154154
netexec smb TARGET_HOST -u data/test_users.txt -p data/test_passwords.txt --no-bruteforce --continue-on-success
155155
netexec smb TARGET_HOST -u data/test_users.txt -p data/test_passwords.txt
156+
##### WMI
157+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS # need an extra space after this command due to regex
158+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS --wmi-namespace root/cimv2
159+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -x whoami
160+
##### WMI Modules
161+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M ioxidresolver
162+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M spooler
163+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M zerologon
164+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M enum_dns
165+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M get_netconnections
166+
netexec wmi TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS -M rdp
156167
##### LDAP
157168
netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS --users
158169
netexec ldap TARGET_HOST -u LOGIN_USERNAME -p LOGIN_PASSWORD KERBEROS --groups

0 commit comments

Comments
 (0)