From: paulr Date: Mon, 13 Sep 2010 04:43:16 +0000 (+1000) Subject: made scan work... think i also have a solution for ipv6 sunetting... its pretty simpl... X-Git-Url: http://git.pjr.cc/?p=PHPIPManager.git;a=commitdiff_plain;h=9c4cfa21a5d947f40ce7aec2ea6f9a69857a9fcf made scan work... think i also have a solution for ipv6 sunetting... its pretty simple too... i like simple... simple is good.. --- diff --git a/lib/runscan.php b/lib/runscan.php index ceb648b..c33c00e 100644 --- a/lib/runscan.php +++ b/lib/runscan.php @@ -63,7 +63,6 @@ foreach($sml as $row => $key) { echo "added, $ha, $hname\n"; } } - } unlink($fname); diff --git a/lib/www.php b/lib/www.php index 17140f5..f38f5e8 100644 --- a/lib/www.php +++ b/lib/www.php @@ -194,7 +194,7 @@ function www_ip_scansubReal() system("/usr/bin/php ../lib/runscan.php $id > /tmp/out.phpipman 2>&1 &"); error_log("would exec... nmap -sP -oX $fname $sn/$sm"); - header("Location: index.php"); + header("Location: index.php?notice=Scan Initiated"); } function www_ip_addSuperRange()