Hey everyone!
I've attached a patch to allow passing only the script name, the
filename without the ".nse" extension, to --script.
I've been running multiple scripts, in different categories, and I've
had to keep repetitively typing ".nse" on every filename... which I
didn't like :)
An example:
--script bruteTelnet.nse,HTTPpasswd.nse,SQLInject.nse,robots.nse
turns into
--script bruteTelnet,HTTPpasswd,SQLInject,robots
Not an *incredibly* dramatic difference, but I much prefer it :)
And sometimes it seems a whole lot better when it's only 1 or 2 scripts.
All it does is try the passed argument (like "bruteTelnet"), and if it
doesn't find that file it tries it with ".nse" appended to it, which it
will find here.
Please let me know what you think!
Thanks,
Kris Katterjohn
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Nov 15 2007