Veil-Framework / Veil

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

Can't find metasploit #427

Open ghost opened 3 years ago

ghost commented 3 years ago

Veil version

LATEST

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

KALI 2021.1

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

apt and clone from github (both different attempts to install

Did you run the setup script?

Yas

The error message

image

MrSharkSpamBot commented 3 years ago

did you run what was said to run by Veil Run: /usr/share/veil/config/setup.sh --force --silent and another thing is try checking for metasploit in your /opt folder

ghost commented 3 years ago

Yes, I ran the commands like it said.

image

MrSharkSpamBot commented 3 years ago

run sudo /usr/share/veil/config/setup.sh do not use --force --silent answer all questions as u feel are right if it asks to remove previous veil installation say yes when it asks where metasploit is located at say /opt/metasploit-framework/bin

MrSharkSpamBot commented 3 years ago

by the way make sure to run veil with sudo veil

ghost commented 3 years ago

OK, so I've had to reinstall a new VM because metasploit wasn't working right. So let's see if Veil works right this time

ghost commented 3 years ago

Now, trying to install I get this error:

thejoker in ~/Veil on master λ ./Veil.py --setup
Traceback (most recent call last):
  File "/home/thejoker/Veil/./Veil.py", line 98, in <module>
    the_conductor = orchestra.Conductor(args)
  File "/home/thejoker/Veil/lib/common/orchestra.py", line 29, in __init__
    self.load_tools(cli_stuff)
  File "/home/thejoker/Veil/lib/common/orchestra.py", line 75, in load_tools
    self.imported_tools[name] = module.Tools(
  File "tools/evasion/tool.py", line 39, in __init__
    self.load_payloads(cli_options)
  File "tools/evasion/tool.py", line 248, in load_payloads
    module = helpers.load_module(name)
  File "/home/thejoker/Veil/lib/common/helpers.py", line 172, in load_module
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 790, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "tools/evasion/payloads/auxiliary/pyinstaller_wrapper.py", line 9, in <module>
    from tools.evasion.evasion_common import encryption
  File "/home/thejoker/Veil/tools/evasion/evasion_common/encryption.py", line 8, in <module>
    from Crypto.Cipher import ARC4
ModuleNotFoundError: No module named 'Crypto'

I ran ./Veil.py --setup because at the end of the output, it says to run it. But I am following the instructions from the README.md file

ghost commented 3 years ago

OK, I found a solution and it works. Seems like you have to install or run the command pip install pycryptodome==3.4.3

MrSharkSpamBot commented 3 years ago

so does the setup now work or does veil also now work