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

11010 Commits

Author SHA1 Message Date
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
dmiller
c321830302 Protect inclusion of nmap_config.h, which is not present on Windows 2016-09-12 19:25:20 +00:00
dmiller
469f091d4d Protect inclusion of nmap_config.h, which is not present on Windows 2016-09-12 19:13:30 +00:00
nnposter
88f6ddc596 Corrects handling of empty pipelines, expressed as nil. Fixes #538 2016-09-12 16:14:33 +00:00
dmiller
6e75d69ee5 Artificial bump to CoAP and MQTT services 2016-09-12 13:09:10 +00:00
fyodor
8df35d4bcb Regenerated to reflect recent minor changes 2016-09-11 18:27:02 +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
71b55dd7f8 Factor out some OpenSSL feature checks
Instead of maintaining parallel blocks of code that do the same thing,
use preprocessor defines to unify the syntax. This way, functional
changes only need to happen in one place.
2016-09-09 14:08:49 +00:00
dmiller
182bcf8c1c Add compatibility with LibreSSL. Closes #543 2016-09-09 14:08:48 +00:00
dmiller
f607178541 Fix calling Ndiff from Zenmap on OS X. http://seclists.org/nmap-dev/2016/q3/266 2016-09-09 00:53:45 +00:00
dmiller
0790885360 CoAP scripts, payloads, and service probe for CoAP by Mak Kolybabi 2016-09-08 21:19:55 +00:00
dmiller
3fcd3987d3 Claudiu's IPMI scripts from GSoC 2014 2016-09-08 17:30:40 +00:00
dmiller
df9f58f34e UDP payload and service probe for IPMI (ASF-RMCP) on port 623 2016-09-08 17:30:39 +00:00
dmiller
3c7fe1e452 Remove some unused functions 2016-09-08 13:31:24 +00:00
dmiller
dada772d5f Add missing mqtt.lua. #352 2016-09-07 21:03:49 +00:00
dmiller
83ea599122 Make unexpected test successes into failures. #369 2016-09-07 21:03:48 +00:00
dmiller
47ca082c8d New identity unittests from Mak Kolybabi (#369) 2016-09-07 21:03:47 +00:00
dmiller
d0ae7c2c9a Oops! Missed the actual script. #352 2016-09-07 20:16:20 +00:00
dmiller
ee97c8f2a9 New MQTT script and library. Closes #352 2016-09-07 20:01:47 +00:00
dmiller
7e002ec389 Add some missing libraries to unittest.lua 2016-09-07 20:01:45 +00:00
dmiller
0edbf3f073 Tridium Fox script, probes, sslports. 2016-09-07 03:49:31 +00:00
dmiller
577dc6fe1e Move include nbase.h (defines HAVE_NETDB_H) above check for HAVE_NETDB_H 2016-09-06 18:14:58 +00:00
dmiller
bace81fa5c Add check for stdint.h needed by nse_utility.h 2016-09-06 18:14:57 +00:00
dmiller
85e6ebc64e Fix EC cert handling. Fixes #541 2016-09-06 16:36:30 +00:00
dmiller
916647d375 New probe and matchline for ProConOS 2016-09-06 16:36:29 +00:00
d33tah
12f5d91092 Fix a typo: firmward => firmware 2016-09-06 15:09:43 +00:00
dmiller
14de59e6e5 New script: pcworx-info 2016-09-06 04:27:47 +00:00
fyodor
40c00db51b Minor fixes to this document (correct links, etc.) 2016-09-03 06:15:07 +00:00
fyodor
c1451162e1 Add Libdnet license 2016-09-03 06:09:11 +00:00
fyodor
77db0a95f3 Remave WinPcap license file to match capitalization of other license files here 2016-09-03 06:07:23 +00:00
fyodor
d32fb96f60 Initial draft of a document describing third party open source libraries and code within Nmap. It's only really important for anyone who distributes Nmap (which of course includes us) since they need to follow the 3rd party licenses too. All of them do allow free redistribution. I've checked in the license files as needed so we have a record of what the license was at the time. Direct links to the third party can go dead or they can change the license text without changing the URL 2016-09-03 05:59:26 +00:00
fyodor
1124811015 Just added Roy Hills as a second author since he wrote most of the contents (he is already credited in the description, but it felt weird to not have him listed as an author too) 2016-09-03 05:49:09 +00:00
nnposter
efa565615b Removes leading comment from action() to prevent polluting nsedoc 2016-09-02 23:32:32 +00:00
nnposter
45ba24dfe2 Corrects another stale http.pipeline_go() reference 2016-09-02 14:03:21 +00:00
nnposter
42b1491904 Aligns HTTP pipeline initialization with the API specification for http.pipeline_add() 2016-09-02 13:17:19 +00:00
nnposter
f1443b3e78 Replaces deprecated function name with its current equivalent in http.lua documentation example 2016-09-02 12:36:00 +00:00
dmiller
d2dcb49a88 Sync CHANGELOG with 7.25BETA2 release 2016-09-02 04:12:24 +00:00
nnposter
c3f6425047 Disables Cisco IOS probe paths that are likely redundant 2016-09-01 19:25:38 +00:00
dmiller
185b13342e New fp for Imperva WAF, fix sybaseanywhere service name typo 2016-09-01 19:14:41 +00:00
dmiller
990b1b3875 Make a note that createdmg.sh needs a graphical login to work. 2016-09-01 16:07:47 +00:00
dmiller
e6f65878b9 Initialize Npcap before applying delayed options so isr00t is set correctly 2016-09-01 03:34:24 +00:00
dmiller
5cfc7e8564 Delay processing of -A until all --un/privileged options have been seen 2016-09-01 03:34:23 +00:00