Nmap Development mailing list archives
[NSE] Sample plugin
From: Ron <ron () skullsecurity net>
Date: Thu, 28 Oct 2010 23:03:13 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, We talked about this at Defcon, and I went ahead and wrote it. Basically, it's a sample plugin (basically, a template). It defines all the fields we need, as well as some of the more common functions, with plenty of comments to explain what's going on. I tried to include all the "best practice" standards we've been building up to, such as shortport, stdnse.get_script_args(), stdnse.format_output(), etc. Hopefully this will lower the bar to entry for new script authors, and save current script authors some time when developing scripts. :) For now, I put this in the 'docs' folder. Comments? Ron -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAkzKR4UACgkQ2t2zxlt4g/RbzACdFZiPWpin0ojy6JGraGmzXuvY IFQAnje1j4QCfBW6RrUqDp6UFMGc2xyh =2n1T -----END PGP SIGNATURE-----
Attachment:
sample-script.nse
Description:
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [NSE] Sample plugin Ron (Oct 28)
- Re: [NSE] Sample plugin Fyodor (Oct 29)
- Re: [NSE] Sample plugin Ron (Oct 29)
- Re: [NSE] Sample plugin Martin Holst Swende (Oct 30)
- Re: [NSE] Sample plugin Ron (Oct 29)
- Re: [NSE] Sample plugin Jacky Jack (Oct 29)
- Re: [NSE] Sample plugin Fyodor (Oct 29)