1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-03 21:29:01 +00:00
Commit Graph

10701 Commits

Author SHA1 Message Date
tudor
9c8a435bbf Fixed scanning the same IP multiple times with a type of scan that is now raw, incompleteHosts and completedHosts are now multisets instead of sets 2016-10-15 22:26:43 +00:00
dmiller
fbc9ddae92 More accurate handling of obscure ICMP-based connect errors. 2016-10-12 15:26:55 +00:00
dmiller
594756bd1d Be more clear: if it's ICMP Dest Unreach, say so. 2016-10-12 15:26:54 +00:00
dmiller
99efa84d86 Make sure Nmap.nsi gets regenerated when necessary and safely 2016-10-07 02:54:04 +00:00
dmiller
5806603494 Fix Npcap loading in Nping. Fixes #559 2016-10-07 02:54:03 +00:00
dmiller
bf4c2651ec Some changelog updates 2016-10-07 02:54:02 +00:00
yang
c238ef3df4 Fix MSVC 2010's compilation warning on DLT_NULL_HEADER pointer assignment (https://github.com/nmap/nmap/issues/563) 2016-10-06 03:40:29 +00:00
dmiller
b3c0887e9a Fix a crash in About page due to missing format specifier in spanish translation 2016-10-05 22:00:50 +00:00
dmiller
81edb3ad3b Remove the correct error message, by nnposter. Fixes #561 2016-10-05 13:55:36 +00:00
dmiller
82b6da33fc Indicate that hostname is turned off when address is not shown in topology. Fixes #556 2016-10-03 14:12:29 +00:00
nnposter
670a90fae3 Adds a missing check for OpenSSL to one of the fingerprints 2016-10-01 00:27:44 +00:00
nnposter
8be2332c54 Fixes unpacking of the Java serialization magic marker. This complements the change in r36149. 2016-09-30 20:22:09 +00:00
dmiller
7128753730 Randomly ask for user submission of already-matching IPv6 fingerprint from weak groups 2016-09-30 05:30:44 +00:00
dmiller
3a69dbaa51 Add number of prints to IPv6 model 2016-09-30 04:25:32 +00:00
dmiller
2b3d9fd550 Add a data member for number of prints in a group 2016-09-30 04:15:44 +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
82ea8a80d3 Fixed -iR scanning too many targets
Fixed a discrepancy between the number of targets selected with -iR and
the number of hosts scanned. Because "up" hosts did not count towards
the number of hosts in a hostgroup, Nmap would run an extra Ping scan
phase on that number of new targets before scanning. Those extra targets
in the last hostgroup would result in output like "Nmap done: 1056 IP
addresses" when the user specified -iR 1000.

https://security.stackexchange.com/questions/138150/scans-more-ips-than-asked
2016-09-29 14:56:47 +00:00
dmiller
4a8df9a9d7 Add options to http-enum fingerprints format. Patch based on work by Josh Amishav-Zlatin 2016-09-28 13:22:42 +00:00
dmiller
1d696c1918 Factor out handshake parsing. Trust me, it'll be worth it. 2016-09-28 13:22:41 +00:00
dmiller
b7bce6a45e Add an IPv6 OS correction 2016-09-28 06:22:08 +00:00
dmiller
c10a712763 IPv6 fingerprints done through 2016-09-25 2016-09-27 22:44:28 +00:00
nnposter
5ac669b71c Removes non-existent 4th parameter from http.pipeline_go() calls 2016-09-27 18:56:27 +00:00
nnposter
ec3f6f9ac4 Adds a notice that pipeline_go() may not return all responses. 2016-09-27 18:29:00 +00:00
nnposter
d834d652ac Removes a hint that HTTP pipeline only handles GET requests 2016-09-27 16:05:48 +00:00
nnposter
06a25384b6 Fixes additional stale pipeline_go references 2016-09-27 16:01:39 +00:00
dmiller
1387f5c9df Add a few localhost Windows fingerprints and sort 2016-09-26 04:54:10 +00:00
david
278ee23466 Expand HAProxy service match lines.
These are not observed in the wild, but derived from source code, namely
http://git.haproxy.org/?p=haproxy.git;a=blob;f=src/proto_http.c;h=50e3d486ee4798ae8d329b7a78a23b8ba82cff68

There were already matches for status codes 403 and 503 (not counting
the 200 for the statistics page); this change adds codes 400, 401, 403,
405, 407, 408, 429, 500, 502, 503, and 504.

