Veil-Framework / Veil

Veil 3.1.X (Check version info in Veil at runtime)
GNU General Public License v3.0
4.01k stars 887 forks source link

ImportError: No module named 'Crypto' #121

Closed mIcHyAmRaNe closed 7 years ago

mIcHyAmRaNe commented 7 years ago

Veil version

3.1.4

OS Used - all info (architecture, linux flavor, etc)

Elementary Os ( based on ubuntu )

How did you install Veil? (Apt, Clone from Github, etc.)

clone

Did you run the setup script?

yeah

Pastebin link to error you are encountering (include console actions you took prior to error)

~$ ./Veil.py

Traceback (most recent call last):
  File "./Veil.py", line 87, in <module>
    the_conductor = orchestra.Conductor(args)
  File "/home/user/Pentest/Veil/lib/common/orchestra.py", line 23, in __init__
    self.load_tools(cli_stuff)
  File "/home/user/Pentest/Veil/lib/common/orchestra.py", line 67, in load_tools
    command_line_object)
  File "Tools/Evasion/Tool.py", line 41, in __init__
    self.load_payloads(cli_options)
  File "Tools/Evasion/Tool.py", line 242, in load_payloads
    name.replace("/", ".").rstrip('.py'), name)
  File "/usr/lib/python3.5/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 693, in _load
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "Tools/Evasion/payloads/auxiliary/pyinstaller_wrapper.py", line 11, in <module>
    from Tools.Evasion.evasion_common import encryption
  File "/home/user/Pentest/Veil/Tools/Evasion/evasion_common/encryption.py", line 8, in <module>
    from Crypto.Cipher import ARC4
ImportError: No module named 'Crypto'

Any additional info you want to tell me

pip3 install pycrypto or pip3 install crypto ... didn't resolve the problem

Solution:

sudo apt install python3-crypto

4yafes6 commented 3 years ago

pip3 uninstall pycrypto pip3 install pycryptodome python3 Veil.py

alperap commented 2 years ago

Thanks

alfalinux commented 1 year ago

pip3 uninstall pycrypto pip3 install pycryptodome python3 Veil.py

thanks, work for me...

Khumoyun1307 commented 1 year ago

none of them worked for me

Khumoyun1307 commented 1 year ago

pip3 uninstall pycrypto pip3 install pycryptodome python3 Veil.py

same problem even after these commands

sonukumar6343 commented 1 year ago

thanks it work for me

kalitego commented 1 year ago

Thanks...