dmiller
74a88c0804
Let ssl-cert grab certs from DTLS services. Fix rules for TCP-only scripts
2024-06-03 19:00:33 +00:00
nnposter
6cffee9e5d
Add CARBANAK certificate thumbprint. Closes #1609
2019-05-26 02:03:00 +00:00
dmiller
cd3253f5a2
New script, https-redirect
2018-06-28 03:43:27 +00:00
rewanth
d9504537e6
Removes unused dependencies from all files in scripts folder.
2017-08-15 07:26:00 +00:00
dmiller
eff6c09118
Change ssl scripts to use string unpacking instead of bin.lua
2017-03-10 17:29:53 +00:00
dmiller
e4717fa068
Add tls.servername script-arg. Closes #540
2016-12-05 17:44:32 +00:00
dmiller
f4619edece
Update http urls for nmap.org to https
2015-11-05 20:41:05 +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
dmiller
298be5bfaa
Re-indent some scripts. Whitespace-only commit
...
https://secwiki.org/w/Nmap/Code_Standards
2014-01-31 17:36:09 +00:00
fyodor
35e118802b
Add some fingerprints of problematic keys reportedly belonging to APT1. Contributed by Mariusz Ziulek. http://seclists.org/nmap-dev/2013/q3/638
2013-09-28 03:13:07 +00:00
dmiller
9c199916b8
ssl-known-key: return if sslcert fails
2012-08-30 23:29:06 +00:00
patrik
4157e63c9e
nse_check_globals fixup
2012-08-17 05:37:59 +00:00
david
7ebf300c0c
Use binary strings, not hex strings, as keys in ssl-known-key.
2012-08-16 10:51:51 +00:00
david
600ef58aa0
Don't check whether cert:digest succeeded.
...
The digest isn't something stored in the cert that may or may not be
present; it is calculated locally.
2012-08-16 10:51:37 +00:00
david
1ba18b4a39
Use structured key name "sha1" not "fingerprint" for uniformity with ssl-cert.
2012-08-16 10:51:24 +00:00
david
e037b3c416
Use lower case spaces for separation in ssl-known-key digests.
...
For uniformity with ssl-cert.
2012-08-16 10:37:33 +00:00
david
bd99ea17f8
Don't use colons in structured output digests.
2012-08-16 10:37:21 +00:00
david
aee57d6cdc
Kill <script></script> around @xmloutput.
2012-08-16 10:12:08 +00:00
dmiller
f9ddf0fca6
Update ssl-known-key to use structured output
2012-08-16 02:59:58 +00:00
henri
5df5c86029
Fixed inconsistent indentation, replaced spaces by tabs.
2012-07-13 23:07:06 +00:00
dmiller
fd6d41e30a
Merge branch 'ssl-known-key-sslcert'
2012-07-08 04:12:25 +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
fyodor
1c702ffad3
trivial nsedoc change
2011-06-30 09:11:57 +00:00
fyodor
130e417be9
fix a small nsedoc typo noted by Henri Doreau
2011-06-29 09:05:03 +00:00
fyodor
536e00ea42
Went through all the new (since 5.51) scripts and improved (I hope) the nsedoc descriptions a bit and made some other very minor cleanups
2011-06-29 01:29:14 +00:00
david
ae11175ad8
Put ssl-known-key in {"safe", "discovery", "vuln"} (was {"discovery"}).
2011-03-22 19:44:46 +00:00
david
6142158b43
Updates to ssl-known-key by Mak Kolybabi,
...
http://seclists.org/nmap-dev/2011/q1/934 . Change the database format.
Change the output.
2011-03-22 19:44:45 +00:00
david
0e970b4bc6
ssl-known-key.nse: Use shortport.ssl. Rename ssl-fingerprints.txt to
...
ssl-fingerprints; no extension appears to be the prevailing convention
in nselib/data. Allow comments and blank lines in ssl-fingerprints. Add
Little Black Box copyright and attribution to ssl-fingerprints. Boost
some print_debug thresholds.
2011-03-22 19:44:42 +00:00
david
47557a108b
o [NSE] Added ssl-known-key.nse, which checks SSL certificates against a
...
list of certificates with known keys that have been extracted from
firmware files. [Mak Kolybabi]
2011-03-22 19:44:40 +00:00