Additionally, I dug through the history back to about 2006 and found a
few places where the responses changed. The new possible version ranges
are (available ranges depend on the status code):
	< 1.3.1
	>= 1.3.1
	1.4.0 - 1.5.10
	< 1.5.0
	>= 1.5.0
	>= 1.5.10
	>= 1.6.0

http://seclists.org/nmap-dev/2016/q3/285
2016-09-25 03:31:28 +00:00
dmiller
95e4c05fc4 Refactor TLS record/message parsing a bit to make it clearer. 2016-09-24 00:58:27 +00:00
dmiller
4290b983d4 Fix parsing of TLS heartbeat (not used for ssl-heartbleed.nse) 2016-09-24 00:58:26 +00:00
dmiller
e7baa4418b New DTLS service probe and match line. 2016-09-23 05:18:16 +00:00
dmiller
b61e92940e Fix a typo from debugging. 2016-09-23 02:24:57 +00:00
dmiller
e42fecfb89 Update lltd-discovery to Lua 5.3 string packing 2016-09-21 20:44:00 +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
59003c255b Catch a few more config corruption issues. i18n for error messages 2016-09-21 15:17:34 +00:00
dmiller
91032d05dd Grab a more-complete Npcap version string 2016-09-21 05:19:25 +00:00
dmiller
6b64fc4753 Fix a bug in lltd-discovery, trying to pack binary data as a hex string 2016-09-21 03:55:13 +00:00
dmiller
9370f5bd5d Strip carriage returns (\r) from output to prevent spoofing 2016-09-21 03:55:12 +00:00
dmiller
d1fb502144 Fix some bad patterns with excessive backtracking 2016-09-21 03:55:11 +00:00
dmiller
da594ae5b8 Add services found in Alexa top 1m websites 2016-09-20 04:48:22 +00:00
paulino
7db0072047 Adds JBoss Seam Debug page. This page leaks critical information sometimes. 2016-09-19 21:32:10 +00:00
jah
c6c5939220 Comment-out the port spec test suite. 2016-09-19 09:25:18 +00:00
david
59cc2fe72a Avoid eating 'T' 'U' 'S' 'P' not followed by ':' in getpts.
On reading 'T', 'U', 'S', or 'P', getpts_aux would unconditionally
consume the character before checking to see whether it was followed by
a ':'. You could insert 'T', 'U', 'S', or 'P' in several places and it
would just be ignored, which is different treatment than other letters
got.

Behavior before:
	nmap -p 9
	# scans port 9

	nmap -p discard
	# scans port 9

	nmap -p Tdiscard
	# scans port 9

	nmap -p T:Tdiscard
	# scans port 9

	nmap -p Tdi*ard
	# scans port 9

	nmap -p Xdiscard
	# Error #485: Your port specifications are illegal.  Example of proper form: "-100,200-1024,T:3000-4000,U:60000-"

Behavior after:
	nmap -p 9
	# scans port 9

	nmap -p discard
	# scans port 9

	nmap -p Tdiscard
	# Error #485: Your port specifications are illegal.  Example of proper form: "-100,200-1024,T:3000-4000,U:60000-"

	nmap -p T:Tdiscard
	# Error #485: Your port specifications are illegal.  Example of proper form: "-100,200-1024,T:3000-4000,U:60000-"

	nmap -p Tdi*ard
	# Error #485: Your port specifications are illegal.  Example of proper form: "-100,200-1024,T:3000-4000,U:60000-"

	nmap -p Xdiscard
	# Error #485: Your port specifications are illegal.  Example of proper form: "-100,200-1024,T:3000-4000,U:60000-"
2016-09-18 20:42:56 +00:00
david
3a62c2dbc9 Fix typo in commented p-switch-test line.
error: ‘struct scan_lists’ has no member named ‘stcp_count’
2016-09-18 20:42:52 +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
0bb1dc6dc2 Merge latest IANA services. Includes 446 previously-unknown services 2016-09-14 03:16:18 +00:00
dmiller
e6f45c41f7 Add a few more communities to snmpcommunities.lst
Three sources:

1. all-caps PUBLIC and PRIVATE because community strings are
   case-sensitive
2. Cisco small-business switch backdoor SNMP community string
3. Phenoelit's Default Password List
2016-09-14 03:16:17 +00:00
nnposter
4a2b034854 Tightens target_check in the fingerprint for Lantronix SLC 2016-09-14 02:16:00 +00:00
nnposter
52a88e0f21 Updates two fingerprints to support non-English sites 2016-09-14 01:51:22 +00:00
nnposter
0a5be207da Removes an obsolete import from http-default-accounts-fingerprints.lua 2016-09-12 23:59:09 +00:00