migration

This commit is contained in:
PrincessPi committed 2026-05-26 20:51:40 -06:00
1 parent cb7d872b34
commit 4e2ab5b0da
5 files changed
+1075 -39

No files matched your search

+2 -2
View File
@@ -13,9 +13,9 @@
}
$file_name = date("Ymd-Hi-s") . "-" . rand(1000000,9999999) . ".xml";
$run_cmd = "bash ./scripts/run_scan.sh nmap -oX ./scans/$file_name --stylesheet /nmaprincesspi/xsl/princesspi-nmap.xsl $post_cmd";
$run_cmd = "bash ./scripts/run_scan.sh nmap -oX ./scans/$file_name --stylesheet REPLACEMEFILLYFILLYFILLY $post_cmd";
$web_name = "/nmaprincesspi/scans/$file_name";
$exec = trim(shell_exec($run_cmd));
echo "{\"runningLog\":\"$exec\",\"webName\":\"$web_name\"}";
?>
?>