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

4399 Commits

Author SHA1 Message Date
david
cc07d32df3 Adjust all the Freenet FProxy match line to be http-proxy and not http. 2010-01-01 00:36:13 +00:00
david
1e2ebb577d Remove historical information about the runlevel variable and just
mention it in a footnote. Use a real example of the dependencies
variable from smb-os-discovery.
2009-12-31 22:42:43 +00:00
david
121d89b1c2 Add one more service fingerprint I missed. 2009-12-31 20:51:08 +00:00
david
ceba472e44 Add some of Willem de Groot's http service fingerprints from
http://seclists.org/nmap-dev/2009/q4/591.
2009-12-31 19:17:40 +00:00
david
054cc8b722 Do service fingerprint corrections. 2009-12-31 17:44:35 +00:00
david
2cf7ccf91e Do the last of the service fingerprint submissions. 2009-12-31 03:37:57 +00:00
david
bf20111d05 Another batch of uncategorized service submissions. 2009-12-30 04:08:05 +00:00
batrick
610bd0a55b Merge from Dependencies branch (nmap-exp/patrick/dependencies)
with modifications from [2].

** Short description from [1] **

I have created a patch to NSE that replaces runlevels with a table of
dependencies that clearly outlines what other scripts the script
depends on. The table is of the form:

