HackTheWorld icon indicating copy to clipboard operation
HackTheWorld copied to clipboard

cant run ./HackTheWorld.py

Open rarestuff opened this issue 4 years ago • 3 comments

Can't run the script... I got this:

File "HackTheWorld.py", line 69
print color(("[+] Encrypted Shellcode saved in [{}]".format(Filename)))
^
SyntaxError: invalid syntax
root@kali:~/HackTheWorld# python HackTheWorld.py
Traceback (most recent call last):
File "HackTheWorld.py", line 17, in
from Crypto.Hash import MD5
ImportError: No module named Crypto.Hash

rarestuff avatar Sep 01 '20 06:09 rarestuff

install pycrypto. works for me now link below

pip install pycrypto

jarnick91 avatar Sep 18 '20 14:09 jarnick91

if "pip install pycrypto" shows you errors, do "pip install pycryptodome", that solved it for me. If you now "python HackTheWorld.py" and get "no module named term color" do "pip install termcolor" that fixed it for me

sn00w19 avatar Jan 05 '21 12:01 sn00w19

I tried install pycrypto and pycryptodome. But still got the same error like OP did. Also tried to run with python 2 with no success (a guy reccommend that in a duplicated issue)

nobeltnium avatar Sep 01 '21 14:09 nobeltnium