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

Builder.py not recognizing Cryptodome #20

Closed
VaporPhreak opened this issue Apr 23, 2018 · 4 comments
Closed

Builder.py not recognizing Cryptodome #20

VaporPhreak opened this issue Apr 23, 2018 · 4 comments

Comments

@VaporPhreak
Copy link

I have installed the requirements and ensured they are functional, but get the following error when attempting to use builder.py to generate a payload.

Traceback (most recent call last):
  File "./builder.py", line 16, in <module>
    from server.model import LoaderFactory
  File "/XXXX/XXXX/XXXX/EvilOSX-master/server/model.py", line 15, in <module>
    from Cryptodome.Cipher import AES
ImportError: No module named 'Cryptodome'
@Marten4n6
Copy link
Owner

ImportError: No module named 'Cryptodome'

Well it's not installed otherwise it wouldn't complain about it, not sure what to tell you...
Are you sure you installed the pycryptodomex (note the x) package and not the pycryptodome package by mistake?

@VaporPhreak
Copy link
Author

Just to be sure, I uninstalled and reinstalled the package to ensure I saw the line below:

Successfully installed pycryptodomex-3.6.1

I executed a python -m Cryptodome.SelfTest and the test was successful. However, still getting the aforementioned error when trying to use builder.py.

Marten4n6 added a commit that referenced this issue Apr 24, 2018
@Marten4n6
Copy link
Owner

Are you sure you are using pip3 to install pycryptodomex (otherwise it'll install the dependency for python2 and not python3)? I've just added some __init__ files which may (probably not) fix this.

@VaporPhreak
Copy link
Author

That appears to have been the issue. I've been using pip rather than pip3. Once I reinstalled using pip3 its working now. Thank you for the support.

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

2 participants