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

Got error: module 'enum' has no attribute '_decompose' #154

Closed
probablypablito opened this issue Jul 16, 2023 · 4 comments
Closed

Got error: module 'enum' has no attribute '_decompose' #154

probablypablito opened this issue Jul 16, 2023 · 4 comments

Comments

@probablypablito
Copy link

probablypablito commented Jul 16, 2023

This happened during an active HTB machine, so some info will be redacted.

The command ran was: proxychains -q certipy find -vulnerable -target 127.0.0.1 -u 'user' -p 'P@ssw0rd' -debug

At first I thought this might've been due to my use of proxychains, but after compiling to Windows using pyinstaller and running it directly on the DC I got the same result.

Here is the full output, ran on Kali Linux via the aforementioned command: Pastebin

EDIT: This seems to not occur with Python 3.10. Maybe the patch in #129 didn't work?

@Sad-theFaceless
Copy link

I confirm the issue is back again with python 3.11

@ly4k
Copy link
Owner

ly4k commented Jul 19, 2023

I'm looking into this. It appears the problem isn't the _decompose call in the first place. It's because the new patch fails - perhaps due to a NoneType - which makes it fall back to the old implementation. I'll see what I can do :)

@jordanpkimball
Copy link

Replicated issue on 3.11 and verified that Python3.10 works as a temporary workaround for anyone who needs to get it working before Ly4k can get the patch out. Thanks @probablypablito for the edit on that for the workaround.

@secure-77
Copy link

If some else is running into this issue and don`t want to install python 3.10, I created a quick Docker Image to run it with python 3.10: https://github.com/secure-77/Certipy-Docker

@Cyb3rC3lt Cyb3rC3lt mentioned this issue Aug 3, 2023
@ly4k ly4k closed this as completed Sep 26, 2023
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

5 participants