1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 16:39:03 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
dmiller
2f7f6c7b6a Remove unused requires 2019-06-27 19:13:41 +00:00
rewanth
d9504537e6 Removes unused dependencies from all files in scripts folder. 2017-08-15 07:26:00 +00:00
dmiller
f4619edece Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00
gyani
1de1b10c89 Ganglia info now uses dispatch tables and SLAXML to parse the XML response. 2015-08-08 11:25:27 +00:00
dmiller
bf457ee12c Normalize some timeouts in scripts
Added use of stdnse.parse_timespec for timeout args. Used comm.lua
default timeouts in a couple cases. Corrected 2 cases of incorrect
documentation ("Default 60" when the default was 30 seconds).
2014-09-20 05:40:46 +00:00
batrick
5161b8642a stdnse.print_debug -> stdnse.debug1
$ sed -i 's/stdnse.print_debug(1, "%s: \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
2014-08-01 21:29:42 +00:00
dmiller
a084340b6d Remove useless calls to string.format
stdnse.print_debug accepts a format string and arguments, making
string.format redundant in calls of this form:

stdnse.print_debug(1, string.format("%s: error", SCRIPT_NAME))
stdnse.print_debug(("length %d"):format(#tab))

These can be rewritten as:

stdnse.print_debug(1, "%s: error", SCRIPT_NAME)
stdnse.print_debug("length %d", #tab)
2014-02-13 15:47:41 +00:00
dmiller
298be5bfaa Re-indent some scripts. Whitespace-only commit
https://secwiki.org/w/Nmap/Code_Standards
2014-01-31 17:36:09 +00:00
david
3012e3354b Join up NSEDoc in ganglia-info.
http://seclists.org/nmap-dev/2012/q2/670
2012-06-12 14:41:49 +00:00
batrick
000f6dc4d9 Lua 5.2 upgrade [1] for NSE.
[1] http://seclists.org/nmap-dev/2012/q2/34
2012-05-27 08:53:32 +00:00
batrick
fd80c2d0a6 fixed bad escape sequences 2012-04-02 08:13:54 +00:00
patrik
8d6d8ef597 Fixed some typos and did minor changes to script documentation 2012-02-03 11:56:44 +00:00
fyodor
f73e2b27d1 Update and canonicalize a bunch of script descriptions 2011-11-07 04:08:29 +00:00
david
b4c88b47de NSEDoc in ganglia-info. 2011-10-04 05:45:57 +00:00
david
9fd21a9342 Put ganglia-info in {"default", "discovery", "safe"} (was {"discovery"}). 2011-10-04 05:45:56 +00:00
david
c077cf781a Add ganglia-info.nse by Brendan Coles. 2011-10-04 05:45:54 +00:00