Nmap Development mailing list archives

NMAP NSE scripts


From: PacketSpike <packetspike () gmail com>
Date: Sun, 28 Aug 2011 08:33:41 -0700 (PDT)


Just a small script that will help you run all the .nse scripts in
/usr/share/nmap/scripts/

#!/bin/bash
if [ -z "$1" ]; then 
              echo "usage:./runall.sh IPADDRESS EX:"192.168.1.1""
              exit
          fi


for x in `ls -1 *.nse`;
 do echo "About to run $x...";
        echo "";
        echo "3";
        sleep 1;
        echo "2";
        sleep 1;
        echo "1";
        sleep 1;
        echo "";
                echo "Running $x....";

nmap --script $x $1;
done;
-- 
View this message in context: http://old.nabble.com/help-about-Nmap-tp18787064p32351929.html
Sent from the Nmap - Dev mailing list archive at Nabble.com.
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: