t3l3machus / hoaxshell

A Windows reverse shell payload generator and handler that abuses the http(s) protocol to establish a beacon-like reverse shell.
BSD 2-Clause "Simplified" License
3.05k stars 482 forks source link

I'm getting an error Cannot convert 'System.Byte[]' to the type 'System.String' required by parameter 'Command' #27

Closed EndCod3r closed 2 years ago

EndCod3r commented 2 years ago

Cannot convert 'System.Byte[]' to the type 'System.String' required by parameter 'Command'

I found out what the problem is, it is the $i variable is changed everytime the python script is ran but is there a way to keep the $i variable from changing?

EndCod3r commented 2 years ago

I found out how to re-establish the session with the -g switch. sudo python3 hoaxshell.py -s -g