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

3493 Commits

Author SHA1 Message Date
josh
198cb57ea2 Added another case to NmapOps::RawScan() to fix a bug where the "Raw packets
sent..." message would not be displayed.
2009-06-05 04:06:12 +00:00
josh
881fc1777f Changed the default port for UDP probing. Also changed the ICMP id in ICMP
pinging to be a nonzero number.
2009-06-05 03:29:10 +00:00
david
d011afb07c [Ncat] Handling of newlines on Windows has been improved. CRLF is
automatically converted to bare LF when input is from the console, but
not when it is from a pipe or a file. No newline translation is done
on output (it was being done before). This makes it possible to
transfer binary files with Ncat on Windows without any corruption.
2009-06-05 02:30:58 +00:00
fyodor
246344aa08 Minor improvements to an existing item 2009-06-04 21:35:57 +00:00
fyodor
c5fcfefbea Further improvements to the output format. It now always prints the vuln table if an infection is found, but it no longer prints anything for clean machines unless verbosity is 2+ 2009-06-04 19:39:24 +00:00
fyodor
f97f4bd203 2009-06-04 18:03:00 +00:00
ron
05a8b54511 Reduced the amount of output that p2p-conficker.nse gives unless verbosity 2 or higher is given. 2009-06-04 13:10:00 +00:00
fyodor
fbf0ea8d7e a script output idea 2009-06-04 02:47:51 +00:00
fyodor
722009d907 2009-06-04 02:42:33 +00:00
fyodor
c5d5b47769 Use $(INSTALL) command rather than cp to copy NSE scripts and libraries during install so that permissions are set properly too 2009-06-04 02:38:16 +00:00
fyodor
752748bb43 2009-06-04 00:54:25 +00:00
fyodor
978db0691b Note a problem I've been having with getting NSE to run as non-root user with installed (as opposed to in working directory) Nmap 2009-06-04 00:32:17 +00:00
daniel
50830f7488 o Added initial SCTP port scanning support to Nmap. SCTP is
a layer 4 protocol used mostly for telephony related applications.
  This brings the following new features:
  o SCTP INIT chunk port scan (-sY): open ports return an INIT-ACK
    chunk, closed ones an ABORT chunk.  This is the SCTP equivalent
    of a TCP SYN stealth scan.
  o SCTP COOKIE-ECHO chunk port scan (-sZ): open ports are silent,
    closed ports return an ABORT chunk.
  o SCTP INIT chunk ping probes (-PY): host discovery using SCTP
    INIT chunk packets.
  o SCTP-specific IP protocol scan (-sO -p sctp).
  o SCTP-specific traceroute support (--traceroute).
  o The ability to use the deprecated Adler32 algorithm as specified
    in RFC 2960 instead of CRC32C from RFC 4960 (--adler32).
  o 42 well-known SCTP ports were added to the nmap-services file.
  Part of the work on SCTP support was kindly sponsored by
  Compass Security AG, Switzerland.  [Daniel Roethlisberger]
2009-06-03 23:15:45 +00:00
jah
99c4008c03 Disable traceroute when -6 is requested. Before this, it was possible to reach
traceroute() with IPv6 targets if a ping scan was requested.
2009-06-03 21:39:53 +00:00
david
440980ae38 Add João Medeiros's topology saving feature.
http://seclists.org/nmap-dev/2009/q2/0409.html
2009-06-03 17:43:03 +00:00
david
94283c1721 Add a web page for SuperDOS to nmap-os-db. 2009-06-03 17:35:20 +00:00
batrick
105e9365b8 Added note on convention for localizing all globals needed at the beginning
of the script.
2009-06-03 05:45:19 +00:00
batrick
d569d5b75e Removed a debug statement that was left in. 2009-06-03 05:40:30 +00:00
batrick
e31c5973b1 Corrected a comment. 2009-06-03 05:38:44 +00:00
batrick
93c4f35f2e [NSE] When a script ends for any reason, all mutexes are now unlocked.
Some scripts would fail due to an error (whois.nse) causing other
scripts to become deadlocked on a mutex that would never unlock. This
patch fixes this problem. See [1] for more information.

[1] http://seclists.org/nmap-dev/2009/q2/0533.html
2009-06-03 03:40:13 +00:00
fyodor
9ccaf35c38 changes from NSE meeting 2009-06-03 00:59:05 +00:00
fyodor
3ba96c4bca 2009-06-02 21:44:18 +00:00
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