1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
david
0c3e0fcc4d Structured script output.
Scripts may now return a key–value table, or such a table in addition to
a string. The table will be automatically formatted for normal output
and will appear as a hierarchy of elements in XML output.

Some history and discussion of this development can be found at
https://secwiki.org/w/Nmap/Structured_Script_Output.

This is a merge of r29484:29569 from /nmap-exp/david/xml-output.
2012-08-14 16:36:25 +00:00
david
1c328a01a4 Typo. 2012-08-10 10:58:01 +00:00
david
01ce96f464 Remove pre–Lua 5.2 imports from sample-script.nse. 2012-08-10 10:57:46 +00:00
paulino
baab50f5a6 Updates documentation about importing NSE libraries after upgrade to LUA 5.2 2012-07-18 19:11:16 +00:00
ron
7a1bc58133 It turns out that emacs likes to have the modeline at the very top, not bottom, so I changed the sample script to accommodate 2010-11-01 19:36:06 +00:00
ron
633bde3025 Improved sample-script.nse -- Added @args, cleared up how to process script-args, added usage, and added modeelines for vim/lua. 2010-11-01 19:13:15 +00:00
david
2646189afe In sample-script.nse, wrap long lines to 80 columns, edit formatting a
bit.
2010-10-29 16:11:05 +00:00
ron
fe91dce037 Added a sample script template 2010-10-29 12:56:00 +00:00