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
2.98k stars 473 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 1 year ago

EndCod3r commented 1 year 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 1 year ago

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