EmpireProject / Empire

Empire is a PowerShell and Python post-exploitation agent.
http://www.powershellempire.com/
BSD 3-Clause "New" or "Revised" License
7.36k stars 2.8k forks source link

Empire with Ngrok #1343

Open TheWorldIsBig opened 5 years ago

TheWorldIsBig commented 5 years ago

How could I use Empire with Ngrok? I have a problem and my ports can not be opened. So what I need to know is how to use it with Ngrok, since it is something difficult ... I have tried the following things

set host http://tcp.0.ngrok.com:(port) set port (port) I return to place the command and the same ip, then I put the same port that gives me Ngrok but I give the payload to the victim and does not give the attack, could you help me? (In localhost if it worked for me)

mr64bit commented 5 years ago

Any reason you're using the TCP tunnel? an HTTP/S will work fine. The Port option is what Empire listens on locally, not what it tells agents to connect to, so that may be the mistake. If you curl the ngrok endpoint (or visit it in a browser) do you get a return from Empire?