1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-23 22:59:20 +00:00
Commit Graph

6675 Commits

Author SHA1 Message Date
david
515dbe7f2f Use stdnse.silent_require where needed.
This is required for scripts that require "openssl", but also
transitively for script that require a library that requires "openssl".
2012-03-09 18:06:49 +00:00
fyodor
7452fbc800 We'll release 5.61TEST5 on March 9 rather than March 8 2012-03-09 07:01:56 +00:00
david
e8d44b5688 Give an explicit path to subversion libraries. 2012-03-09 02:56:39 +00:00
david
d65d87df74 CHANGELOG for host.os restructuring. 2012-03-09 02:35:41 +00:00
david
b5a9bca6dc Change the structure of host.os tables.
Previously they were a flat list intermixing human-readable names and
CPE strings. Now they reflect the structure that we use to represent
them. In brief:

host.os = {
  {
    name = "Microsoft Windows XP",
    classes = {
      {
        vendor = "Microsoft",
        osfamily = "Windows",
        osgen = "XP",
        type = "general purpose",
        cpe = {
          "cpe:/o:microsoft:windows_xp"
        }
      },
      ... more classes ...
    },
  },
  ... more OS matches ...
}
2012-03-09 02:32:30 +00:00
fyodor
426a8f03d2 Update version number for 5.61TEST5 release 2012-03-09 02:17:53 +00:00
fyodor
c707f3dbdc I think I'm done with the CHANGELOG\! 2012-03-09 02:15:25 +00:00
fyodor
7c4cb56bbe Almost done with CHANGELOG 2012-03-09 01:33:31 +00:00
fyodor
3de3c7c8b0 resort nmap-os-db (there are only a few fingerprints which needed this) 2012-03-09 01:07:46 +00:00
fyodor
d20873e9f7 Update to the latest MAC prefixes from IEEE as of right now 2012-03-09 00:45:55 +00:00
david
9fa9e89cc6 Add to CHANGELOG:
o Fixed an error where very long long messages could cause an
  assertion failure: "log_vwrite: vsnprintf failed.  Even after
  increasing bufferlen to ---, Vsnprintf returned -1 (logt == 1)."
  This was reported by David Hingos.

o Fixed an assertion failure that was printed when a fatal error
  occurred while an XML tag was incomplete: "!xml.tag_open, file
  ..\xml.cc, line 401". This was reported by David Hingos.
