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

7705 Commits

Author SHA1 Message Date
sean
b1555d6cce Fixed the todo about Nping should probably give you an error or warning...
The command given was "nmap -p80 google.com" and I changed it to "nping -p80..."as that is the proper command
2012-07-18 04:24:43 +00:00
sean
199c92c80b Updated the CHANGELOG with information about the new protocol specific packets for IPv6. 2012-07-18 04:15:08 +00:00
sean
753009b5fd Merge r29079:29256 from /nmap-exp/sean/nmap-proto6
Added protocol-specific payloads for: 
	0x00 Hop-by-hop 
	0x2b Routing 
	0x2c Fragment 
	0x3c Destination
2012-07-18 04:10:16 +00:00
david
bd526768c8 Update MacPorts-ports.diff. 2012-07-18 00:00:17 +00:00
fyodor
33371ef786 add a web server scaling task 2012-07-17 21:20:21 +00:00
aca
8c9d8f0bb9 Fixed an issue with wrong thread count, and the case when server crashes or is completly unavailable for some other reason 2012-07-17 19:26:18 +00:00
david
913bbd60a3 sv-tidy. 2012-07-17 18:33:40 +00:00
david
2202781cba Resolve some language i// and cpe:// mismatches. 2012-07-17 18:33:39 +00:00
david
9002e84ff4 Move various product names from i// to p// templates.
Generally, when we know the specific name of a web server, for example,
running on an embedded system, we prefer to list the server itself in
p// and v//, and the hardware in i//, like so:

match m|| p/thttpd/ v/$1/ i/Foobar 2000 ADSL router http config/

But it's very common that match lines instead look like this:

match m|| p/Foobar 2000 ADSL router http config/ i/thttpd $1/

This commit fixes many of these, with assistance from sv-tidy.
2012-07-17 18:33:37 +00:00
perdo
6e5b999c99 Add parts of LuaFileSystem to NSE (support for mkdir, rmdir, link). 2012-07-17 18:07:28 +00:00
perdo
6b101769d7 Add a check to see if response from which we wish to extract links is not nil. 2012-07-17 18:06:44 +00:00
david
0288accd74 Copyedit http-slowloris docs. 2012-07-17 17:19:43 +00:00
henri
a111b5bcdc [NSOCK] Sandwitched pcap_read_on_nonselect() statements between #ifndef
PCAP_CAN_DO_SELECT guards to prevent them from being executed on systems that
actually provide selectable pcap descriptors.
2012-07-17 16:38:15 +00:00
david
db594ed246 Fix the few instances of a capture being used in unrelated templates. 2012-07-17 16:19:19 +00:00
perdo
2424c6d2a4 Add a check to see if reponse from which we wish to extract links is not nil. 2012-07-17 16:11:10 +00:00
david
4f84ae1f13 Reorder character classes so they don't look like ranges.
sv-tidy complains:
8487: can't parse m regex (bad character range): |^HTTP/1\.0 405 Method Not Allowed\r\nServer: Membase Server ([\w-.]+)\r\nPragma:|
8488: can't parse m regex (bad character range): |^HTTP/1\.0 405 Method Not Allowed\r\nServer: Couchbase Server ([\w-.]+)\r\nPragma:|
2012-07-17 15:54:01 +00:00
paulino
7e9fff9dfb Temp fix to reduce the number of times this script gets executed. This change removes it from the category "version" 2012-07-17 01:37:55 +00:00
patrik
ea7da393f4 update script to work with changes made to robtex website 2012-07-16 19:46:43 +00:00
fyodor
6ea54949fb Mark some tasks done and minor reorg 2012-07-16 19:35:42 +00:00
aca
1e6344541a Merged http-slowloris from my dev branch into trunk 2012-07-16 19:27:24 +00:00
david
1cb72a4928 Do ARP/ND scan with -PR --disable-arp-ping.
These options look contradictory, but --disable-arp-ping is really an
option to disable *implicit* ARP ping when you haven't asked for it.
Actually requesting ARP should still do ARP scan. The contradiction that
remains is the option name --disable-arp-ping, which doesn't exactly do
what it says.

The idea here is that you can just throw --disable-arp-ping at the end
of your command lines, and implicit ARP scan will always be disabled,
and any command using -PR will continue to work.
2012-07-16 18:26:39 +00:00
david
129ebc4634 Add the --disable-arp-ping option.
This option disables implicit ARP and ND host discovery (the implicit
discovery that would happen even if you used -Pn or IP-based discovery.)
2012-07-16 18:11:21 +00:00
david
31bbb65c07 Add implicitARPPing option to NmapOps. 2012-07-16 18:11:20 +00:00
batrick
bbea3dc088 "Start" the worker thread so the host timeout accounting is correct.
Also add to num_threads for accounting.
2012-07-14 22:32:37 +00:00
kroosec
65a8490539 Small formatting change int creds.lua to adapt output when no state is provided. 2012-07-14 17:29:00 +00:00
henri
5df5c86029 Fixed inconsistent indentation, replaced spaces by tabs. 2012-07-13 23:07:06 +00:00
dmiller
4463296bf7 Modify ssl-enum-ciphers for speed and thoroughness
Send large groups of ciphers and eliminate chosen ones until the server
gives up. This results in far fewer exchanges than trying every cipher
individually.

