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
dmiller
7170837c8b
Add @usage nsedoc to UDP scripts (default is missing -sU in this case)
2014-04-11 16:42:26 +00:00
fyodor
8661c8a519
Improved ntp-info script to handle underscores in returned data. [nnposter]
2014-03-27 05:49:14 +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
dmiller
4209ec0e82
Remove redundant verbosity check
2013-10-18 18:47:01 +00:00
dmiller
34cd23e101
Add xmloutput for ntp-info.nse
2013-10-18 18:35:05 +00:00
dmiller
ba4097af38
os.date format string cleanup
...
Removed some non-ANSI-C strftime format strings ("%F") and
locale-dependent formats ("%c") from NSE scripts and libraries.
C99-specified %F was noticed by Alex Weber
(http://seclists.org/nmap-dev/2013/q2/300 )
2013-05-16 14:59:48 +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
c25165def2
Add a default timeout of 5000 ms to the ntp-info script, and don't try
...
sending the second probe if the first caused an error. This is based on
the results of a test by Richard Sammet showing that the default timeout
of 30 s is too long when scanning many open|filtered ports that are in
fact filtered.
2009-12-21 20:24:45 +00:00
david
f9fc544e32
Add retrieval of the current time to ntp-info.nse. This is adapted from
...
code submitted by Richard Sammet.
2009-12-12 23:27:23 +00:00
david
24e0dceb8e
Show all variables in ntp-info with verbosity.
2009-12-12 22:53:33 +00:00
david
6a57dd876a
Add the ntp-info script from Richard Sammet. This version is modified
...
from the one he submitted in the thread at
http://seclists.org/nmap-dev/2009/q4/550 . It doesn't yet include the
time retrieval he posted in a later message.
2009-12-12 22:42:39 +00:00