batrick
de27812fe4
Revert libssh2 branch, for now.
...
$ svn merge -r r33518:r33513 .
and removed added scripts to the script.db.
The branch needs further refinement/testing for Windows and Mac before merging
into the trunk. There is also the latent EOF bug which is giving performance
issues.
Further work on the branch will continue in Devin's latest branch:
/nmap-exp/devin/nmap-libssh2
2014-08-18 03:12:00 +00:00
paulino
0343eabd69
Updated script.db.
2014-08-18 02:03:24 +00:00
paulino
942151eefd
Adds supermicro-ipmi-conf.nse. Nominated for a Pwnie for Best Server-Side Bug at BH.
2014-08-18 01:55:06 +00:00
devin
42c1444e60
Switched to using silent require for libssh2 in ssh-auth-methods
2014-08-14 16:40:48 +00:00
devin
3beac0c854
Fixed categories on ssh-auth-methods
2014-08-14 03:14:50 +00:00
devin
63f997ed28
Merged libssh2-integration branch
2014-08-14 02:09:00 +00:00
dmiller
b8d37a32da
Update documentation
2014-08-12 02:38:20 +00:00
dmiller
5395676f2e
Handle weird behavior rejecting handshakes with multiple compressors offered
2014-08-12 02:38:19 +00:00
dmiller
1622edabc2
Unify logging with protocol prefix
2014-08-12 02:38:17 +00:00
dmiller
29b614ccca
Increase default timeout, but allow discovered timeouts, too.
2014-08-12 02:38:16 +00:00
dmiller
31de5b9b9b
Offer ciphers and compressors in the same order every time
2014-08-12 02:38:15 +00:00
dmiller
aadd8d864c
Documentation for the cipher ordering feature
2014-08-12 02:38:13 +00:00
dmiller
a61755699f
Handle servers which offer ciphers we didn't request
...
Code from David.
2014-08-12 02:38:12 +00:00
dmiller
d538cc81cd
Sort ciphers according to server preference, when available
...
David's code, adapted to current script.
2014-08-12 02:38:10 +00:00
dmiller
2df9a5f678
Factor out cipher selection for chunks
...
It will be handy later to have a find_ciphers_group function that
doesn't know anything about chunking.
2014-08-12 02:38:09 +00:00
dmiller
38ab5861d5
Report server's cipher ordering algorithm
...
Old code from David, modified to fit the current script.
2014-08-12 02:38:07 +00:00
claudiu
15692e18c3
Removed print
2014-08-11 23:32:56 +00:00
claudiu
73d69527ab
Fix false positive on socket timeout
2014-08-11 23:29:32 +00:00
dmiller
d7d991477a
Move http-form-brute docs from @usage to description
2014-08-10 12:34:55 +00:00
jay
b281e0bf1d
Get rid of unnecessary spaces at the end of lines
2014-08-09 19:09:06 +00:00
dmiller
a8d34b7635
Prevent address-info from crashing when the IPv6 address is "not interesting"
2014-08-08 14:43:10 +00:00
batrick
d48e21eb3e
fix comment
2014-08-03 01:18:57 +00:00
batrick
5fee541da7
typo
2014-08-03 01:18:13 +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
59562d1c50
stdnse.print_debug -> stdnse.debug
2014-08-02 03:46:13 +00:00
batrick
91a106e7d5
more stdnse.print_debug -> stdnse.debug
...
Manual corrections.
2014-08-02 03:15:44 +00:00
batrick
6e3bde5de5
debug6 -> debug5
2014-08-02 02:56:31 +00:00
batrick
aeb5908481
more stdnse.print_debug -> stdnse.debug
...
Manual corrections.
2014-08-02 02:54:47 +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
5e9a8d0777
more stdnse.print_debug -> stdnse.debug
...
This one also fixes format string bugs:
stdnse.print_debug(foo) --> stdnse.debug1("%s", foo)
$ sed -i 's/stdnse.print_debug( *\([a-zA-Z0-9][a-zA-Z0-9_]*\) *)/stdnse.debug1("%s", \1)/' *.nse
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *\([a-zA-Z0-9][a-zA-Z0-9_]*\) *)/stdnse.debug\1("%s", \2)/' *.nse
2014-08-02 02:18:48 +00:00
batrick
5d4c5a659c
more stdnse.print_debug -> stdnse.debug
...
$ sed -i 's/stdnse.print_debug( *\([0-9]*\) *, *SCRIPT_NAME *.. *" *:* *\([^"]*\)"/stdnse.debug\1("\2"/' *.nse
$ sed -i 's/stdnse.print_debug( *SCRIPT_NAME *.. *" *:* *\([^"]*\)"/stdnse.debug1("\1"/' *.nse
2014-08-02 02:13:12 +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
536075d3af
stdnse.print_debug -> stdnse.debug
...
$ sed -i 's/stdnse.print_debug("[-a-z0-9]*:\s*\([^"]*\)"/stdnse.debug1("\1"/' *.nse
$ sed -i 's/stdnse.print_debug(\([0-9]*\),\s*"[-a-z0-9]*:\s*\([^"]*\)"/stdnse.debug\1("\2"/' *.nse
Except:
o eap-info.nse
o oracle-brute.nse
Modified:
o couchdb-databases.nse
o couchdb-stats.nse
o http-open-redirect.nse
2014-08-01 23:04:55 +00:00
dmiller
d23c46f3ac
Remove unnecessary SCRIPT_NAME from stdnse.debug calls
2014-08-01 22:00:04 +00:00
dmiller
718c83f367
Check for actually-random TLS random instead of date in ssl-date
...
Patch from nnposter here: http://seclists.org/nmap-dev/2014/q3/194
2014-08-01 21:57:04 +00:00
batrick
2a8c81c4f6
stdnse.print_debug -> stdnse.debug1
...
$ sed -i 's/stdnse.print_debug("%s \([^"]*\)", SCRIPT_NAME/stdnse.debug1("\1"/' *.nse
2014-08-01 21:35:56 +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
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
7eb678a893
Move NSEdoc for unittest.run to unittest.nse
...
This prevents unittest.run from being included in the Script Arguments
section of every script that includes a unittest-compatible library.
2014-07-31 18:06:14 +00:00
dmiller
775ca4463f
Add @usage to fcrdns.nse
2014-07-31 14:42:37 +00:00
dmiller
21ab5d78bd
New NSE script: fcrdns
...
Performs Forward-confirmed reverse DNS lookup of the target, a.k.a.
Full-circle reverse DNS, double-reverse DNS, or iprev.
2014-07-31 05:34:19 +00:00
devin
e441e2a81d
Applied Fabian Affolter's patch to make generator entry more generic
2014-07-30 22:16:32 +00:00
jay
42510e649d
Update scripts/script.db
2014-07-30 07:16:52 +00:00
jay
d93a78f502
Make version scripts (with non shortport portrules) obey nmap.version_intensity() >= 7
2014-07-30 07:12:50 +00:00
jay
61d13e12d2
Make version intensity scripts use shortport.version_port_or_service() instead of shortport.port_or_service()
2014-07-30 07:10:35 +00:00
paulino
95f897fffb
Updates category to 'intrusive'.
2014-07-30 03:49:26 +00:00
paulino
1cc4d246b9
Adds mikrotik-routeros-brute.nse. This script performs brute force password auditing against the Mikrotik RouterOS API.
2014-07-30 03:48:03 +00:00
dmiller
51a633ac3c
NSE: Add TLS_RSA_WITH_3DES_EDE_CBC_SHA to default ciphers
...
As noted (http://seclists.org/nmap-dev/2014/q3/121 ), some versions of
Windows require a KB before supporting AES, so add a 3DES option.
2014-07-23 01:52:41 +00:00
dmiller
453f655f89
Add mandatory cipher suite to appropriate scripts
...
The TLS standard (TLS 1.2, but also probably the others) states:
> In the absence of an application profile standard specifying
> otherwise, a TLS-compliant application MUST implement the cipher
> suite TLS_RSA_WITH_AES_128_CBC_SHA
This was causing some problems with some implementations (See
http://seclists.org/nmap-dev/2014/q3/119 )
2014-07-22 22:20:34 +00:00
batrick
4d131d2217
Fix a pattern mixup.
...
\ --> /
found by klaudiu@freenode.
I added some short test asserts to confirm the pattern works.
2014-07-07 17:36:17 +00:00