nccgroup / Winpayloads

Undetectable Windows Payload Generation
Apache License 2.0
1.56k stars 332 forks source link

error while running ./WinPayloads.py #57

Closed xuniltra closed 6 years ago

xuniltra commented 6 years ago

error! I have run setup.sh and it runs fine. . however when I run ./WinPayloads.py I get this error:

root@kali:~/Desktop/Winpayloads# ./WinPayloads.py Traceback (most recent call last): File "./WinPayloads.py", line 2, in from lib.main import * File "/root/Desktop/Winpayloads/lib/main.py", line 8, in import blessed ImportError: No module named blessed

Please give me a solution

Charliedean commented 6 years ago

Try pip install blessed

xuniltra commented 6 years ago

I have installed it. . when run WinPayloads get again the same error

root@kali:~/Desktop/Winpayloads# pip install blessed Requirement already satisfied: blessed in /usr/local/lib/python3.6/dist-packages Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.6/dist-packages (from blessed) Requirement already satisfied: wcwidth>=0.1.4 in /usr/local/lib/python3.6/dist-packages (from blessed)

root@kali:~/Desktop/Winpayloads# python WinPayloads.py Traceback (most recent call last): File "WinPayloads.py", line 2, in from lib.main import * File "/root/Desktop/Winpayloads/lib/main.py", line 8, in import blessed ImportError: No module named blessed

What happened. please give me a solution? I use Kali Linux.

pyinal commented 6 years ago

Maybe you should try pip2.7 install blessed

xuniltra commented 6 years ago

Hi @pyinal the command does not exist

root@kali:~# pip2.7 install blessed bash: pip2.7: command not found

xuniltra commented 6 years ago

okay, i've fixed that. . reality in python2.7 i have nothing blessed. .. . when i run pip install blessed. . it turns blessed it is installed in python3.6 not in python27. . so, to fix it. . pip2 install blessed