dmiller
a0f55317f3
Fix inclusion of Lua headers. See #1355
...
We will need to do something similar for Ncat.
2018-10-16 05:18:31 +00:00
dmiller
e4f65348cb
Use lua_createtable to prealloc some tables, saving time & memory
2018-06-28 03:43:25 +00:00
fyodor
ff62300249
Bump copyright dates to 2018 and slightly improve wording (doesn't change meaning) of Nmap license header text
2018-01-28 21:18:17 +00:00
dmiller
c72e3ac0d9
Extract RSA modulus along with exponent
2017-10-18 20:26:38 +00:00
dmiller
9c7ea727a7
Update license terms for 2017
2017-06-07 12:32:38 +00:00
dmiller
9b86dadb58
Remove deprecated calls from OpenSSL 1.1 API. Closes #630
2017-01-11 15:38:08 +00:00
fyodor
4bd67aa2fb
Update the Nmap license/header text to reflect latest updates to docs/legal-notices.xml
2016-12-14 00:12:23 +00:00
dmiller
087fb7be04
Add X509v3 extension parsing to NSE's sslcert code. Show Subject Alternative Name.
2016-09-17 01:54:03 +00:00
dmiller
c321830302
Protect inclusion of nmap_config.h, which is not present on Windows
2016-09-12 19:25:20 +00:00
dmiller
182bcf8c1c
Add compatibility with LibreSSL. Closes #543
2016-09-09 14:08:48 +00:00
dmiller
85e6ebc64e
Fix EC cert handling. Fixes #541
2016-09-06 16:36:30 +00:00
dmiller
8779c1e376
Fix a crash in ssl-enum-ciphers when parsing unsupported cert types
2016-08-30 16:07:08 +00:00
vincent
a2b5a1a5f9
Check for EVP_PKEY_get1_EC_KEY(), based on @jer-gentoo's work
2016-08-02 12:20:06 +00:00
vincent
c4c93166f1
Correct usage of RSA_get0_key according to OpenSSL version
2016-08-02 11:55:04 +00:00
vincent
107f4f2e9b
Correct problem
2016-08-02 11:47:04 +00:00
vincent
2080807052
Correct qualifiers for arguments of RSA_get0_key, by gvanem
2016-08-02 11:38:52 +00:00
vincent
aedd25c3a2
Add compatibility with OpenSSL 1.1.0 pre5 and previous versions
...
Add some checks to know which OpenSSL version is used, to be sure
the code follows the syntax of the version used (including 1.1.0).
2016-08-01 09:34:56 +00:00
dmiller
7aed1fd2ab
Partially revert r36038: EC support only missing on RHEL
2016-07-27 20:35:00 +00:00
dmiller
3611aa0a6e
Fix building on OpenSSL 1.0.1 and earlier due to missing EC crypto
2016-07-27 20:28:46 +00:00
dmiller
c71d8e8f4f
Refactor some code for ECDH param parsing, fix a #ifdef (always was false)
2016-06-09 04:36:08 +00:00
dmiller
c8e8cf8f43
Return RSA exponent from parsed SSL certificates, as a bignum
2016-06-09 04:36:07 +00:00
dmiller
6e33d6ac3c
Bump date in copyright headers
2016-04-04 15:38:44 +00:00
dmiller
e2bbf289d4
Display EC curve name in ssl-enum-ciphers
...
Closes #173 . See http://seclists.org/nmap-dev/2015/q3/254
2015-09-17 13:00:23 +00:00
dmiller
68409b2226
Update copyright date to 2015
2015-06-03 13:01:29 +00:00
dmiller
b87d343443
Fix X509 cert date parsing for dates after 2049.
...
Reported by Teppo Turtiainen: http://seclists.org/nmap-dev/2015/q2/29
GeneralizedTime strings are 15 bytes (14 chars of date + 'Z'), not 14.
2015-04-09 13:07:34 +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
dmiller
aeae800545
Clean up line endings (stray \r)
2014-11-03 21:40:57 +00:00
tomsellers
e11e03fa50
Add the signature algorithm that was used to sign the target port's x509 (TLS) certificate to the output of ssl-cert.nse
...
http://seclists.org/nmap-dev/2014/q4/44
2014-10-25 18:56:38 +00:00
dmiller
5adfb3b1de
Update copyright notice to 2014
2014-08-16 01:52:33 +00:00
jay
8d5ec9e310
Reapply r33420, r33421. Fix a missing right parenthesis. https://xkcd.com/859/
2014-08-15 12:09:22 +00:00
fyodor
f6f59a7cd7
Auto regeneration with latest template files, etc.
2014-08-13 22:57:43 +00:00
jay
d4cf544df6
Fix a missing bracket at the end of the IMPORTANT NMAP LICENSE TERMS part in each file
2014-08-02 19:29:50 +00:00
jay
f5e438b966
Got rid of (unnecessary) spaces in blank lines in *.cc and *.h files.
...
sed -i 's/^\s*$//'
2014-06-19 11:36:10 +00:00
d33tah
421176fc00
Get rid of double newline at the EOF I accidentally introduced in the
...
last commit.
2014-06-18 11:30:02 +00:00
d33tah
e3d1c178e3
Add newlines at the EOF in conformance to Daniel's coding standards
...
proposal. This only affects Nmap's root directory. We might also need to
modify the code which autogenerates Nmap's source code files such as IPv6
fingerprinting code.
2014-06-18 10:18:58 +00:00
dmiller
3f0d0c16f9
Spellcheck on Nmap, Nsock, Nbase source files
2014-02-20 18:44:12 +00:00
d33tah
ccd0c02a4c
Add a lacking space in the license comment. The command I used to do this is:
...
for file in `grep "* including the terms and conditions of this license text as well. \*" * -r --files-with-match `; do sed "s/\* including the terms and conditions of this license text as well. \*/* including the terms and conditions of this license text as well. */g" -i $file; done
2013-09-11 19:06:20 +00:00
fyodor
6e01ecd452
Update an email address, fix a typo, and slightly reword a sentence.
2013-07-30 00:02:00 +00:00
fyodor
83fb10ec56
Update the Nmap copyright/license files. This isn't the new Nmap Public Source License we've been discussing on the list, but rather just a 'quick patch' to hopefully prevent some of the abuse we've been seeing from companies lately. More details on the changes will be posted to the dev list. Also, the copyright year was updated to 2013 (which is the only change to Nsock license statements).
2013-07-28 22:05:05 +00:00
fyodor
6a42ef47c0
Update the Nmap and Nsock source code headers to note new Nmap dev mailing list email address and a better URL for Nmap license.
2012-12-06 01:21:42 +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
684f42c4ad
One more adjustment to the license text. Notes that Zenmap, Ncat, and Nping use this license. Note that contributions made directly in the src repository are treated the same as those in the mailing list.
2012-03-01 06:53:35 +00:00
fyodor
e96a7b7b24
Update the headers for each code file. This updates code copyright dates to 2012, notes the awesome NSE in the list of technology, and slightly rewords the derivative works clarification
2012-03-01 06:32:23 +00:00
fyodor
86e59a8c4e
Update copyright statements from 2010 to 2011
2011-01-21 00:04:16 +00:00
batrick
1e0b42bf57
Replace safe_realloc use with userdata for better error handling.
2011-01-07 23:48:39 +00:00
david
f3a8bb7d7a
Check for EVP_PKEY_EC before using it. It isn't present in the
...
MacOSX10.4u SDK.
2011-01-05 06:07:19 +00:00
david
7653cf7d4a
Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match.
2010-10-30 03:01:50 +00:00
david
274d5ccca3
Remove an unused parameter to pkey_type_to_string and fix its documentation. Patch by Matt Selsky.
2010-10-20 15:48:14 +00:00
kris
8a62c6be41
Fix pkey_type_to_string() in r20679 which was returning "rsa" for EVP_PKEY_DSA
...
(and remove breaks after returns)
2010-10-20 05:55:35 +00:00
david
877cbab16f
o [NSE] Added reporting of the type and bit size of certificate public
...
keys to ssl-cert.nse. [Matt Selsky]
2010-10-20 05:49:17 +00:00