【发布时间】:2017-05-09 09:10:31
【问题描述】:
对于一个学校项目,我想尝试扫描网站以查找漏洞,并在页面上显示响应。
为此,我正在尝试使用 Uniscan。
我尝试了很多方法来获得任何响应,但都没有成功。
这就是我现在拥有的:
<?php
echo '<pre>';
// Outputs all the result of shellcommand "ls", and returns
// the last output line into $last_line. Stores the return value
// of the shell command in $retval.
$last_line = system('perl uniscan.pl -u https://domain.nl/ -qweds;ls', $ret$
// Printing additional info
echo '</pre>
<hr />Last line of the output: ' . $last_line . '
<hr />Return value: ' . $retval;
?>
这是响应,你唯一看到的是'ls'命令的响应。
我希望有人可以帮助我。
【问题讨论】:
-
那你为什么要跑
ls呢? -
只是看看我是否得到任何回应
-
那么你期待什么呢?
-
system为您提供最后执行的命令的输出,即ls -
我想得到命令 perl uniscan.pl -u domain.nl -qweds 的响应;