Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: [PATCH] Don't require ".nse" be passed to --script

[PATCH] Don't require ".nse" be passed to --script

From: Kris Katterjohn <katterjohn_at_gmail.com>
Date: Thu, 15 Nov 2007 20:45:07 -0600

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
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]