rewanth
d9504537e6
Removes unused dependencies from all files in scripts folder.
2017-08-15 07:26:00 +00:00
dmiller
5b7a07b6c9
Add clock-skew script, datetime library
2016-07-21 17:05:25 +00:00
dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +00:00
dmiller
40652f215b
Remove redundant 'proto=port.protocol' from comm.lua calls
2015-02-05 04:17:58 +00:00
tomsellers
742444b87d
Fix a typo in the regex that was truncating the version string.
2014-12-20 01:34:26 +00:00
tomsellers
d5af9560c3
Add the full ntpd version string, for example v4.2.4p4@1.1520-o, to the
...
port's version attributes if the remote service provides it. Also capture
OS info as well as it can provide exact kernel versions in some cases.
2014-12-20 01:14:34 +00:00
dmiller
a4d51ff8d6
Handle 'foo=,' case in ntp-info
2014-08-27 19:41:32 +00:00
dmiller
062b780a48
Relax ntp mode 7 key-value parsing
...
http://seclists.org/nmap-dev/2014/q3/372
2014-08-27 02:23:08 +00:00
dmiller
8f609b060d
Move lpeg/utility.lua up a directory to fix installation issues
2014-08-25 22:22:15 +00:00
dmiller
c633079123
Use lpeg parsing in ntp-info to handle escape-quoted strings
2014-08-23 20:47:49 +00:00
dmiller
f8917a59a3
Compatibility changes for ntp-info
...
http://seclists.org/nmap-dev/2014/q3/222
2014-08-23 20:47:46 +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
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