1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00
Commit Graph

1764 Commits

Author SHA1 Message Date
david
4c9a3ef4de Add multicast group name output to broadcast-igmp-discovery.
Patch by Vasily Kulikov.
http://seclists.org/nmap-dev/2012/q4/350
2012-11-29 19:58:30 +00:00
david
e262a5bb19 Add CPE to smb-os-discovery output. 2012-11-29 05:36:50 +00:00
david
21e953d489 Add cpe field to smb-os-discovery output. 2012-11-29 05:36:49 +00:00
david
db6825d319 Use smb.get_windows_version in smb-os-discovery. 2012-11-29 05:36:46 +00:00
paulino
dd6105588d Fixes bug when reading the initial base uri. These scripts were incorrectly setting "/" as the starting point. 2012-11-25 18:38:59 +00:00
fyodor
c58b302ee1 Fix some more typos and spelling errors 2012-11-16 09:13:53 +00:00
fyodor
46e8ade6da fix another instance of same typo 2012-11-16 08:53:05 +00:00
fyodor
8ccf89b3ea fix a typo 2012-11-16 08:52:13 +00:00
fyodor
079e4c4c6a spell out EIGRP acronym 2012-11-16 02:07:06 +00:00
fyodor
0a9d569e42 Some more minor script description updates 2012-11-16 00:51:50 +00:00
fyodor
f13353a610 Minor description updates (and sometimes just text reformatting) for some of the 85 new scripts(!) since Nmap 6.01 2012-11-15 23:05:31 +00:00
fyodor
ff0f33288b Add author field to Patrik's bjnp-discover script 2012-11-15 21:17:17 +00:00
patrik
20555b7988 nse_check_globals cleanup 2012-11-12 03:49:35 +00:00
david
36e378155e Add @xmloutput to snmp-hh3c-logins. 2012-11-10 07:33:59 +00:00
david
54ad2eaede Add snmp-hh3c-logins by Kurt Grutzmacher.
http://seclists.org/nmap-dev/2012/q4/155
2012-11-08 07:37:48 +00:00
david
4c298e6e67 Add support for ECDSA to ssh-hostkey.nse.
Patch by Adam Števko. http://seclists.org/nmap-dev/2012/q4/181
2012-10-31 17:57:26 +00:00
robert
30fcbb260e Updated the hash information in http-php-version to include PHP/5.3.17, PHP/5.3.18, PHP/5.4.7 and PHP/5.4.8. 2012-10-22 20:26:43 +00:00
david
f26d82b3fc Update the status code name in smb-check-vulns.
The checks for conficker and ms08_067 check for a specific status code
of 0x00000057, but do so by the name mapping to this value rather than
by value.

The name of this value was change from NT_STATUS_WERR_UNKNOWN_57 to
NT_STATUS_WERR_INVALID_PARAMETER in r24847, breaking these tests because
they were still searching for the "UNKNOWN_57" string.

This error was reported by Kit Peters.
http://seclists.org/nmap-dev/2012/q4/125
2012-10-18 04:28:11 +00:00
david
3c87635ae8 Use nmap.new_socket in place of nmap:new_socket in smb-check-vulns.nse.
Kit Peters reported the crash:
smb-check-vulns.nse:366: calling 'new_socket' on bad self (string expected, got table)

http://seclists.org/nmap-dev/2012/q4/124
2012-10-18 03:47:22 +00:00
david
f8b8cd6b91 script-updatedb. 2012-10-18 03:18:08 +00:00
henri
b3361b56d0 Added HTTP status code 400 (Bad request) to the list of ignored codes in
http-method-tamper.nse, which is the behavior of many servers (makes sense as
this is rather a client-side error).
2012-10-12 12:25:45 +00:00
kroosec
3858d67874 Added check for excluded ports for rpc-grind.nse 2012-10-11 19:49:44 +00:00
patrik
121cc35de6 nse_check_globals cleanup 2012-10-07 12:54:31 +00:00
patrik
2e985da611 fixed bug "ORA-03146: Invalid buffer length for TTC field" 2012-10-07 09:10:59 +00:00
patrik
6cfa5aea0f o [NSE] Added oracle-brute-stealth which exploits CVE-2012-3137, a weakness
in the Oracle O5LOGIN authentication scheme. [Dhiru Kholia]
2012-10-06 19:59:45 +00:00
patrik
655f766445 reverted bad commits 2012-10-06 19:38:15 +00:00
patrik
10a34f626a Squashed commit of the following:
commit 5de9e4fa623f88a9b48ef0704244ff843005573a
Author: Patrik Karlsson <patrik@cqure.net>
Date:   Sat Oct 6 21:19:08 2012 +0200

    Applied patch from Dhiru Kholia adding oracle-brute-stealth and needed changes

    reworked the patch slightly and added;
    - support for specifying account on command line
    - johnfile argument for writing hashes directly to file
