1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00
Commit Graph

319 Commits

Author SHA1 Message Date
dmiller
78f650b5e5 Bump version and regen docs post-7.50 release 2017-06-13 19:49:30 +00:00
dmiller
9c7ea727a7 Update license terms for 2017 2017-06-07 12:32:38 +00:00
dmiller
8649f07a7c noshutdown handling was missing for connect mode 2017-05-03 03:56:41 +00:00
dmiller
37287ad664 Add explanatory comment 2017-04-04 16:27:59 +00:00
dmiller
cb50c3c74b Make ncat -i not timeout while waiting for initial connection 2017-04-04 16:26:08 +00:00
fyodor
e1576ecb6d Fix an incorrectly example--reported by Thierry Closen 2017-03-31 08:28:08 +00:00
dmiller
ac8b866d73 Fix Ncat SSL server. Closes #773 and potentially #197 2017-03-19 02:26:12 +00:00
dmiller
4629f6d836 Ncat supports DNS failover, including fallback to IPv4 from IPv6 2017-03-16 21:54:26 +00:00
nnposter
32d85005d9 Enables support for TLS SNI on the Windows platform. Fixes #700 2017-02-25 00:47:30 +00:00
dmiller
b7e213b5cb Fix compatibility with LibreSSL; new checks skipped initialization code 2017-02-07 20:10:02 +00:00
dmiller
eb0bb2506f Let --ssl-ciphers be used with ncat client mode 2017-01-23 14:18:43 +00:00
dmiller
9b86dadb58 Remove deprecated calls from OpenSSL 1.1 API. Closes #630 2017-01-11 15:38:08 +00:00
dmiller
eb0ba33394 Bump version and regen docs for 7.40 release 2016-12-21 00:16:03 +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
581d3e98ce Restore connection success message for normal use 2016-11-28 15:11:50 +00:00
dmiller
f61a82a1db Bump version and regen docs for 7.31 maintenance release. 2016-10-21 20:12:59 +00:00
dmiller
490403a98f Add missing openssl includes. Closes #562 2016-10-20 15:01:03 +00:00
vincent
9d083df888 Move declaration of var fdi to the correct block to avoid warning 2016-10-17 11:16:30 +00:00
dmiller
74c139be73 Bump version and regen docs for 7.30 release 2016-09-29 18:00:59 +00:00
fyodor
cb80ead20f Latest regeneration of the auto-built files 2016-09-29 17:58:45 +00:00
dmiller
fb56c01177 Fix a typo in getopt option string causing ncat's -n to consume the next option. 2016-09-21 20:04:16 +00:00
dmiller
242f980ed8 Avoid deprecation and remove some unneeded OpenSSL version checks (proper way always worked) 2016-09-09 19:57:43 +00:00
dmiller
182bcf8c1c Add compatibility with LibreSSL. Closes #543 2016-09-09 14:08:48 +00:00
dmiller
c82915cb71 Print error message when -e fails on Windows. Closes #527. Fixes #111 2016-08-30 12:12:58 +00:00
vincent
b5606dde91 Hide first makefile attempt to include makefile.dep
This is to avoid having a warning saying that there is no makefile.dep
file, which will be generated right after the warning and then
included in the Makefile.
2016-08-16 09:31:59 +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
56f3573609 Fix interaction of --ssl --exec --max-conns 2016-07-30 00:13:18 +00:00
dmiller
dbbc420d99 Avoid 1-byte buffer overflow due to not allocating for null terminator 2016-07-30 00:13:17 +00:00
dmiller
60dc6353b9 Bump version from 7.25BETA1 release, regen docs, merge CHANGELOG 2016-07-19 19:57:56 +00:00
abhishek
d04046ae48 Adds test for -z option in ncat, closes #444 2016-07-19 10:08:02 +00:00
abhishek
d1a10dfc63 Adds zero-byte option(-z) for Ncat. Fixes #22 and #225 2016-07-19 10:07:58 +00:00
vincent
3287c1159b Replace deprecated RSA_generate_key by RSA_generate_key_ex
This applies the changes made in PR #451 on Github
2016-07-13 10:17:30 +00:00
batrick
7f5ec526fe Merge branch 'nse-lua53'
Lua 5.3 adds several awesome features of particular interest to nmap including
bitwise operators and integers, a utf8 library, and standard binary pack/unpack
functions.

