dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +00:00
dmiller
339f0ffd7d
Fix NSEdoc: wrap lines, fix bulleted lists
2015-07-11 04:01:05 +00:00
dmiller
3c5137e7e7
Update 14 scripts with XML structured output
2014-09-08 04:35:49 +00:00
batrick
d47acf9f5e
more stdnse.print_debug -> stdnse.debug
...
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug\1("\2"/' *.nse
$ sed -i 's/stdnse.print_debug( *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
2014-08-02 02:08:12 +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
078aa688c9
Reindent some scripts. Whitespace only.
...
https://secwiki.org/w/Nmap/Code_Standards
2014-01-31 16:37:27 +00:00
dmiller
db1d82ad1f
Fixed global assignments with nse_check_globals
...
All fixes made by hand. A couple real bugs/errors fixed, due to
copy-paste of code from other scripts without changing variable names.
2014-01-22 17:45:00 +00:00
david
3150d2fff6
Don't set_port_version just from a 200 response.
...
Require a more positive page body match before doing that.
http://seclists.org/nmap-dev/2013/q1/304
2013-03-05 21:20:45 +00:00
david
1493e74f63
Add missing set_port_version.
...
These scripts changed the port table but did not commit the changes with
set_port_version.
2013-03-05 21:20:37 +00:00
david
fdc2f96c8c
Use http.get(host, port) in hadoop scripts.
...
As well as being shorter, this prevents connecting using a different
address family (e.g., IPv6 rather than IPv4) compared to doing this:
http.get(host.targetname, port.number)
Patch by John Bond.
http://seclists.org/nmap-dev/2012/q2/637
2012-09-15 15:05:13 +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
david
69c1707648
Avoid crashes in hadoop-secondary-namenode-info.nse.
2012-01-14 01:03:20 +00:00
david
de0f92ea9a
Whitespace in hbase-* hadoop-*.
2012-01-14 01:03:18 +00:00
david
86c042302f
Change hadoop/hbase portrules to match HTTP services.
...
This is so that these scripts can run for ports that -sV detects as
http, but not when the port is a common HTTP port.
2012-01-14 01:03:17 +00:00
fyodor
78033599ed
Update the script descriptions/nsedoc a bit
2012-01-01 22:21:08 +00:00
fyodor
d13ae6cf25
Minor updates to description text
2011-12-29 10:54:55 +00:00
david
ce9ac426e3
New Hadoop and HBase scripts by John Bond:
...
hadoop-datanode-info.nse
hadoop-jobtracker-info.nse
hadoop-namenode-info.nse
hadoop-secondary-namenode-info.nse
hadoop-tasktracker-info.nse
hbase-master-info.nse
hbase-region-info.nse
2011-11-08 16:00:16 +00:00