Official Buff Discussion

Type your comment> @TazWake said:

So it looks like you are running a Python 2.7 interpreter for the exploit. Are you sure you have chardet installed in Python 2.7?

Not sure how to install something “in” Python 2.7… I can run the command using python3 but then get syntax errors that are beyond my comprehension. Still learning python as I go. when I had purged it, I reinstalled it via “apt install” and even tried “pip install”… seemingly downloads fine each time, but still get the same issue

Heres my output with python3:

$ python3 exploit.py http://10.10.10.198:8080
File “exploit.py”, line 48
print Style.BRIGHT+Fore.RED+"[!] “+Fore.RESET+“Could not connect to the webshell.”+Style.RESET_ALL
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(Style.BRIGHT+Fore.RED+”[!] "+Fore.RESET+“Could not connect to the webshell.”+Style.RESET_ALL)?

So with that error, I change the print syntax to what the error suggests then receive the following error:

File “exploit.py”, line 81
print header();
^
SyntaxError: invalid syntax

Not sure about that one… the small block of code right above that defines header()…