1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-22 07:29:01 +00:00
Commit Graph

4571 Commits

Author SHA1 Message Date
fyodor
1fb6b1ec33 more discussion w/David 2009-06-02 21:06:23 +00:00
fyodor
5315cba53d Changes from discussion w/David 2009-06-02 20:33:56 +00:00
batrick
e2b7bbc356 Fixed some inconsistent formatting. 2009-06-02 05:28:58 +00:00
batrick
3e4950eec2 Minor patch to change error messages to be lowercase as is common.
Also moved to an enumeration of mutex operations rather than hard coded
constants inside the switch.
2009-06-02 05:27:48 +00:00
fyodor
7f4b564b0e 2009-05-29 20:49:51 +00:00
david
923f03707c Revise the new --script-args documentation, tweak formatting. 2009-05-29 16:25:03 +00:00
batrick
cfc16fb6de Updated refguide and scripting chapter of book to the new syntax of the
--script-args as well as a more full account of some details. The previous text
was very vague about some features, especially array values.
2009-05-29 07:14:48 +00:00
batrick
6f51d7d6a9 Fix to the parsing of the --script-args switch [1].
Previously, the --script-args switch would only accept values
with alphanumeric characters or underscores. A full treatise
of the history of changes to this switch and problems can be
found here [2].

Here are the new rules for --script-args definitively:

--script-args <string>

<string> may contain a sequence of key=value pairs and array entries
separated by commas. All whitespace except where noted below is
ignored.

A key, value, or array value may be a sequence of characters except
'{', '}', ',', '=', and all space characters. You may overcome this
restriction by using quotes (single or double) to allow all characters
within the quotation marks. You may also use the quote delimiter
inside the sequence so long as it is escaped by a backslash.

A value for a key/value pair or an array value are allowed to be
a nested table delimited by '{' and '}'.

[1] http://seclists.org/nmap-dev/2009/q2/0204.html
[2] http://seclists.org/nmap-dev/2009/q2/0211.html
2009-05-29 00:30:56 +00:00
josh
fe069f1420 Fixed a bug with the --defeat-rst-ratelimit option. 2009-05-28 23:36:45 +00:00
david
8862e63add Fix CHANGELOG typo. 2009-05-28 22:06:10 +00:00
venkat
cbba41df5c 2009-05-28 20:06:50 +00:00
josh
79b92efffb Updated the CHANGELOG to reflect the move to all PNG images in zenmap [Josh] 2009-05-28 16:20:04 +00:00
batrick
3eba69f9f8 Removed packet.hextobin and packet.bintohex. Both are unnecessary
with the struct (bin) library available:

function hextobin(str) return bin.pack("H", str) end
function bintohex(str) return bin.unpack("H", str) end

Also removed a commented copy that was in the sniffer-detect.nse script.
2009-05-28 03:59:02 +00:00
fyodor
d337e05f7f minor language tweak 2009-05-27 22:16:28 +00:00
david
439e991985 When handling ICMP ping probe replies, make sure we match up with the
right type of probe (0 with 8, 14 with 13, 18 with 17). With the new
default ping, I was scanning a network where an echo reply would
mistakenly be interpreted as a response to a timestamp request, even
though that host didn't respond to timestamp requests. That host would
become the global ping host, and all its probes would be dropped,
slowing the scan way down. A ping scan of a /24 took over 1,000 seconds
when it should have taken about 10.
2009-05-27 22:08:24 +00:00
david
fb7456950c Address mask ICMP messages are from RFC 950, not RFC 792. 2009-05-27 21:52:47 +00:00
david
0065d2cbb3 Update refguide.xml for new default ping. 2009-05-27 21:50:14 +00:00
david
1538e21724 There is a new default ping probe set: -PE -PS443 -PA80 -PP. In
exhaustive testing of 90 different probes, this one emerged as the
best four-probe combination, finding 14% more Internet hosts than
the previous default, -PE -PA80. The default for nonroot users is
-PS80,443, replacing the previous default of -PS80. In addition,
ping probes are now sent in order of effectiveness (-PE first) so
that less likely probes may not have to be sent.
2009-05-27 18:21:28 +00:00
fyodor
01f433e84b Some changes from an NSE IRC meeting 2009-05-27 07:30:55 +00:00
fyodor
5bcfa6f920 Changes from chat with David today 2009-05-26 23:08:05 +00:00
david
753679d84c Enhance the ncat-chat service match line so it works with IPv6 addresses
(ncat --chat -l -6).
2009-05-26 21:49:36 +00:00
david
7184ce9646 Add an nmap-service-probes match for ncat --chat. 2009-05-26 21:39:46 +00:00
ithilgore
36bbbf5b11 fixed typo at man page: defeat-rst-ratelimit 2009-05-26 08:48:13 +00:00
fyodor
eaa7b38623 add entry for sctp patch 2009-05-26 06:21:59 +00:00
david
5cb872a499 Fix a typo in a comment. 2009-05-25 01:49:27 +00:00
david
8d8554bc7d Note which packages must be installed for OpenSSL support on Debian and
Red Hat (libssl-dev and libopenssl-devel respectively). This tripped
Venkat and me up for a while.
2009-05-25 00:46:16 +00:00
david
6e25eff176 Fix a bug I found by reading Daniel Roethlisberger's article at
http://www.linux-magazin.de/Heft-Abo/Ausgaben/2009/06/Alles-inklusive/(offset)/4.
Don't print a "Not shown: " line if there were no extraports.
2009-05-24 18:59:19 +00:00
david
35eb7f1137 Use a datetime.date object to store the date criterion in the Zenmap
search dialog, not an ad-hoc (year, month, day) tuple. This fixes an
error introduced when I made the change to use strftime for date
formatting:
  File "zenmapGUI\SearchGUI.pyo", line 583, in operator_changed
  File "zenmapGUI\SearchGUI.pyo", line 566, in new_subcriterion
  File "zenmapGUI\SearchGUI.pyo", line 751, in __init__
  File "zenmapGUI\SearchGUI.pyo", line 816, in set_date
