1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00
Commit Graph

6853 Commits

Author SHA1 Message Date
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
patrik
43253cea53 o [NSE] Added authentication support to MongoDB library and modified existing
scripts to support it. Added the script mongodb-brute to perform password
  brute force guessing. [Patrik]
2012-03-02 12:28:30 +00:00
david
8bd550b2fd Remove empty doc dir. 2012-03-01 22:32:11 +00:00
henri
b1086ac340 Added a --nsock-engine option to nmap, nping and ncat to enforce use of a
given nsock IO engine. [Henri]
2012-03-01 09:05:02 +00:00
fyodor
ee9b9eb0a7 Finished some small tasks 2012-03-01 09:02:16 +00:00
fyodor
1623bcfa66 Update --script-args to note that many scripts qualify their arguments with the script name, and that you can pass unqualified arguments to affect every script using that name. Also updated scripting.xml to emphasize that instead of using nmap.registry.args directly, scripts should get their arguments with stdnse.get_script_args. Regenerated the nroff too after making these changes to the source XML 2012-03-01 08:56:45 +00:00
fyodor
684f42c4ad One more adjustment to the license text. Notes that Zenmap, Ncat, and Nping use this license. Note that contributions made directly in the src repository are treated the same as those in the mailing list. 2012-03-01 06:53:35 +00:00
fyodor
e96a7b7b24 Update the headers for each code file. This updates code copyright dates to 2012, notes the awesome NSE in the list of technology, and slightly rewords the derivative works clarification 2012-03-01 06:32:23 +00:00
david
f34f783ae7 Retrain IPv6 OS model. 2012-03-01 04:49:34 +00:00
david
9723dab809 Expand a Mac OS X IPv6 class. 2012-02-28 22:17:17 +00:00
fyodor
5d45743172 note a done task and add one for the next dev release 2012-02-28 21:30:54 +00:00
tomsellers
9f4fcc4da5 [NSE] Added support to broadcast-listener for extracting address, native vlan and management IP address from CDP packets. 2012-02-25 17:18:22 +00:00
patrik
f8784f8829 o [NSE] Added the script broadcast-networker-discover that discoverer EMC
Networker servers on the LAN. [Patrik]
2012-02-25 16:06:30 +00:00
patrik
2881ec0a19 o [NSE] Added RPC Call CALLIT to the RPC library and modified UDP sockets to be
unconnected in order to support broadcast. [Patrik]
2012-02-25 15:59:41 +00:00
david
218fdea9a2 Fix an OS fingerprint copy-paste error. 2012-02-25 15:32:51 +00:00
fyodor
ce655c66b9 note some finished stuff 2012-02-25 05:09:18 +00:00
david
8d4b7a9e39 Split nmap-update into its own RPM. 2012-02-25 02:23:55 +00:00
jah
a701846023 Corrected a directory separator in the command to move intl.dll. 2012-02-24 20:28:17 +00:00
david
49c6b65a5a Fix the display of "Unknown protocol" in ippackethdrinfo.
nexthdrtoa always returns the same static buffer, so it is never NULL.
Check for an empty string instead.
2012-02-24 05:01:41 +00:00
david
c1e1a12e2c Use ip_get_data_any, not ip_get_data, in ippackethdrinfo.
The difference is that ip_get_data_any doesn't require there to be an
upper-layer header at the end of an IPv6 chain. This avoids the message
"BOGUS!  Can't parse supposed IP packet" during -sO -6 scan. The -sO
sends non–upper-layer headers, some even with empty payloads, and so
causes this situation often.
2012-02-24 05:01:41 +00:00
david
bdea1b3a9c IPv6 OS in CHANGELOG. 2012-02-23 23:11:44 +00:00
david
d63def973e Retrain IPv6 OS model from latest maintenance. 2012-02-23 23:10:37 +00:00
patrik
984ec185bd Updated documentation to reflect the changes introduced by the sslcert library
[Patrik]
2012-02-23 19:29:42 +00:00