2012-10-06 19:25:13 +00:00
patrik
2e5a448aa5 Revert "Squashed commit of the following:"
This reverts commit 71f5f22e79bdb44fffa14edd5d3ffa570efde8ed.
2012-10-06 19:25:04 +00:00
david
52a4ae6e71 Fix wrong script id in oracle-enum-users error message.
By Dhiru Kholia.
http://seclists.org/nmap-dev/2012/q4/1
2012-10-01 21:54:47 +00:00
henri
f2bb268135 Added 404 detection checks to attempt to reduce false positives. 2012-09-25 12:07:59 +00:00
david
9a21b96b49 Let -e work in ipv6-ra-flood. NSEDoc fixes.
Patch by Adam Števko.
2012-09-24 04:33:15 +00:00
david
6b86535138 Use parse_timespec for ipv6-ra-flood.timeout argument. 2012-09-23 21:15:24 +00:00
david
40a2af0a84 Description and timeout argument for ipv6-ra-flood.
Patch by Adam Števko.
2012-09-23 21:15:22 +00:00
david
7ddb82d555 Remove nonexistent @output from ipv6-ra-flood.nse. 2012-09-22 16:54:31 +00:00
henri
dfd3bf835d Changed "auth" to "brute" category for imap-brute.nse and citrix-brute-xml.nse for consistency. 2012-09-21 11:46:23 +00:00
david
8f39b485a0 Add cassandra scripts from Vlatko Kosturjak. 2012-09-20 06:30:48 +00:00
david
00cc96ba95 Add ipv6-ra-flood script by Adam Števko.
http://seclists.org/nmap-dev/2012/q2/250
https://bitbucket.org/xenol/nse-scripts/raw/6d3ad48e6251/ipv6-ra-flood.nse
2012-09-20 00:50:05 +00:00
david
9f0f8e33c0 Change hbase-region-info URL to /rs-status.
http://seclists.org/nmap-dev/2012/q3/903
2012-09-18 21:22:14 +00:00
david
874bbe28cd Pass the dst argument to existing calls to nmap.ip_send. 2012-09-15 17:56:21 +00:00
david
fdc2f96c8c Use http.get(host, port) in hadoop scripts.
As well as being shorter, this prevents connecting using a different
address family (e.g., IPv6 rather than IPv4) compared to doing this:
  http.get(host.targetname, port.number)
Patch by John Bond.

http://seclists.org/nmap-dev/2012/q2/637
2012-09-15 15:05:13 +00:00
dmiller
f97c8db5e8 Correct output for ssl-enum-ciphers against non-ssl
ssl-enum-ciphers was producing output against non-ssl services, listing
"least strength: strong" when there was no cipher matched. Fixed to
return nil in this case, and to clearly indicate when a protocol is
supported but does not support any of our ciphers (a very unlikely
situation! Had to artificially reduce attempted ciphers to test.)
2012-09-14 21:06:46 +00:00
dmiller
2f36d0b968 Fix date handling in ssl-cert
Was crashing on unparseable dates (example: "2147483647Z"). Now the
exact string is placed in structured output when it cannot be
normalized. Also, the structured-format timestamp is used for Normal
output for consistency; no timezone offset was previously displayed.
2012-09-13 20:23:07 +00:00
david
5cc7049402 Add structured output to http-auth.nse. 2012-09-13 03:01:18 +00:00
robert
a9d060cb43 Prevent tftp-enum from incorrectly setting the port as closed when an error occurred (e.g. timeout when port is filtered). 2012-09-12 09:27:51 +00:00
david
ba88cb4f5d Check for received packet in rpc-grind.nse.
The script was checking the returned data, but not the status. When
status is false, data is actually an error message. So in case of a
timeout, the script was receiving nil, "TIMEOUT" and interpreting
"TIMEOUT" as a response from the server. It looked like this:

Discovered open port 1434/udp on 127.0.0.1
NSE: rpc-grind: RPC checking function response data is not RPC.
NSE: Target port 1434 is not a RPC port.

This was reported by Christopher Clements.
http://seclists.org/nmap-dev/2012/q3/685
2012-09-11 00:39:04 +00:00
paulino
5071a66330 Fixes typo in output. 2012-09-10 23:33:14 +00:00
henri
f9881bab18 In hostrule: return false if mountport is nil (prevents from crashing when accessed as a table, a couple lines below). 2012-09-10 14:45:21 +00:00
henri
e255be0990 In hostrule: return false if mountport is nil (prevent from crashing when accessed as a table, a couple line below). 2012-09-10 14:11:38 +00:00
david
4d6f81122c Better break down structured output in smb-os-discovery.
smb.get_os already returns something that is fairly well structured, so
basically return that. Keep the "os" and "lanmanager" fields separate,
though they are combined as "os (lanmanager)" for normal output. Combine
"time" and "timezone" into a single "date" output.
2012-09-08 17:05:39 +00:00
david
87bce81b8c Use stdnse.format_timestamp in scripts that output structured dates. 2012-09-08 16:09:15 +00:00