1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-01 20:39:02 +00:00
Commit Graph

10441 Commits

Author SHA1 Message Date
dmiller
f002aee6a9 Add TLSA type to dns-zone-transfer, refactor bto16 2016-07-21 22:27:30 +00:00
dmiller
98d5fd7625 Fix a segfault due to Nsock event leak in NSE. 2016-07-21 21:36:40 +00:00
vincent
24976fe9c8 Correct sentences from Zenmap French translation 2016-07-21 19:31:11 +00:00
vincent
6e5efe5a8c Add new Zenmap Spanish translation
Thanks to Marta Garcia De La Paz, Paulino Calderon
and Patricio Castagnaro for their contribution
2016-07-21 19:18:56 +00:00
dmiller
5b7a07b6c9 Add clock-skew script, datetime library 2016-07-21 17:05:25 +00:00
dmiller
963011520f Fix bugs where pos return value of bin.unpack was ignored 2016-07-21 17:05:24 +00:00
dmiller
be3cd99dbc Add missing require 2016-07-21 17:05:23 +00:00
dmiller
033d77540a Use formulas.lua for mean, stddev in dns-cache-snoop 2016-07-21 17:05:22 +00:00
dmiller
75e6c2f64a Add mean, stddev, and median to formulas.lua 2016-07-21 17:05:21 +00:00
dmiller
5483beef88 Support floats and negative intervals in format_time 2016-07-21 17:05:20 +00:00
vincent
92ef17cc18 Add Mac libraries flags, if specified to the makefile 2016-07-20 16:13:00 +00:00
vincent
c6b20530ea Add dependencies requiered for nmap-update's static libraries 2016-07-20 16:09:10 +00:00
vincent
3611e7c47a Remove Macports; nmap-update now uses static libs
nmap-update now uses static libraries linking for libapr, libsvn,
libserf, libz and libsqlite
2016-07-20 16:07:37 +00:00
dmiller
60dc6353b9 Bump version from 7.25BETA1 release, regen docs, merge CHANGELOG 2016-07-19 19:57:56 +00:00
dmiller
5040fb3874 Add a couple changelog entries 2016-07-19 15:11:22 +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
abhishek
0c1d68d6de Falls back to "getnameinfo" for truncated replies in reverse DNS resolver. Closes #434 and #400, fixes #364 and #103. 2016-07-19 08:33:01 +00:00
vincent
c521208999 Update zenmap.pot (make update-pot) 2016-07-17 15:23:05 +00:00
dmiller
e81b4a719a Update wdb-version to Lua5.3 syntax 2016-07-17 04:56:30 +00:00
dmiller
dbc26606ca Fix crashes when assigning timeouts as floats. New NSE utility function nseU_checkinteger 2016-07-17 04:56:29 +00:00
batrick
62c4985536 Reduce debugging further.
This is still too verbose for some use cases.
2016-07-16 17:24:19 +00:00
vincent
34af9d438e Update the documentation for missing steps 2016-07-15 14:02:36 +00:00
dmiller
28c06ce28b Fix up some NSEdoc in asn1.lua 2016-07-13 17:51:10 +00:00
dmiller
95f7b76d9f Avoid 'baseoid' output when snmp-hh3c-logins fails. 2016-07-13 17:51:09 +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
1b5f633e2a Reduce verbosity and improve bin wrapper debugging. 2016-07-13 01:46:27 +00:00
dmiller
a8abc95712 Note some default values for unpwdb args 2016-07-12 13:52:17 +00:00
dmiller
7b4180b8d7 Avoid sending NS probe on Npcap Loopback (BSOD on Win7). See #429 2016-07-11 14:14:53 +00:00
dmiller
fd5926ed1c Simplify config reading/writing. Related #449 2016-07-11 13:34:49 +00:00
dmiller
0ac0d8f505 Fix globals, whitespace 2016-07-08 04:36:31 +00:00
dmiller
187d9190c0 Add missing nsedoc tags, needed because stdnse.module not used 2016-07-07 22:12:13 +00:00
dmiller
b47c55dc6e Add sslv2-drown. Closes #365 2016-07-07 16:35:39 +00:00
dmiller
8c346ba3b4 Encrypted SSLv2 messages have no message type 2016-07-07 16:35:38 +00:00
dmiller
529a1fb4bd Fix index returned by sslv2.read_record, handle errors and encrypted records 2016-07-07 16:35:37 +00:00
dmiller
17040f4cf1 Move core of sslv2.nse into sslv2.lua so other scripts can use it. Cache results in registry. 2016-07-07 16:35:37 +00:00
dmiller
d6fbe8b2ca Refactor some code from sslv2.nse into sslv2.lua 2016-07-07 16:35:36 +00:00
tomsellers
99d47e6210 Version detection: docker - fixed bugs related to missing pattern negation, added two match lines when Job Name is missing 2016-07-07 00:50:30 +00:00
tomsellers
63c9a1f8c0 NSE: added output to docker-version.nse 2016-07-07 00:04:15 +00:00
dmiller
221ad15f43 Fix flags for Travis CI build. --without-ssl was incorrect. 2016-07-06 22:24:51 +00:00
tomsellers
5ca3902b3a NSE: fix bug in docker-version.nse that transposed version and name 2016-07-06 19:37:56 +00:00
tomsellers
4f3f8cd4fc Remove generic matchline causing FP against Docker 2016-07-06 19:36:12 +00:00
dmiller
9058596e1e Separate CFLAGS from CXXFLAGS. Was breaking with -std=c++11 on clang 2016-07-06 16:20:56 +00:00
dmiller
f58315fa59 Make nmap-update depend on nbase for compilation on MSVC 2016-07-05 20:03:42 +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
vincent
9703feace9 Avoid hidden overloaded virtual functions
Since the functions were hidden for the comiler, I specified every
function that was being hidden in the IPv*Header.h header files.
This allows us to use both overloaded functions and the original one
instead of having one being hidden by the others.
Here is the compiler warning output before the fix:

warning: 'file::function' hides overloaded virtual function
note: hidden overloaded virtual function 'file2::function' declared
here: different qualifiers
2016-07-01 11:36:20 +00:00
vincent
900f015726 Silencing sizeof() warning
Here, the sizeof() function return the size of 'char *' instead of 
INTF_NAME_LEN. I replaced the use of the latter function by INTF_NAME_LEN 
(maximum size of the array intf_name). Here is the compiler warning output:

route-bsd.c:171:38: warning: sizeof on array function parameter will return 
size of 'char *' instead of 'char [16]' [-Wsizeof-array-argument] 
strlcpy(intf_name, namebuf, sizeof(intf_name));
2016-07-01 11:27:37 +00:00
vincent
d0774e7ed5 Closes #342 by thebinarymutant: Fix semantic for python3 2016-07-01 10:37:25 +00:00
dmiller
0d12307030 Improve parsing and request building in sslv2. Part of #365 2016-06-30 17:01:21 +00:00