dependences = {"script1", script2", ...}

Runlevels become an internal representation of the order of scripts
that are generated by the dependencies. Dependencies only enforce
an execution order and not a requirement for execution.

[1] http://seclists.org/nmap-dev/2009/q4/295
[2] http://seclists.org/nmap-dev/2009/q4/446
2009-12-30 02:34:05 +00:00
fyodor
0f367454f3 Changes from discussion w/David 2009-12-29 22:15:03 +00:00
david
72aaaeaca8 A batch of miscellaneous service submissions. About 700 remain. 2009-12-29 02:36:27 +00:00
david
671167227f Add the oracle-sid-brute script from Patrik Karlsson. 2009-12-28 17:35:46 +00:00
david
a181695f68 Update an OS entry based on a service submission. 2009-12-27 06:58:36 +00:00
david
4dd8d5faeb Do all the http service submissions. 2009-12-27 06:57:59 +00:00
david
d5b2404441 Fix the RTSPRequest service probe, which I accidentally changed to read
"RTSP/2.0" instead of "RTSP/1.0" during an integration commit, r16327.
Patch by Matt Selsky.
2009-12-24 22:41:24 +00:00
fyodor
8d4edcb4fb auto-generated files in prep for next release 2009-12-24 21:53:45 +00:00
fyodor
fe4c02b0e3 Add a minor nsedoc cleanup item 2009-12-24 21:52:06 +00:00
fyodor
1b776a8b2b Update changelong in prep for next release 2009-12-24 21:51:27 +00:00
fyodor
7d5ba70591 Provide Christmas greetings and a reminder of Xmas scan (-sX) when run on December 25 in verbose mode. 2009-12-24 21:32:06 +00:00
david
37d83a28d5 Do version submissions for backdoor, finger, freeciv, hp, imaps, irc,
landesk, netbios-ssn, netsupport, nntp, oracle, radmin, routersetup,
rtorrent, serv-u, shoutcast, ssh, tcpmux, torrent, utorrent, vnc.
2009-12-24 01:22:14 +00:00
david
c4b9d0e651 Fix a typo in nmap-service-probes. 2009-12-23 01:50:25 +00:00
david
f6d695d01c Do service integration for sip, printer, transmission, svnserve, vmware,
domain, and ipp.
2009-12-23 01:48:13 +00:00
david
f8ed0bfefa Fix a crash when filtering with inroute: in a scan that doesn't have
traceroute data.
2009-12-23 01:43:50 +00:00
fyodor
ed9a46b2fd Changes from discussion w/David 2009-12-22 22:08:05 +00:00
fyodor
0e8befa4a7 Minor rearranging of TODO 2009-12-22 21:00:51 +00:00
david
d75ba5b6aa Add a Kerberos service probe (udp/88) and match lines contributed by
Patrik Karlsson.
2009-12-22 16:47:24 +00:00
david
b133ce9e42 Do pop3 and afp service submissions. 2009-12-22 06:42:55 +00:00
david
c25165def2 Add a default timeout of 5000 ms to the ntp-info script, and don't try
sending the second probe if the first caused an error. This is based on
the results of a test by Richard Sammet showing that the default timeout
of 30 s is too long when scanning many open|filtered ports that are in
fact filtered.
2009-12-21 20:24:45 +00:00
david
735c767a71 Set the reason_id to no-response when probes time out during ping scan.
This was mistakenly removed in the merge from nmap-mem.
2009-12-21 19:57:00 +00:00
david
a1566e895f Add to CHANGELOG:
o Reduced memory usage in several areas. The size of the internal
  representation of nmap-os-db was reduced more than 90%. The size of
  individual Port structures without service scan results was reduced
  about 70%. When a port receives no response, Nmap now avoids
  allocating a Port structure at all, so scans against filtered hosts
  can be light on memory. Thanks to Pavel Kankovsky for the Post size
  reduction patch. [David]
2009-12-20 03:35:45 +00:00
david
d703875821 Use a list instead of a vector for ScriptResults; it's 8 bytes instead
of 12.
2009-12-20 03:29:35 +00:00
david
7db7da0007 Merge again from /nmap-exp/david/nmap-mem; this fixes a couple of bugs. 2009-12-20 03:22:19 +00:00
david
1c6030709b Revert r16307:16309, the merge from nmap-mem. I just found a
segmentation fault which I am investigating.
2009-12-19 22:49:16 +00:00
david
10f39ddd92 Use a u8 instead of int for Port::state. This allows better struct
packing and reduces the size of objects by 4 bytes.
2009-12-19 22:33:23 +00:00
david
b838242e01 Merge from /nmap-exp/david/nmap-mem. This brings in two memory-reducing
changes. The first is that Port objects don't allocate memory for
service and RPC results unless that information is set. This reduces the
size of a bare Port from 92 to 40 bytes on my machine. The second change
is that PortList now has the notion of a "default port state," which is
the state of any ports that didn't receive a response. These ports don't
need an allocated Port object, which saves a lot of memory in scans
where most ports didn't get a response.
2009-12-19 21:26:14 +00:00
tomsellers
9f0e11f035 Set port product and state when a DB2 database service is positively matched.
Previously just set port.version.name and confidence.
2009-12-19 16:30:57 +00:00
tomsellers
2615dbbca1 Enhance error reporting to include script name and port protocol.
Correct internal revision date (its not 2010 yet!)
2009-12-19 13:43:32 +00:00
david
9801a5f2f2 Change a couple of match lines with i/Chinese/ to i/Korean/. I tried
decoding the bytes with various Chinese encodings but they were all
gibberish in Google translate. It turns out they are EUC-KR–encoded
Korean, translating to "The server version 6.5.7226.0 (a) has been
prepared."
2009-12-19 10:01:01 +00:00
david
1cfa4d940a Handle imap version submissions. 2009-12-19 09:31:55 +00:00
david
b3597eb3a3 Add an n parameter to ServiceProbe::testMatch to enable getting all of
the available matches.
2009-12-19 08:30:18 +00:00
david
0530fa2f2d Add a lineno member to MatchDetails. 2009-12-19 06:08:47 +00:00
david
5020f2bb94 Remove 11 nmap-service-probes match lines that are identical within a
probe.
2009-12-18 23:48:27 +00:00
david
06afa7b303 Add a constructor for FingerPrint. 2009-12-18 07:59:31 +00:00
david
a12c181883 Add new service matches for a couple of submissions handled today. 2009-12-18 07:11:56 +00:00
david
e945eb0c8d Change the static functions getattrbyname and gettestbyname into public
methods of AVal and FingerTest, respectively.
2009-12-18 00:04:35 +00:00
fyodor
c97ea86473 Rename port 2000 from callbook to cisco-sccp, include 4190 as sieve (ManageSieve). Patch from Matt Selsky) 2009-12-17 06:32:42 +00:00
david
ae1d8e23ea Move citrix-enum-apps.nse out of the intrusive category and into safe. 2009-12-14 16:28:29 +00:00
ron
50f8718389 Added some extra information to an error message -- I realized the current error wasn't descriptive enough 2009-12-14 16:27:05 +00:00
david
f2ae05968b Add the scripts
citrix-brute-xml
  citrix-enum-apps
  citrix-enum-apps-xml
  citrix-enum-servers
  citrix-enum-servers-xml
and the citrixxml modules, all by Patrik Karlsson.
2009-12-14 07:30:38 +00:00
david
304762b07d Remove a function I accidentally duplicated in snmp.lua (encodeLength).
Reverse some byte strings after constructing them instead of building
the arrays from the front.
2009-12-14 01:03:53 +00:00
david
3f7be738ad Allow encoding OID component greater than 127 in snmp.lua. Previously
the code just took each value mod 256 and stored it as a single byte.
The OID 1.3.1000.5 would encode as follows

tag len 1.3 1000%256  5
 06  03  2b       e8 05

What you're supposed to do is break each value into 7-bit chunks, and
set the high bit in every octet but the last. Now it is correctly
encoded as

tag len 1.3 1000  5
 06  04  2b 8768 05

The length also would not have been correct for lengths over 127, and
that is fixed also.
2009-12-14 00:55:05 +00:00