Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MembershipEnumerator.add_user_properties() missing 1 required positional argument: 'fileNamePrefix' #36

Closed
helloyw opened this issue Dec 4, 2023 · 5 comments

Comments

@helloyw
Copy link

helloyw commented Dec 4, 2023

└─# python3 ADExplorerSnapshot.py result.dat

[] Time of snapshot: 2023-12-04T16:10:54
[
] Mapping offset: 0xbffbbc3
[*] Object count: 139228
[+] Parsing properties: 3691
[+] Parsing classes: 543
[+] Parsing object offsets: 139228
[+] Restored pre-processed information from data cache
[◣] Collecting data: 6047/139228 (0 users, 0 groups, 0 computers, 35 certtemplates, 3 CAs, 0 trusts)
Traceback (most recent call last):
File "/home/kali/desktop/ADExplorerSnapshot.py/ADExplorerSnapshot.py", line 2, in
adexpsnapshot.main()
File "/home/kali/desktop/ADExplorerSnapshot.py/adexpsnapshot/init.py", line 1129, in main
ades.outputBloodHound()
File "/home/kali/desktop/ADExplorerSnapshot.py/adexpsnapshot/init.py", line 137, in outputBloodHound
self.process()
File "/home/kali/desktop/ADExplorerSnapshot.py/adexpsnapshot/init.py", line 265, in process
ret = fun(obj)
^^^^^^^^
File "/home/kali/desktop/ADExplorerSnapshot.py/adexpsnapshot/init.py", line 744, in processUsers
MembershipEnumerator.add_user_properties(user, entry)
TypeError: MembershipEnumerator.add_user_properties() missing 1 required positional argument: 'fileNamePrefix'

@michiiii
Copy link

michiiii commented Dec 4, 2023

I am running into the exact same error.

@michiiii
Copy link

michiiii commented Dec 4, 2023

found a quickfix, it seems to be related to the new version of bloodhound.py.

You can edit setup.py and change the bloodhound >= sign to ==

Credits for this to skelsec

@helloyw
Copy link
Author

helloyw commented Dec 5, 2023

found a quickfix, it seems to be related to the new version of bloodhound.py.

You can edit setup.py and change the bloodhound >= sign to ==

Credits for this to skelsec

Thank you for your answer, which helped me solve this problem

@helloyw helloyw closed this as completed Dec 5, 2023
@caroline7714
Copy link

caroline7714 commented Dec 5, 2023

hi
I have a similar error to what is displayed below.

#38 (comment)

Have you thought about it at all?

@DrorDvash
Copy link

DrorDvash commented Dec 11, 2023

found a quickfix, it seems to be related to the new version of bloodhound.py.

You can edit setup.py and change the bloodhound >= sign to ==

Credits for this to skelsec

worked for me also!! thank you!
but csc and tpls is invalid(NaN%), someone know why?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants