1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
dmiller
74a88c0804 Let ssl-cert grab certs from DTLS services. Fix rules for TCP-only scripts 2024-06-03 19:00:33 +00:00
dmiller
7c61f7c9c3 TLS 1.3 support for NSE. Fixes #1691 2021-07-02 20:01:30 +00:00
dmiller
f491966ef2 SSL connect support for MySQL 2020-07-08 21:17:38 +00:00
dmiller
ab1deb5783 Permit ssl-cert script to run without OpenSSL (no parsing) 2020-01-08 17:39:52 +00:00
dmiller
81ceee49c5 sslcert: Try tls.lua if Nsock's SSL routines fail to connect. 2020-01-06 18:24:33 +00:00
dmiller
dcc0e3ed7e New tableaux library containing table auxiliary functions. 2018-10-17 15:34:30 +00:00
dmiller
04aab3cfe1 Use string.pack/unpack in ssh1 and sslcert libs 2018-08-30 03:25:13 +00:00
dmiller
33f0f050cf Use smtp.get_domain instead of example.com for STARTTLS. Closes #1258 2018-07-11 04:12:00 +00:00
dmiller
13dd6a3480 Replace bit.lua functions with bitwise operators 2017-10-19 02:42:55 +00:00
dmiller
743791ce63 Move starttls and auth functions into ftp.lua 2017-07-26 19:34:23 +00:00
dmiller
8d04c3b850 Avoid a crash if ldap decode fails in sslcert. See #888 2017-06-01 17:45:07 +00:00
dmiller
4cef14a873 Switch to string packing instead of bin packing and return order for asn1-related libs 2017-03-29 20:42:01 +00:00
dmiller
772bd8d824 Correct typos: receive, successfully, length 2017-03-15 02:23:09 +00:00
dmiller
c89612d547 Use mutex to ensure only 1 attempt at starttls is made first. Once it succeeds, parallel is ok 2016-12-31 21:05:44 +00:00
dmiller
85cf1194e3 Don't mark starttls as failed if it ever succeeded in the past. 2016-12-31 21:05:43 +00:00
dmiller
b530ad7be0 Allow fast-fail of starttls connections if they have failed before. 2016-12-31 16:06:46 +00:00
dmiller
8779c1e376 Fix a crash in ssl-enum-ciphers when parsing unsupported cert types 2016-08-30 16:07:08 +00:00
dmiller
92f52de958 Remove trailing whitespace 2016-08-29 20:30:26 +00:00
tomsellers
6735a8dc95 [NSE]sslcert.lua - Fix two issues with LDAP. Closes #531 2016-08-25 22:28:33 +00:00
dmiller
963011520f Fix bugs where pos return value of bin.unpack was ignored 2016-07-21 17:05:24 +00:00
dmiller
cb4b46bd53 Canonicalize authors as tables instead of comma-separated strings 2016-06-09 22:46:42 +00:00
dmiller
3af66a0445 VNC revamp and extension 2016-04-01 22:29:39 +00:00
dmiller
f272172721 Negotiate down VNC versions for unknown versions instead of failing 2016-03-28 13:31:24 +00:00
dmiller
23bb9ef5ce Add TLS support for VNC 2016-03-27 15:06:33 +00:00
dmiller
377b52c112 Add STARTTLS for LMTP 2016-03-26 13:42:13 +00:00
dmiller
c8c4da0d6f Check for service name before port number to work on nonstandard ports 2016-03-26 13:42:12 +00:00
dmiller
a8086a222e Fix STARTLS for LDAP on nonstandard ports 2016-03-26 13:42:11 +00:00
dmiller
4db5bf502f Avoid attempting TLS over UDP protocols in sslcert.lua 2016-03-25 14:02:04 +00:00
dmiller
37c3a16a27 Add STARTTLS support for NNTP 2016-03-25 14:02:03 +00:00
dmiller
2b86ab11dc Allow ssl-* to work with TDS (MS SQL server) 2016-03-19 20:44:33 +00:00
dmiller
a7502f54e2 Add STARTTLS support for Postgresql 2016-02-03 20:09:24 +00:00
dmiller
0816975261 Factor out some common code in sslcert.lua 2016-02-03 20:09:23 +00:00
dmiller
2871ba3e6c New function, sslcert.parse_ssl_certificate
For reasons, the function is exported from nse_ssl_cert.cc into
nmap.socket, then included and documented in sslcert.lua because it fits
better there.
2014-11-05 05:55:52 +00:00
tomsellers
ea749d785b Fixed a bug in the sslcert.lua library that was triggered against certain services when version detection was used.
http://seclists.org/nmap-dev/2014/q4/110
2014-10-25 18:38:17 +00:00
dmiller
9cb2800c97 Revert r33755 (broken fix) 2014-10-25 12:18:15 +00:00
dmiller
553e827110 sslcert: if -sV detects ssl, then no STARTTLS is needed 2014-10-25 12:09:55 +00:00
dmiller
f9abb3108c Streamline starttls functions for smtp, pop3, and imap 2014-09-24 20:31:47 +00:00
dmiller
3e2ac00e55 Leverage ftp and comm libs in sslcert.lua
This should result in faster (comm.lua's timeouts) and more reliable
(ftp.lua's response processing) STARTTLS for FTP
2014-09-24 20:31:45 +00:00
batrick
4b9f1c6766 nselib stdnse.print_debug -> stdnse.debug
Manual fixes.
2014-08-03 01:17:09 +00:00
batrick
ee6622aea4 nselib stdnse.print_debug -> stdnse.debug
$ f() { find -name \*.lua -exec /bin/echo sed -i "$1" {} \; ; }
$ f 's/stdnse.print_debug( *\([0-9]*\) *, */stdnse.debug\1(/'
$ f 's/stdnse.print_debug( *"\(.*\))/stdnse.debug1("\1)/'
2014-08-03 00:56:45 +00:00
batrick
a809f52d5d level should be a number 2014-08-03 00:43:03 +00:00
claudiu
2772733958 STARTTLS support for LDAP 2014-06-20 10:11:38 +00:00
claudiu
0f17475b15 Implemented STARTTLS support for IMAP and POP3 2014-06-17 07:46:55 +00:00
dmiller
b73a7254e0 NSEdoc for some sslcert.lua functions 2014-06-12 12:28:06 +00:00
dmiller
100ff6f238 Let sslcert do STARTTLS based on service, not just port number 2014-04-11 16:42:29 +00:00
dmiller
961ea25225 Re-indent some NSE libraries.
https://secwiki.org/w/Nmap/Code_Standards
2014-02-03 19:47:34 +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
aca
d80183edab Small refactorization to sslcert.lua, split specialized functions into two, with and without calling reconnect_ssl 2012-08-03 16:11:50 +00:00
patrik
709fce67b1 Applied patches from Dan Miller to fix bugs in http and sslcert libraries;
http://seclists.org/nmap-dev/2012/q2/696
2012-06-15 10:07:32 +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