1747350365
This commit is contained in:
+2
-4
@@ -11,8 +11,6 @@
|
||||
$run_cmd = "bash ./scripts/run_scan.sh nmap -oX ./scans/$file_name --stylesheet /nmaprincesspi/xsl/princesspi-nmap.xsl $post_cmd";
|
||||
$web_name = "/nmaprincesspi/scans/$file_name";
|
||||
|
||||
echo $web_name;
|
||||
|
||||
$exec = shell_exec($run_cmd);
|
||||
echo $exec;
|
||||
$exec = trim(shell_exec($run_cmd));
|
||||
echo "{\"runningLog\":\"$exec\",\"webName\":\"$web_name\"}";
|
||||
?>
|
||||
Reference in New Issue
Block a user