2012-03-09 00:23:50 +00:00
david
fa0713e041 Close an open start tag before a fatal error.
This is part of the error handler that attempts to close open XML tags
at a fatal error. The case wasn't handled where a fatal error happened
while a start tag was still open (didn't have its '>' written yet). This
came from a bug report from David Hingos.

http://seclists.org/nmap-dev/2012/q1/514
2012-03-09 00:16:39 +00:00
david
e1576d1d14 Change alloc_sprintf to return a length. 2012-03-08 23:56:26 +00:00
david
23133dccf2 Use alloc_vsprintf in log_vwrite.
This avoids a failure when writing long strings on Windows. Previously
we tried only one reallocation of the write buffer, and panicked if that
failed.

http://seclists.org/nmap-dev/2012/q1/514
2012-03-08 23:56:22 +00:00
david
e28fb42ff4 Move alloc_sprintf from xml.cc to nbase. 2012-03-08 23:56:07 +00:00
fyodor
0b887548bc add a task for improving how the host.os field is organized -- we don't want to mix human readible names, classifications, and CPE entries into a single list of strings 2012-03-08 23:13:07 +00:00
fyodor
24d8b585b2 some initial work on the CHANGELOG 2012-03-08 22:08:51 +00:00
fyodor
9dc6efdb51 Update library descriptions (mostly to add expanded names to acronym protocols), also added description and/or author fields to libraries which didn't have them 2012-03-08 21:39:42 +00:00
david
479b92ae0b Add a comment to wp-plugins.lst with a link to the script used to make it. 2012-03-08 21:21:51 +00:00
david
a7a4c74120 Allow # comments in wp-plugins.lst. 2012-03-08 21:21:49 +00:00
david
01f3eba282 Make an iterator to read the data file in http-wordpress-plugins. 2012-03-08 21:21:48 +00:00
fyodor
aa9e024d88 Made some minor wording updates to script descriptions 2012-03-08 20:59:06 +00:00
david
1f43eed01b Remove an unnecessary else. 2012-03-08 20:11:10 +00:00
david
adef20d1e3 Use getFlags16 for TCP flags in vectorize.
We use as features even the four reserved TCP flags (some of them are no
longer reserved but declared for a particular purpose by some RFCs).
getFlags only returns 8 bits, leading to garbage in the feature vector
in the higher-order positions.

This doesn't affect the integrity of fingerprint submissions, because
they copy the packet contents directly and don't go through the getFlags
accessor.
2012-03-08 20:11:08 +00:00
fyodor
a37a2d3139 fix the category typo in the script.db too 2012-03-08 19:03:03 +00:00
fyodor
e085c8084d fix a category typo 2012-03-08 19:02:02 +00:00
patrik
542ed0bf67 o [NSE] Added the script acarsd-info that retrieves information from the acarsd
decoder daemon. [Brendan Coles]
2012-03-08 18:22:00 +00:00
patrik
1384a953a1 o [NSE] Added an EAP library and the script eap-info which discovers supported
EAP authentication methods. [Riccardo Cecolin]
2012-03-08 18:00:35 +00:00
patrik
cde380ea2c o [NSE] Added a Versant object database library and the scripts
broadcast-versant-locate and versant-info. The first discovers Versant
  databases on the LAN and the second queries them for information. [Patrik]
2012-03-08 17:51:48 +00:00
patrik
03dde2cc9a Added support for returning multiple responses to the srvloc library 2012-03-08 17:34:43 +00:00
david
480784d252 Change "perfect match" test in FingerPrintResults::populateClassification.
We use printno < num_prefect_matches rather than accuracy[printno] ==
1.0. In IPv4 classification, the two are equivalent, but IPv6
classifications are never fully 100%. This was causing only the first OS
class and CPE to be shown for IPv6 matches.
2012-03-07 18:23:33 +00:00
david
3f0f79b1b4 Whitespace. 2012-03-07 18:23:32 +00:00
david
4a75312e83 Some OS classification changes. 2012-03-07 17:59:55 +00:00
david
4123b8a42c Some IPv6 OS corrections. 2012-03-07 17:49:22 +00:00
david
941d609eef Include <net/if.h> before <net/if_arp.h>.
This may fix some build problems on AIX 5.3.
2012-03-07 03:39:11 +00:00
david
1bcc757d28 Updated wp-plugins.lst from Ange Gutek. 2012-03-07 03:22:23 +00:00
david
98609b946c Regen aclocal.m4. 2012-03-07 03:15:51 +00:00
david
095d5e89ac Add http-config-backup.nse from Riccardo Cecolin.
This script checks for text editor backups of web configuration files.
2012-03-06 17:51:26 +00:00
patrik
344a39e3ac Re-wrote withindomain and withinhost functions 2012-03-06 15:49:48 +00:00
david
33fa3fae76 Summarize URL tables in url.lua NSEDoc. 2012-03-05 23:00:49 +00:00
batrick
3e73b033a2 Fixed wrong variable name. 2012-03-04 10:37:37 +00:00
patrik
059007601a removed debug code from get request. 2012-03-04 09:54:54 +00:00
batrick
7286062b88 Fix typo 2012-03-04 09:31:15 +00:00
batrick
4e7756e4de Change hostname parameter to const char *. 2012-03-04 07:26:16 +00:00
david
c210f29b28 Expand an OS fingerprint. 2012-03-04 05:22:48 +00:00
david
894f858fd4 Include <sys/types.h> in the PCAP_IS_SUITABLE test.
The lack of this was causing PCAP_IS_SUITABLE to fail on Arch Linux, at
least. I think that in some cases this caused both -L../libpcap and
-lpcap to be added to the linker line, which could cause an error
because of the need to link with -lnl. (We check for -lnl when
--with-libpcap=included is used (since r23163), but the PCAP_IS_SUITABLE
failure went around this check and allowed linking with the included
libpcap without checking whether -lnl is required.)

Here are reported build failures and responses:
http://seclists.org/nmap-dev/2011/q3/449
http://seclists.org/nmap-dev/2011/q4/33
http://seclists.org/nmap-dev/2012/q1/369
2012-03-04 05:18:08 +00:00
david
d7f56c9f4c Typo. 2012-03-03 05:57:24 +00:00
david
52f0e1b0b5 Exit http-wordpress-plugins if identify_404 fails.
This is what other scripts that use identify_404 do.
2012-03-03 05:56:20 +00:00
patrik
2fa4cf467f Fixed bug in srvloc library and broadcast-novell-locate script that would make
the script fail to complete in cases where no url was returned as part of the
srvloc reply. [Patrik]
2012-03-02 23:27:18 +00:00
patrik
480e5ac605 o [NSE] Added the library rpcap and the scripts rpcap-brute and rpcap-info
which perform brute force password guessing and extract information from the
  WinPcap Remote Packet Capture daemon. [Patrik]
2012-03-02 12:39:18 +00:00