TypeError: argument must be sequence of length 9, not 3
2009-05-24 18:04:47 +00:00
fyodor
d971be11a8 Add links to some other sources of information on the vulnerability and this script 2009-05-22 19:59:07 +00:00
ron
bfd3c5b3df Fixed the 'usage' section -- thanks to Raul Siles for pointing out the mistake 2009-05-22 12:35:59 +00:00
ron
db4b1df6d1 Fixed a nil-reference bug in the WebDAV code 2009-05-21 19:49:53 +00:00
ron
4d38f8c8c5 Fixed a spelling mistake on print_debug ('pring_debug') 2009-05-21 14:35:23 +00:00
fyodor
0b2b4bdc64 note MAC address prefix update 2009-05-21 00:48:11 +00:00
fyodor
f3e3b8699c Update nmap-mac-prefixes to include the latest data from http://standards.ieee.org/regauth/oui/oui.txt 2009-05-21 00:44:38 +00:00
fyodor
dd7dcdf706 remove PCAP_TIMEOUT_IGNORED define since it isn't used anywhere currently 2009-05-20 21:15:37 +00:00
ron
9f21ec234c Applied a patch to WebDAV checks created by Andrew Orr:
1) Checks if the root folder is protected and aborts if it is (we can't scan folders if the root folder is protected)
2) Checks if WebDAV is enabled on the server and aborts if it isn't. The check works on IIS 5, 5.1, and 6.0 (hasn't been tested on others)
3) Added support for finding the vulnerability on IIS 5.1 (Windows XP) -- 5.0 doesn't appear to be vulnerable in our tests
2009-05-20 18:44:01 +00:00
fyodor
4df611ff9b Note an NSEDoc generation problem that Ron and I encountered today 2009-05-20 08:19:17 +00:00
fyodor
d3e623bf00 change the categories to vuln and intrusive 2009-05-20 00:51:54 +00:00
fyodor
4599d9f4f5 rename http-webdav-unicode-bypass.nse to http-iis-webdav-vuln.nse and update script.db 2009-05-20 00:43:30 +00:00
bmenrigh
f6eba7c5f1 Fixed Metasplit -> Metasploit typo 2009-05-20 00:05:37 +00:00
fyodor
60b4f7913c remove an apostrophe which was causing us nsedoc generation problems 2009-05-20 00:01:41 +00:00
ron
7382e29cb0 Updated documentation 2009-05-19 23:56:05 +00:00
ron
2d8862524d Gave credit to my friend (well, minion) who wrote the script with me 2009-05-19 23:27:31 +00:00
ron
51b9dd426b Added a check at the start for a password-protected root folder. Prevents checking if we can't get useful results. 2009-05-19 21:27:05 +00:00
ron
571145d92a Improved the script's ability to check subfolders by moving where the 'exploit' unicode characters (%c0%af) are to the beginning of the string. 2009-05-19 21:21:55 +00:00
ron
c213cc97b1 Added an initial WebDAV vulnerability-detection attempt for testing 2009-05-19 20:56:07 +00:00
batrick
5c9d8c1335 Removed some old comments and old commented code. 2009-05-19 02:00:21 +00:00
fyodor
2c41f84d7f o Patched configure.ac to detect Lua include and library files in
"lua5.1" subdirectories of /usr/include and the like. Apparently
  Debian puts them there. We still check the likes of
  /usr/include/lua.h and /usr/include/lua/lua.h as well. [Jan
  Christoph Nordholz]
2009-05-18 21:15:00 +00:00
fyodor
e8880137ee o Patched configure.ac to detect Lua include and library files in
"lua5.1" subdirectories of /usr/include and the like. Apparently
  Debian puts them there. We still check the likes of
  /usr/include/lua.h and /usr/include/lua/lua.h as well. [Jan
  Christoph Nordholz]
2009-05-18 21:14:12 +00:00
fyodor
4dbc21ff2b Take some things out of the done category just so that I remember to chat with David about them when he gets back 2009-05-18 20:48:17 +00:00