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

6716 Commits

Author SHA1 Message Date
luis
b39561622e Minor typo fix 2010-07-14 09:43:10 +00:00
fyodor
7e60217bf9 Add the remaining CHANGELOG entries from reviewing all the svn logs since last release. Still needs some ordering and presentation work, and could probably do with proofreading as well 2010-07-14 08:46:31 +00:00
fyodor
5539c9e39e Change NETINET_IN_SYSTEM_H definitions to NETINET_IN_SYSTM_H (missing the final E) because that is how the actual include filename is spelled. Also removed instances of HAVE_NETINET_IN_SYSTEM_H since they aren't used 2010-07-14 05:43:19 +00:00
david
16232ff34c Change the warning message for time specifications that look off by a
factor of 1000. I realized there is a bad ambiguity in

The default unit for --host-timeout is seconds (since April 2010),
so your time of "10000" is 2.8 hours.

It could be interpreted as "seconds since April 2010" which is a strange
way to specify a length of time and would be confusing if you took it
that way. I have changed it to

Since April 2010, the default unit for --host-timeout is seconds,
so your time of "10000" is 2.8 hours.
2010-07-13 17:22:58 +00:00
fyodor
3f124b9bcc Added some items to the CHANGELOG 2010-07-13 10:38:07 +00:00
fyodor
0c58472d2f improve descriptions a bit and add quick descriptions for people who didn't have one. Also added a bit more whitespace. 2010-07-13 08:52:15 +00:00
fyodor
c124247af2 latest IEEE data 2010-07-13 07:42:15 +00:00
fyodor
97efad8500 Started working on CHANGELOG for next release (due this week) 2010-07-13 07:01:31 +00:00
fyodor
2c5739378d add Winpcap 4.1.2 upgrade to the TODO tasklist 2010-07-13 03:28:53 +00:00
fyodor
637c358715 Make initial list of tasks needed for next Nmap release. Also reordered some tasks 2010-07-13 02:33:40 +00:00
kris
17b7ec4622 Now this should fix the last commit, but for Windows (and whatever else sucks
and doesn't use normal socket headers).  Untested now, but everything should
be guarded like elsewhere.  I forget this stuff until after I type ci...
2010-07-12 22:12:09 +00:00
kris
b7627cb96e Fix NetBSD compilation. These headers should really be included anyway, they
aren't just some NetBSD quirk.
2010-07-12 22:01:34 +00:00
fyodor
963ecbb72d add a task about further investigating CPE usage for Nmap OS and Version detection 2010-07-12 21:22:35 +00:00
david
e2cb93b36a svn:ignore additional build files in libnetutil. 2010-07-12 20:53:48 +00:00
fyodor
a304be029a add a small nsedoc task 2010-07-12 20:38:17 +00:00
david
7d0c08a097 Brief copyediting of NSEDoc for modules. 2010-07-12 19:42:43 +00:00
david
d95ee8c15f In scripting.xml, note that the documentation is stripped down for space
reasons. State what additional information is available online.
2010-07-12 17:43:38 +00:00
david
1ff1a4f892 First-pass copyediting on the remaining scripts. 2010-07-12 17:19:26 +00:00
david
4cdc50e95d Do copyediting of NSEDoc up through pgsql-brute. 2010-07-12 06:21:03 +00:00
david
725e6b85ac Put some indexterms inside certain elements like term and member. Having
them outside causes an error, "[warning] unresolved internal
destination" and a broken link in the index.
2010-07-12 03:54:06 +00:00
fyodor
a9a47afe3b Added a missing sect2 end tag 2010-07-11 07:42:58 +00:00
batrick
0f8946efc9 Update to Implementation section of NSE chapter to account for changes made
to NSE (Lua).
2010-07-10 07:38:12 +00:00
batrick
c08922c411 Reset environment after creating new script thread. (This may fix problems with
some memory not being reclaimed.)
2010-07-10 06:03:15 +00:00
david
b9633ed69b Do copyediting of NSEDoc. This is a first pass up to ms-sql-xp-cmdshell. 2010-07-09 23:32:18 +00:00
david
0e7f78bcd0 Break off a comment in afp-brute.nse so it doesn't appear as part of the
@output.
2010-07-09 17:48:10 +00:00
fyodor
e839430d82 Note a networking problem task 2010-07-09 06:22:53 +00:00
djalal
81d927513d Make value_follows variable local 2010-07-08 20:21:24 +00:00
fyodor
ca0bf1da69 Put a standard Nmap header on nmap-rpc 2010-07-08 03:50:27 +00:00
fyodor
8c45bca9ec add a very minor task 2010-07-08 03:17:41 +00:00
batrick
e55589c5cc Another change to this from r18458 that adds a note to check if you need
to escape quotes differently based on which shell you use.
2010-07-07 17:26:48 +00:00
batrick
45a51eff5c Move Script Database Update code from nse_main.cc (Lua code embedded in C
strings) to nse_main.lua.
2010-07-07 16:31:17 +00:00
batrick
885bc6e034 SCRIPT_ENGINE is defined in nse_main.h. 2010-07-07 15:01:19 +00:00
fyodor
d758631be8 remove recommendation to install lintian as it is apparently not required 2010-07-07 01:28:49 +00:00
kris
05abf37ead get rid of a warning 2010-07-07 01:25:20 +00:00
luis
aca3354d0a Fixed a few errors in the description 2010-07-06 22:57:27 +00:00
fyodor
6b1638aad4 reword an entry to better note the diff between how ncat and nping echo mode handle multiple connects 2010-07-06 20:52:30 +00:00
fyodor
1af9684fa9 Note a completed task 2010-07-06 20:14:32 +00:00
fyodor
2cf41cecf3 Minor typo 2010-07-06 18:23:54 +00:00
fyodor
e4c0674b35 Add a potential task for discussion re: adding server support to nsock 2010-07-06 18:23:18 +00:00
djalal
98cf1dd7c4 Remove nfs-acls and nfs-dirlist scripts, all their features are supported by nfs-ls.nse script. 2010-07-06 00:56:41 +00:00
djalal
53b2b629dc Merge r18534:r18591 from nmap-exp/djalal/nse-nfs/ 2010-07-06 00:29:54 +00:00
david
0347e05487 Add to CHANGELOG:
o Fixed the assignment of interface aliases to directly connected
  routes on Linux, which was broken in 5.30BETA1 (it always assigned
  the base interface instead of the alias). This was visible in the
  host.interface variable passed to NSE scripts. The bug was reported
  Victor Rudnev. [David]
2010-07-04 18:01:31 +00:00
david
62c2276755 Properly match up directly connect routes with alias interface addresses
in getsysroutes_proc. This was already being done for non–directly
connected routes, those with a gateway. Victor Rudnev reported this bug.

The /proc/net/route file doesn't contain alias qualifications so we must
match them up after the fact with the interface table. When the gateway
address isn't set, use the route destination for matching instead.

For example, with these interfaces and routing table,

eth0      Link encap:Ethernet  HWaddr 00:50:BF:16:11:61
          inet addr:192.168.1.21  Bcast:192.168.1.255 Mask:255.255.255.0

eth0:1    Link encap:Ethernet  HWaddr 00:50:BF:16:11:61
          inet addr:192.168.0.21  Bcast:192.168.0.255 Mask:255.255.255.0

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0

nmap --iflist before this commit:

DEV    (SHORT) IP/MASK         TYPE     UP MAC
eth0   (eth0)  192.168.1.21/24 ethernet up 00:50:BF:16:11:61
eth0:1 (eth0)  192.168.0.21/24 ethernet up 00:50:BF:16:11:61

DST/MASK       DEV    GATEWAY
192.168.1.0/24 eth0
192.168.0.0/24 eth0

nmap --iflist after this commit:

DEV    (SHORT) IP/MASK         TYPE     UP MAC
eth0   (eth0)  192.168.1.21/24 ethernet up 00:50:BF:16:11:61
eth0:1 (eth0)  192.168.0.21/24 ethernet up 00:50:BF:16:11:61

DST/MASK       DEV    GATEWAY
192.168.1.0/24 eth0
192.168.0.0/24 eth0:1
2010-07-04 17:42:49 +00:00
fyodor
dec2f7c3bc add task about implementing security technologies such as dep and aslr on Win 2010-07-03 21:16:56 +00:00
jah
e651aced8c Strip newlines from the the portion of the http status line starting after a
space.
2010-07-02 11:35:18 +00:00
fyodor
fafd5a85a7 Note that Nmap should have a better way to handle XML script output. Also that we should do at least 1-2 Nmap releases in July 2010-07-02 01:03:59 +00:00
david
5506d55ee6 Document irc-unrealircd-backdoor.nse in CHANGELOG. 2010-07-01 00:15:28 +00:00
david
5c85f224c0 Accuracy and speed improvements to irc-unrealircd-backdoor.nse. The main
problem was that the timer was including the time taken by the server to
do reverse-DNS resolution and an ident lookup, before it handled the
magic "AB" sleep command. So if a server took 10 seconds to time out the
ident lookup, the time recorded would be 10 seconds greater than it
should have been. If the timeout was long enough, as server would be
reported as vulnerable even if not. To compensate for this, the delay
was set high, but false positives were still possible and this slowed
down the script.

First, remove the mutex that allowed only one instance of the script to
run at a time. The mutex was meant to provide more accurate timing, but
it wasn't really needed because scritp parallelism wasn't the cause of
inaccuracy.

Next, make sure the server is done sending its initialization messages
(and hence is done with its timeouts) before sending the magic "AB"
sleep command and starting the timer. This is done by sending an
innocuous TIME command immediately upon connection. This is partly
because comm.tryssl has to send something, and partly because we can
detect when the server has processed the TIME command by looking for a
message like ":hostname 451 TIME :You have not registered". Once this is
done, we start the timer and send the "AB" command. If we haven't gotten
a response to TIME in 60 seconds, go ahead and send the "AB" command
anyway.

Finally, reduce the delay to 8 seconds from 25. The delay only has to be
long enough to overcome any network delay, now that confounding timeouts
have been eliminated. In a test of around 600 hosts, the only times I
recorded were 0, 1, 8, and 9 seconds, so this looks like a good enough
safety margin.
2010-07-01 00:11:59 +00:00
fyodor
15b869cdb7 Update nmap-mac-prefixes to include latest IEEE data 2010-06-30 22:14:12 +00:00
luis
c1057bcadd Moved a few items to the DONE section and fixed a few minor style and formatting issues 2010-06-30 16:00:11 +00:00