t3l3machus / Villain

Villain is a high level stage 0/1 C2 framework that can handle multiple TCP socket & HoaxShell-based reverse shells, enhance their functionality with additional features (commands, utilities) and share them among connected sibling servers (Villain instances running on different machines).
Other
3.72k stars 598 forks source link

Unable to run the tool. I made sure to install the module. What am I missing? #51

Closed Lion3323 closed 1 year ago

Lion3323 commented 1 year ago

sudo python3 Villain.py

Traceback (most recent call last):

File "/home/lion/Villain/Villain.py", line 11, in

from Core.common import *

File "/home/lion/Villain/Core/common.py", line 12, in

from Crypto.Cipher import AES

ModuleNotFoundError: No module named 'Crypto'

Lion3323 commented 1 year ago

I've uninstalled and reinstalled all of these several times. Still getting a missing module. Thanks in advance if you get time to help.

sudo python3 Villain.py

Traceback (most recent call last):

File "/home/lion/Villain/Villain.py", line 11, in

from Core.common import *

File "/home/lion/Villain/Core/common.py", line 21, in

import gnureadline as global_readline

ModuleNotFoundError: No module named 'gnureadline'

DeityLink2018 commented 1 year ago

Have you tried to install the requirements?

pip3 install -r requirements.txt

Make sure you are in the same directory.

The module you are missing is in the file

Lion3323 commented 1 year ago

Yes most certainly did that. I've also uninstalled and tried about three times now. When It says I'm missing something I install it again. I'm stuck on ModuleNotFoundError: No module named 'gnureadline' lion@Lionden:~/Villain$ pip3 install -r requirements.txt

Defaulting to user installation because normal site-packages is not writeable

Requirement already satisfied: gnureadline==8.1.2 in /home/lion/.local/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (8.1.2)

Requirement already satisfied: netifaces==0.11.0 in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (0.11.0)

Requirement already satisfied: pycryptodome==3.15.0 in /home/lion/.local/lib/python3.10/site-packages (from -r requirements.txt (line 3)) (3.15.0)

Requirement already satisfied: pyperclip==1.8.2 in /home/lion/.local/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (1.8.2)

lion@Lionden:~/Villain$ sudo python3 Villain.py

Traceback (most recent call last):

File "/home/lion/Villain/Villain.py", line 11, in

from Core.common import *

File "/home/lion/Villain/Core/common.py", line 21, in

import gnureadline as global_readline

ModuleNotFoundError: No module named 'gnureadline'

Uninstalled an reinstalled as well.

t3l3machus commented 1 year ago

@Lion3323 try installing the requirements with sudo.