EmpireProject / Empire

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

PowerShell Empire and ngrok #1315

Closed robdollard closed 5 years ago

robdollard commented 5 years ago

Empire Version last

Kali linix 2018.4

Hello, how can I get Empire to work through ngrok?

I am performing the following actions> uselistener http_foreign> Set Host 'ngrok ip'> Set Port 'ngrok port'> execute

Further uselistener http> Set Host 127.0.0.1> Set Port 7777

I launch Ngrok ./ngrok tcp 127.0.0.1:7777

Next, I use the launcher powershell http_foreign command

and paste this code into the remote machine. Everything is fine, the agent flies to me, but he doesn't want to take commands from me.

No contact with the agent. What settings I do.

mr64bit commented 5 years ago

You shouldn’t need a foreign listener for this. Try without it.

On Jan 28, 2019, at 07:28, robdollard notifications@github.com wrote:

Empire Version last

Kali linix 2018.4

Hello, how can I get Empire to work through ngrok?

I am performing the following actions> uselistener http_foreign> Set Host 'ngrok ip'> Set Port 'ngrok port'> execute

Further uselistener http> Set Host 127.0.0.1> Set Port 7777

I launch Ngrok ./ngrok tcp 127.0.0.1:7777

Next, I use the launcher powershell http_foreign command

and paste this code into the remote machine. Everything is fine, the agent flies to me, but he doesn't want to take commands from me.

No contact with the agent. What settings I do.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

mr64bit commented 5 years ago

Closing due to inactivity.