How to use hoaxshell with ngrok?
MhmadSal opened this issue · 10 comments
I already have ngrok installed but when I use the command python3 hoaxshell.py - ng it says ngrok is not installed.
Do I need to modify the code in hoaxshell.py to get ngrok to work? If yes please tell me how to do it.
@MhmadSal make sure ngrok binary is in your PATH.
@t3l3machus I already downloaded ngrok in the hoaxshell folder but still the same issue, is there anything else I can do?
Or do you think I should move ngrok to another place rather than the hoaxshell folder?
@MhmadSal you have to move it in one of the dirs that is included in your user's PATH environmental variable (i'm assuming you are using linux). Try for example moving the ngrok binary to /usr/sbin/
.
*Also, do chmod +x ngrok
(in case you haven't already).
@t3l3machus it's working now but it shows the invalid address error in red when executing the payload in powershell and it doesn't return a session, what's the solution for this?
@MhmadSal post a screenshot of the error bro i am not a wizard
@t3l3machus everything goes well on my Linux like in this picture
But when I execute it on windows powershell this happens :
The error img doesn't load. You are running hoaxshell on a particular OS that it has not been tested on. I believe some string operation is failing due to OS characteristics. Try to debug it,
@t3l3machus can you please tell me how to deal with the error in the picture?