In addition to adding Lua 5.3, this branch changes:

o Complete removal of the NSE bit library (in C), It has been replaced with
  a new Lua library wrapping Lua 5.3's bit-wise operators.

o Complete removal of the NSE bin library (in C). It has been replaced with a
  new Lua library wrapping Lua 5.3's string.pack|unpack functions.

o The bin.pack "B" format specifier (which has never worked correctly) is
  unimplemented.  All scripts/libraries which use it have been updated. Most
  usage of this option was to allow string based bit-wise operations which are no
  longer necessary now that Lua 5.3 provides integers and bit-wise operators.

o The base32/base64 libraries have been reimplemented using Lua 5.3's new
  bitwise operators. (This library was the main user of the bin.pack "B" format
  specifier.)

o A new "bits" library has been added for common bit hacks. Currently only has
  a reverse function.

Thanks to David Fifield, Daniel Miller, Jacek Wielemborek, and  Paulino
Calderon for testing this branch.
2016-07-02 17:02:27 +00:00
vincent
0f22680426 Correct format string specifiers
The formats has been tested and verified on Mac OS X 10.8.5,
Mac OS X 10.11.5 and Ubuntu 14.04 LTS, all on x86_64 machines
and OSs. It mainly silences warnings. There were no warnings on
Ubuntu but a few on Mac OS, so the fix is intended to silence
warnings on Mac OS whithout triggering new warnings on other OSs.
Example of warnings previously encountered:

netutil.cc:2828:74: warning: format specifies type 'unsigned short'
but the argument has type 'int' [-Wformat]
2016-07-01 11:44:26 +00:00
dmiller
0072fc4856 Rewrite nroff comments on new lines. Fixes #417, fixes #114 2016-06-22 19:46:59 +00:00
dmiller
50054e6ed7 Update platform toolset to remove XP compatibility 2016-06-04 02:46:11 +00:00
dmiller
6e33d6ac3c Bump date in copyright headers 2016-04-04 15:38:44 +00:00
dmiller
a083db0cf9 Bump version for 7.12 release 2016-03-29 19:43:37 +00:00
dmiller
c97b56a1e9 sync CHANGELOG and bump version for 7.10SVN 2016-03-17 18:16:43 +00:00
dmiller
a2c3b2f03a Include -lcrypto when checking for -lssl. Fails on OpenBSD 5.5 w/1.0.1c 2016-01-13 20:53:37 +00:00
dmiller
8425c16203 Bump version and sync CHANGELOG with 7.01 2015-12-10 13:53:54 +00:00
dmiller
72a8cc3b26 Use mkstemp instead of tempnam.
See http://seclists.org/nmap-dev/2012/q4/334 for why this wasn't really
a big problem. This solution is essentially how netcat-openbsd does it:
mkstemp creates the file and opens it, but then we just unlink it and
only use the returned name. Functionality is pretty much the same as the
tempnam version.
2015-11-20 16:17:26 +00:00
dmiller
32b28a8726 Version bump for 7.00SVN 2015-11-19 20:49:20 +00:00
dmiller
5036487eaf Note in the Ncat guide that httpd.lua is included with source, not in nmap-exp 2015-11-19 03:08:44 +00:00
dmiller
ae17eba3c3 Fix failure to build on Windows: need different approach if any 2015-11-12 20:01:53 +00:00
dmiller
47ac4e421e Clean up some windows build errors due to misapplication of a patch 2015-11-12 19:38:47 +00:00
dmiller
50c7837c5b Ncat: Attempt to reopen fd 0 if stdin is closed by parent process. Fixes #143 2015-11-12 05:07:33 +00:00
dmiller
1b4c4a9ef3 Add new --no-shutdown option to Ncat. Closes #151, fixes #142 2015-11-10 21:07:30 +00:00
dmiller
37d517b32e Use XP compatibility SDK, because users are complaining 2015-11-10 16:47:35 +00:00
dmiller
f4619edece Update http urls for nmap.org to https 2015-11-05 20:41:05 +00:00