dmiller
0d18bcdbc2
Remove bin.lua calls from some scripts and libraries
2018-08-29 03:06:40 +00:00
dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +00:00
dmiller
7852fa3c18
Remove many ERROR outputs from non-debug NSE output
2015-08-27 20:43:55 +00:00
batrick
a19c9eb461
stdnse.print_verbose -> stdnse.verbose1
...
$ sed -i 's/stdnse.print_verbose( *\([0-9]*\) *, *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.verbose\1("\2"/' *.nse
$ sed -i 's/stdnse.print_verbose( *" *%s *:* *\([^"]*\)" *, *SCRIPT_NAME/stdnse.verbose1("\1"/' *.nse
and some manual corrections.
2014-08-02 18:32:26 +00:00
batrick
810f7d4803
more stdnse.print_debug -> stdnse.debug
...
This is a catchall pattern with a few exclusions.
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *\(.*\))/stdnse.debug\1(\2)/' *.nse
$ sed -i 's/stdnse.print_debug(\(.*\))/stdnse.debug1(\1)/' *.nse
Excluded:
$ svn revert db2-das-info.nse
$ svn revert flume-master-info.nse
$ svn revert http-headers.nse
$ svn revert http-methods.nse
$ svn revert http-unsafe-output-escaping.nse
$ svn revert http-userdir-enum.nse
$ svn revert http-vuln-cve2011-3192.nse
$ svn revert http-vuln-wnr1000-creds.nse
$ svn revert http-wordpress-plugins.nse
$ svn revert telnet-brute.nse
2014-08-02 02:46:16 +00:00
batrick
c94d5970ff
stdnse.print_debug -> stdnse.debug1
...
sed -i 's/stdnse.print_debug("%s: \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
2014-08-01 21:31:04 +00:00
dmiller
31a2c432e1
Final re-indent for scripts.
2014-02-02 15:33:39 +00:00
dmiller
620f9fdb34
Remove trailing whitespace in lua files
...
Whitespace is not significant, so this should not be a problem.
https://secwiki.org/w/Nmap/Code_Standards
2014-01-23 21:51:58 +00:00
patrik
b6492f96af
add LLMNR support and cleaned up some result output
2013-03-16 03:18:28 +00:00
patrik
675000afe8
change debug level for missing decoders, more indent cleanup
2013-03-16 03:18:24 +00:00
dmiller
fdb0f775e2
Update timeout script-args to use standard timespec
...
Many scripts were documented as using timespecs (10s, 5000ms, etc) for
timeout script-args, but one 1 or 2 actually did. Now all timeout
script-args will accept timespecs, except those which took a number of
milliseconds, which remain unchanged.
Also fixed some documentation issues (missing script name in arg
description, missing nsedoc for args, etc)
2013-03-05 21:34:25 +00:00
dmiller
6cb76e801f
Fix timeout handling for broadcast-listener
...
Documentation says broadcast-listener.timeout takes a time spec (s, m,
h), but it only took seconds. Now it obeys its own documentation.
2013-03-04 22:16:42 +00:00
patrik
448bb5a71b
fixed a bug in a loop where the script would wait for a condition that was
...
supposed to be signalled by other threads which were no longer running.
2012-08-29 05:37:56 +00:00
dmiller
c71478d91f
Fix interfaces bug in broadcast-listener
...
Reported here: http://seclists.org/nmap-dev/2012/q3/672
2012-08-28 23:07:28 +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
tomsellers
7807926f15
[NSE] Added support for decoding EIGRP broadcasts from Cisco routers to broadcast-listener.nse
2012-02-12 21:20:16 +00:00
henri
9ff8043d92
Added privilege checks to the prerules to prevent scripts from failing at
...
action() time when executed unprivileged.
Removed the check which was performed by broadcast-dhcp-discover.nse in its
action() function, so that users can force execution if desired.
2012-01-13 14:23:55 +00:00
patrik
3d01895e83
o [NSE] Added the missing broadcast category to the broadcast-listener script.
...
[Jason DePriest]
2011-10-24 16:21:59 +00:00
fyodor
a5d81c3b35
Improve some NSEDoc descriptions
2011-09-11 20:44:07 +00:00
patrik
a1d515e548
o [NSE] Added script broadcast-listener that attempts to discover hosts by
...
passively listening to the network. It does so by decoding ethernet and IP
broadcast and multicast messages. [Patrik]
2011-08-10 16:46:55 +00:00