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

5148 Commits

Author SHA1 Message Date
david
db50d964d4 Update firewalk.nse: add max-probed-ports argument and use
stdnse.get_timespec to parse time specifications.
2011-02-22 02:51:06 +00:00
david
da4a064291 Update firewalk.nse by Henri Doreau. (firewalk-path version from
http://seclists.org/nmap-dev/2011/q1/63.)
2011-02-22 02:51:04 +00:00
david
c3ab2d5ea4 Create a shortport.ssl function like shortport.http. Use it in ssl
scripts.
2011-02-22 00:46:28 +00:00
david
0b4de98d24 Whitespace. 2011-02-21 22:59:34 +00:00
patrik
562ee68df0 Applied patch recieved from Josh Amishav-Zlatin that addresses the problem
with the 550 User Unkown message being handled incorrectly as described here:
http://seclists.org/nmap-dev/2011/q1/585
http://seclists.org/nmap-dev/2011/q1/511
[Patrik]
2011-02-20 20:49:58 +00:00
david
38acaa80e5 Change a literal hostname in an ftp service match into a pattern. This
was probably accidentally left in during integration.
2011-02-19 00:38:55 +00:00
tomsellers
4d3a2ecef9 Consolidated and grouped matchlines related to the FTP service on
Lexmark (and rebranded) laser printers.  There was a near perfect
matchline that was being skipped due to an extra \d in the capture
pattern.  I moved it down with some others, removed some lines that
had included in the hostname and model in the discrete text and 
expanded the hostname match character set.

The format for the banner is:

220 <hostname> Lexmark <model> FTP Server <firmware revision> ready.
2011-02-19 00:24:37 +00:00
tomsellers
4c13add811 2011-02-19 00:08:10 +00:00
tomsellers
73a4a10769 Consistency change - edited all Apache TomCat related matchlines
to return "Apache Tomcat" as opposed to being split between "Apache Tomcat"
and "Apache Tomcat httpd".  Tomcat can run on top of Apache HTTPD, Microsoft
IIS, and Apache Coyote. - Tom
2011-02-19 00:01:32 +00:00
tomsellers
916ddc73f8 Adding three match lines for two embedded device httpd:
Tridium Niagara httpd - embedded control systems, HVAC, etc
   http://www.tridium.com/

Knoplerfish - various devices, included printers
   http://www.knopflerfish.org/
2011-02-18 23:55:04 +00:00
tomsellers
abeaffea33 Minor changes to nmap-service-probes to improve consistency with naming
Trend Micro products.
2011-02-18 23:47:47 +00:00
fyodor
46fc6b8f4c Update nmap-mac-prefis to include latest data from IEEE 2011-02-18 02:05:26 +00:00
djalal
0a9764709f Use the correct script name in the usage example of the smtp-enum-users. Reported by Jamuse, who also contributed the patch. 2011-02-17 18:41:51 +00:00
djalal
508fe849f9 Call nsock_dist_clean before nbase_dist_clean. 2011-02-16 19:54:43 +00:00
tomsellers
01bbf58b67 Fixed an undeclared variable. 2011-02-16 00:25:40 +00:00
tomsellers
c8fb3889e6 Addressed a condition in db2-das-info.nse where the script would crash
if the DB2 DAS service had discovery mode disabled.  While the service
would be listening, the data would be in an unexpected format.  This 
caused the script to crash at line 412 when it tried to extract the 
server profile from the DB2 response (db2response.info variable).

I will likely tweak the hard setting of the ports in the block that
follows after I perform more testing to verify that it behaves as
expected - Tom
2011-02-16 00:13:38 +00:00
tomsellers
972a72e130 Add a softmatch line for SMTP returning a 550 code as well as a
x.x.x format error code.  Discovered on Cisco gear but other SMTP
services may use the format as well. - Tom
2011-02-15 23:44:47 +00:00
david
bf99fb231b Check that the argument to freeaddrinfo is not NULL. The behavior may be
unspecified and causes a segmentation fault on Android Bionic libc.
Vlatko fixed the bug in his Android binaries and it was first reported
by @alexismm2.
2011-02-15 08:19:58 +00:00
djalal
f8b55e3253 Make the use of the SCRIPT_TYPE environment variable clearer. 2011-02-14 21:04:52 +00:00
fyodor
22f528cd3f Add a small task 2011-02-14 08:20:04 +00:00
fyodor
c901881496 Make the uninstaller properly delete nping.exe (also updates version number, but that was incidental as part of the build script) 2011-02-14 07:52:01 +00:00
david
cdea9d6e15 Do an fs_enc on the unicode file name before handing it to write_to_png
in the topology viewer. pycairo 1.8.10 and earlier have a bug where a
unicode string results in an exception. Alex Kah found the error.
2011-02-13 03:29:16 +00:00
david
cb0a5e1476 Merge CHANGELOG changes from /nmap-releases/5.51. 2011-02-12 04:08:14 +00:00
david
4c358b171a Back-merge r22229:22234 from /nmap-releases/5.51.
------------------------------------------------------------------------
  r22234 | david | 2011-02-11 14:33:33 -0800 (Fri, 11 Feb 2011) | 4 lines
  
  Add an openssl guard around the require of tns in oracle-brute and
  oracle-enum-users. The tns library makes a call to
  openssl.rand_pseudo_bytes at its top level.
  
  ------------------------------------------------------------------------
  r22232 | david | 2011-02-11 14:28:18 -0800 (Fri, 11 Feb 2011) | 4 lines
  
  Put an openssl guard around the importing of ssh2 in
  ssh2-enum-algos.nse. Otherwise it fail in --script-updatedb when
  configured --without-openssl.
  
  ------------------------------------------------------------------------
  r22230 | david | 2011-02-11 13:38:49 -0800 (Fri, 11 Feb 2011) | 3 lines
  
  Allow whitespace at the end of the go_to_host pattern. On Windows,
  there's a '\r' at the end of the string, so the pattern didn't match.
2011-02-11 23:09:04 +00:00
david
53185e3636 Add --no-relocate to the packagemaker command line to prevent the
installer from installing Zenmap.app straight back into the build
directory that it came from.
2011-02-11 23:01:30 +00:00
djalal
6f57ba85ea Remove get_target() and get_port() function declaration from the nse_nmaplib.h since they are already declared in the nse_utility.h 2011-02-10 08:45:50 +00:00
david
7f7c78ad96 Fix a bug in Windows interface matching. The code was supposed to check if a
MAC address matched the expected address, and if so, take that as a preliminary
match before checking the description string for a stronger match. But if
retrieving the the MAC address failed completely, it was still being accepted
as a preliminary match, and would prevent later matches with only the MAC
address from being accepted.
2011-02-10 05:52:22 +00:00
patrik
e94bdc7f5f Updated all ms-sql scripts to use proper script name argument prefixes with
fallback to old argument names. [Patrik]
2011-02-09 20:48:42 +00:00
patrik
b3a3501190 Changed the script documentation in order to reflect the recent change of the
ms-sql-xp-cmdshell.cmd parameter.
2011-02-09 16:28:23 +00:00
patrik
3f15b93e98 Fixed typo in ms-sql-xp-cmdshell.cmd argument. Changed from mssql-xp-cmdshell
to ms-sql-xp-cmdshell. [Patrik]
2011-02-09 16:25:42 +00:00
tomsellers
21ee742ca3 Addition Tomcat/Coyote match line to capture Tomcat version data
when the server provides it.
2011-02-09 11:55:02 +00:00
ron
d33c79c65f Removed some duplicate shares for bruteforcing, alphabetized the list, and added TEMP and SHARE - all thanks to Chris Woodbury's suggestions 2011-02-09 04:22:15 +00:00
fyodor
943f720292 a few changes from chat w/David 2011-02-08 20:14:29 +00:00
david
7cf032563d o The -V and --version options now show the platform Nmap was compiled
on, which features are compiled in, and the version numbers of
  libraries it is linked against. [Ambarisha B., David]
2011-02-08 19:50:13 +00:00
david
ae4ad5de25 Add NSE TODO, DNSSEC enumeration script. 2011-02-04 17:02:50 +00:00
david
ac4fc3c2b8 New NSE TODO. 2011-02-04 08:46:16 +00:00
david
31935a45d4 o [NSE] Fixed some portrules that used shortport functions incorrectly
and always returned true in dns-zone-transfer and
  ftp-proftpd-backdoor. [Jost Krieger]
2011-02-04 08:46:14 +00:00
kris
740318cee9 Updating ip_is_reserved(): the last IPv4 address blocks (102-104/8, 179/8 and
185/8) have been allocated to the RIRs
2011-02-04 03:06:57 +00:00
david
cd9d6a9fc4 Add status and address to the list of elements that can be diffed. Patch
by Daniel Miller.
2011-02-03 04:53:06 +00:00
david
173027cf0d Factor out code that formats a script result diffs. 2011-02-03 04:53:04 +00:00
david
98daa69d41 Add support for prerule and postrule scripts to Ndiff. 2011-02-03 04:53:03 +00:00
david
bb07ca0b57 Limit exception catching to IOError; i.e., missing files. I much prefer
to get a stack trace in most situations.
2011-02-03 04:53:01 +00:00
david
4c649d481b Fix ordering of hostscript diff elements when either side of the diff
doesn't have any. Patch by Daniel Miller.
2011-02-03 04:52:59 +00:00
david
5e3c5d8eca Fix typos in nmap.dtd: (prescript, postscript) not (prescripts,
postscripts).
2011-02-03 04:52:57 +00:00
david
c68449d5b3 CHANGELOG:
o [NSE] Fixed a bug in the nrpe-enum script that would make it run for
  every port (when it was selected, which it was not by default).
  Daniel Miller reported the bug. [Patrick]
2011-02-01 21:28:06 +00:00
david
21113fdfa9 Fix the nrpe-enum portrule. It was returning a function, thus always
true.
2011-02-01 21:25:46 +00:00
david
47030f71db o [NSE] Made it a controlled Lua stack trace instead of a fatal error
when an NSE script sets a negative socket timeout. Vlatko Kosturjak
  reported the bug. [David]
2011-02-01 21:20:29 +00:00
fyodor
06b988353a Some changes from weekly chat w/David 2011-02-01 20:24:08 +00:00
david
84c4899414 In snmp-interfaces.nse, move the check for the required script argument
snmp-interfaces.host into the prerule and out of the action. Otherwise,
being default, this is the only script that runs during the prescan by
default.
2011-02-01 18:16:28 +00:00
david
b1e3114eca Move the "Script Pre-scanning", "Script scanning", and "Script
Post-scanning" messages to inside the run function, so they can be
printed only after we're sure we have at least one thread to run.
2011-02-01 18:16:27 +00:00