Also fixed a bug introduced in r26521 where failing to send NULL
compressor results in a rejected handshake, and updated the list of
ciphers from 213 to 359.

http://seclists.org/nmap-dev/2012/q3/156
2012-07-13 22:40:00 +00:00
henri
a2f308a8f8 Removed duplicate declaration of a msiod *nsi variable.
It's used two times, in two separate blocks of the function. Therefore it was
declared twice (once per block), then got moved toplevel but the second
declaration was forgotten somehow.

This doesn't actually change anything (identical objdump -d diff) but makes code
nicer.
2012-07-13 21:18:03 +00:00
kroosec
aac6c1d03a Added OSPF support to broadcast-listener. 2012-07-13 15:02:09 +00:00
kroosec
71bfe5c700 Added ospf library that was written by Patrik and added documentation and some bug fixes to it. 2012-07-13 14:55:34 +00:00
kroosec
e1793d5961 tls-nextprotoneg: Replaced hard fixed protocols search for a dynamic extraction one. 2012-07-13 10:29:35 +00:00
henri
f66e0fcfb9 Ensure that inheritable_socket() returned a valid FD before passing it to Setsockopt(). 2012-07-12 17:17:46 +00:00
henri
51cf3b0df9 Fixed a false positive in http-vuln-cve2011-3192.nse, which detected Apache
2.2.22 as vulnerable.

The corresponding ChangeLog entry for Apache 2.2.22 says:
"""
Fix a regression introduced by the CVE-2011-3192 byterange fix in 2.2.20:
A range of '0-' will now return 206 instead of 200.
"""
https://issues.apache.org/bugzilla/show_bug.cgi?id=51878
2012-07-12 17:00:41 +00:00
aca
f083222ea9 Ooops. Forgot the returns 2012-07-10 21:18:23 +00:00
aca
7161193756 Added a patch by Patrick. A cleaner way to deal with varargs. 2012-07-10 20:58:44 +00:00
aca
c6ed7023c4 Brute and unpwdb lib improvements that allow more flexible iterator specifications. Merge from my dev branch. 2012-07-10 16:35:48 +00:00
patrik
6dd99f410b removed the ms-sql-dac script from default and made the port discovery
run in parallell against multiple database instances.
2012-07-10 10:08:42 +00:00
patrik
9236196d42 o [NSE] Added ms-sql-dac script which queries the Microsoft SQL Browser service
for the DAC (Dedicated Admin Connection) port. [Patrik Karlsson]
2012-07-10 09:50:51 +00:00
tomsellers
b82c819afb Update to add additional blacklist entries the httpspider library. The goal is to avoid downloading and processing certain additional video, audio and binary formats.
This should speed up crawling certain sites.  In the case of http-email-harvest it should reduce some of the false positives generated by running the RegEx against binary data. The only script that this appears likely to have affected the results of would have been http-sitemap-generator and that script specifically disables the blacklist.
2012-07-10 00:23:02 +00:00
henri
113f1791ff Updated information and procedures from the project's HACKING file. 2012-07-09 22:53:46 +00:00
fyodor
8bbaa0c91c Add a task to add a --disable-arp-ping option so that Nmap can better handle proxy arp situations 2012-07-09 22:53:41 +00:00
dmiller
39b96782b4 Update dns-zone-transfer with more RR types
Updated the type table to include the latest from
http://www.bind9.net/dns-parameters (18 June 2012). Fixed a bug in WKS
parser. Added parsers for NSAP, NSAP-PTR, PX, GPOS, ATMA, KX, A6, DNAME,
SINK (partial), SSHFP, and SPF.
2012-07-09 21:15:43 +00:00
dmiller
f1a3c26b66 Fixed dns-zone-transfer support of WKS records (tested with Bind9) 2012-07-09 18:50:21 +00:00
batrick
4ef2bb978a add appropriate comment 2012-07-09 17:06:04 +00:00
henri
87fcddad2b Fixed a couple nsock problems described in
http://seclists.org/nmap-dev/2012/q3/56.  r29134 already addressed the issue but
was incomplete.

This replaces r29134 with an engine-agnostic approach, and additionally enforces
the reset of IOD flags before use or re-use.
2012-07-09 16:45:49 +00:00
henri
47d8b75fcf Cosmetic fixes: indentation and trailing whitespaces. 2012-07-09 16:33:58 +00:00
dmiller
8a4ebef626 Add more record types to dns-zone-transfer
New types: MD, MF, MB, MG, MR, WKS, HINFO, MINFO, RP, AFSDB, X25, ISDN,
RT, NAPTR. Several of these are obsolete/experimental. RP, AFSDB, and
NAPTR can be tested against zonetransfer.me. WKS (Well Known Services)
is very interesting, but little used, and not tested.
2012-07-09 16:02:28 +00:00
perdo
bcdb303a2b Added an unrequired library and fixed a typo. 2012-07-09 13:32:32 +00:00
perdo
1498f9ce7a Added irc-sasl-brute script which performs brute force password auditing against IRC servers supporting SASL authentication. 2012-07-09 12:51:07 +00:00
perdo
614077f122 Functions from http library that make requests now always return a table. 2012-07-09 10:18:29 +00:00