-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Having this error while trying to perform an authenticated password spraying using this comand:
sprayhound -p PASS -d domain.com -dc 10.10.10.10 -lu USER -lp 'PASSWORD' -t 1 -vv
[X] An error occurred while looking for users via LDAP
[X] Failed getting ldap credentials
[X] An error occurred while executing SprayHound
Traceback (most recent call last):
File "/usr/local/bin/sprayhound", line 8, in <module>
sys.exit(run())
^^^^^
File "/usr/local/lib/python3.12/dist-packages/sprayhound/core.py", line 228, in run
CLI().run()
File "/usr/local/lib/python3.12/dist-packages/sprayhound/core.py", line 218, in run
).run()
^^^^^
File "/usr/local/lib/python3.12/dist-packages/sprayhound/core.py", line 68, in run
self.get_ldap_credentials(lower=self.lower, upper=self.upper)
File "/usr/local/lib/python3.12/dist-packages/sprayhound/core.py", line 93, in get_ldap_credentials
ret = self.ldap.get_users(self)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/sprayhound/modules/ldapconnection.py", line 129, in get_users
bad_password_count=0 if 'badPwdCount' not in entry['attributes'] else int(entry['attributes']['badPwdCount']),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels