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

4571 Commits

Author SHA1 Message Date
david
27c0be76d7 Add a UDP payload corresponding to the serialnumberd probe. Document
serialnumberd stuff in CHANGELOG.
2010-05-24 19:21:33 +00:00
david
6a0bba72e1 Add a probe and matchline for Mac OS X Server serialnumberd, submitted
by Patrik Karlsson.
2010-05-24 19:15:53 +00:00
david
d863e73c36 Document the new XML output processing merged in r17300 in CHANGELOG. 2010-05-24 19:02:47 +00:00
david
238e0107f5 Fix the XML stylesheet processing instruction. It read "test/xsl"
instead of "text/xsl". This was reported by Grant Bartlett.
2010-05-24 18:56:39 +00:00
david
25c56e7fa0 Fix a couple of errors in nmap-os-db caused by erroneous string
replacement. This patch is from James Cook.
2010-05-24 16:36:31 +00:00
fyodor
fb943a04f6 Move some script description text out of the script output section and into the user summary 2010-05-24 03:21:49 +00:00
fyodor
4eceddebb3 Add script idea for vulnscan based on detected os/versions 2010-05-23 21:47:07 +00:00
fyodor
d5de7d8f1b Add a small portability feature to the libpcap which comes with Nmap 2010-05-23 21:24:53 +00:00
luis
826d193bcb Fixed a couple of trivial errors 2010-05-23 17:42:44 +00:00
kris
15ae5ba5b2 Update the comment for ip_is_reserved(). An old comment (ca 2001, r1152)
says that the function could be outdated if IANA keeps assigning IP ranges,
but I update this function many times per year (usually consisting of more
than one IP block per update).  So in case I somehow slack on my unofficial
job of updating this function, I note that it needs frequent attention.
2010-05-21 16:42:54 +00:00
luis
cf2cdea42c Rewritten the TODO item added in r17620. The problem must be that I was using nping through a VPN connection. It still crashes when sport==dport, but that does not happen when using it through a regular inet connection 2010-05-21 10:59:00 +00:00
luis
4a4051ee2c Added note to investigate a bug I've just discovered, running one of the tests designed by David 2010-05-21 09:46:08 +00:00
david
90b59ef14b o [Nsock, Ncat] Nsock has a new function, nsp_setbroadcast, that
allows setting the SO_BROADCAST option on sockets. Ncat now sets
  this option unconditionally in connect mode to allow connections to
  broadcast addresses (useful in UDP mode). This code was written by
  Daniel Miller.
2010-05-21 01:54:06 +00:00
david
be0714006f Add to todo/nping.txt:
* Replace this pattern:
	if ( isNumber_u32(optarg) ){
		u32 aux32 = strtoul( optarg, NULL, 10);
		...
	}
  with a function that checks for syntax and returns the value (i.e., a wrapper
  around strtoul). There is nowhere that isNumber_u* is called without it being
  immediately followed by a strtoul, outside of utils.cc.
2010-05-21 00:29:21 +00:00
jah
e307ee691e IANA have moved the IPv4 and IPv6 assignments tables and slightly altered their
content.
2010-05-20 19:17:43 +00:00
patrik
b830a036ad o [NSE] Add new DB2 library and two scripts
- db2-brute.nse uses the unpwdb library to guess credentials for DB2
  - db2-info.nse re-write of Tom Sellers script to use the new library
  [Patrik]
2010-05-18 21:11:38 +00:00
david
940bdfc689 Move my TODO from /status. 2010-05-18 18:29:24 +00:00
luis
d2a85aa013 Added entry to change the info about TODO file in http://nmap.org/nping web page. 2010-05-18 09:25:26 +00:00
djalal
951667ffb4 [NSE] Cache the Portmapper list into the NSE registry 2010-05-18 01:09:21 +00:00
david
1cbce9030e Update todo/ncat.txt. Remove some items that look outdated or unlikely
to be implemented. Copy remaining items from my own TODO.
2010-05-17 21:15:43 +00:00
david
c41b6285a0 Move /ncat/docs/WISHLIST to /nmap/todo/ncat.txt. 2010-05-17 21:11:18 +00:00
david
8cfd9dd084 Regenerate man pages. 2010-05-17 20:05:31 +00:00
david
709ac1131a o [Ncat] In listen mode, the --exec and --sh-exec options now accept a
single connection and then exit, just like in normal listen mode.
  Use the --keep-open option to get the old default inetd-like
  behavior. This was suggested by David Millis. [David]
2010-05-17 19:17:18 +00:00
luis
94d412c688 Removed a few things that either have been solved already or don't make sense anymore. Added a note about sharing UDP payload code between nping and nmap. 2010-05-17 17:59:15 +00:00
luis
ac860ca961 Corrected trivial typo 2010-05-17 17:56:29 +00:00
david
5c60064871 Fix some accidental duplicate template specifiers in
nmap-service-probes.
2010-05-17 16:21:56 +00:00
fyodor
f9613a11be Add an idea from Luis to the Nping TODO 2010-05-16 02:24:03 +00:00
ron
50b9af97b6 Added extra 'overrides' calls all over smb.lua. They're required for some modifications to smb-check-vulns.nse I'm planning. 2010-05-15 15:57:01 +00:00
fyodor
e75799b11e a couple new items for the todo list 2010-05-14 23:43:32 +00:00
fyodor
e2d9a5d7ad some changes from chat w/David 2010-05-14 23:03:55 +00:00
david
b0e4a020b5 Add to CHANGELOG:
o Nmap now works with "teamed" network interfaces on Windows. In order
  to distinguish the interfaces, their textual descriptions are now
  compared in addition to their MAC addresses. Without this, Nmap
  would send on the wrong interface and not receive any replies. A
  symptom of this problem was all scans failing except when
  --unprivileged was used. Norris Carden reported this bug. [David]
2010-05-14 16:56:50 +00:00
david
7b956b8099 Document r17542 in NMAP_MODIFICATIONS.
o Made eth_get_pcap_devname compare interface descriptions as well as
  MAC addresses when assigning interface names like eth0 on Windows.
  Only comparing MAC addresses failed in the case of "teamed"
  interfaces, when three interfaces (two physical, one virtual) could
  have the same hardware address.
2010-05-14 16:53:46 +00:00
tomsellers
66714334dc Including information in the nmap-service-probes file for
the Promise Array Manager matchline I just removed just in
case it is submitted again.
2010-05-14 01:18:15 +00:00
tomsellers
3d061b6ccf Removing a matchline for the Promise Array Management Software
that was triggering false matches against TLS protected services.

See http://seclists.org/nmap-dev/2010/q2/465
2010-05-13 23:34:01 +00:00
david
48c6e7b820 Move the body of eth_get_pcap_devname back into intf_get_pcap_devname, leaving
eth_get_pcap_devname as a wrapper.

In addition to the hardware address check, add a check of the textual interface
descriptions in order better to distinguish interfaces. It appears to me that
the pcap description (pdev->description) is the same as what is returned by a
call to PacketRequest with an OID of OID_GEN_FRIENDLY_NAME, so that's what I'm
comparing. That differs from OID_GEN_VENDOR_NAME, which is what you get in
ifrow.bDescr from GetIfTable.

We've found that simply comparing hardware addresses is not enough when using
Windows "teamed" (link-aggregated) interfaces. In a simple example, two NICs
are teamed together, leading to three interfaces visible to libdnet: the two
physical NICs and the virtual teamed interface. All three of these have the
same MAC address. What was happening was the eth0 interface was being assigned
to one of the physical NICs, packets were sent over it, but the replies were
not necessarily coming back to the same physical NIC.
2010-05-13 04:06:53 +00:00
fyodor
5de02049fc From changes from discussion w/David yesterday 2010-05-12 20:09:49 +00:00
david
5cf726d259 Fix up indentation in collect_dnet_interfaces. 2010-05-12 16:34:25 +00:00
fyodor
bd3eee9c17 Add a fingerprint -- scanme.nmap.org wasn't matching over PPoE DSL 2010-05-11 23:12:02 +00:00
fyodor
7246026a1f sorted 2010-05-11 22:03:53 +00:00
david
8d40939ac8 o [Ncat] Ncat in listen mode now prints the source port with the IP
address when verbosity is turned on. This patch is from rebellis.
2010-05-11 19:58:03 +00:00
drazen
f41a94622a --A small formating fix. 2010-05-11 18:31:47 +00:00
david
57238b7df5 Print the addresses that were resolved but not scanned in each scan
report. It looks like this.

$ ./nmap google.com -sn

Starting Nmap 5.30BETA1 ( http://nmap.org ) at 2010-05-10 23:57 MDT
Nmap scan report for google.com (66.102.7.99)
Host is up (0.073s latency).
Other addresses for google.com (not scanned): 66.102.7.104
rDNS record for 66.102.7.99: lax04s01-in-f99.1e100.net

This replaces the line

Hostname google.com resolves to 2 IPs. Only scanned 66.102.7.99
2010-05-11 05:59:09 +00:00
kris
0be83cf063 Move around a few gettimeofday() calls, including where port scan timing
comparisons would be affected by debugging level:

http://seclists.org/nmap-dev/2010/q2/373
2010-05-11 03:22:42 +00:00
patrik
3f7b440c49 Add match lines for
- Twisted web server (OS X 10.6.3 Server)
- Apple Filing Protocol (OS X 10.6.3 Server in VMware Fusion)
- Apple Mac OS X Password Server (OS X 10.6.3 Server)
- XAVi XG6546p Wireless Gateway
- Sun GlassFish Communications Server
- Comdasys, SIParator and Glassfish SIP services
2010-05-09 10:29:16 +00:00
fyodor
d069f0a4ab Fix a command name typo reported to me by John Schutz 2010-05-09 04:20:11 +00:00
fyodor
0b7b71cfc9 Add a discussion TASK for Ron's msrpc todo list 2010-05-09 00:30:40 +00:00
jah
3b15630d70 Wrap EPROTO case in an ifdef directive to avoid compiler errors when EPROTO is
not defined (such as on windows XP).
2010-05-08 23:35:41 +00:00
david
fea2ad0a33 o Moved the parse_long function from ncat to nbase for better reuse,
and used it to simplify netmask parsing code. This patch was
  contributed by William Pursell.
2010-05-08 21:08:55 +00:00
david
63c614e003 Make a few adjustments to service matches after reviewing them for
highlights.
2010-05-08 13:46:18 +00:00
david
5c1ec9a488 Don't build a shared libdnet library by default. We always link directly
against the static library.
2010-05-07 21:08:32 +00:00