made scan work... think i also have a solution for ipv6 sunetting... its pretty simpl...
authorpaulr <me@pjr.cc>
Mon, 13 Sep 2010 04:43:16 +0000 (14:43 +1000)
committerpaulr <me@pjr.cc>
Mon, 13 Sep 2010 04:43:16 +0000 (14:43 +1000)
lib/runscan.php
lib/www.php

index ceb648b..c33c00e 100644 (file)
@@ -63,7 +63,6 @@ foreach($sml as $row => $key) {
                        echo "added, $ha, $hname\n";
                }
        }
-       
 }
 unlink($fname);
 
index 17140f5..f38f5e8 100644 (file)
@@ -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()