Commit graph

510 commits

Author SHA1 Message Date
david
34db08b94b Add to CHANGELOG:
o Zenmap now runs ndiff to do its "Compare Results" function. This
  completely replaces the old diff view. ndiff is now required to do
  comparisons in Zenmap. [David]
2008-11-25 20:39:20 +00:00
kris
5be831f06f o Fixed a bug in the IP validation code which would have let a specially
crafted reply sent from a host on the same LAN slip through and cause
  Nmap to segfault.  Thanks to ithilgore of sock-raw.homeunix.org for
  the very detailed bug report. [Kris]
2008-11-21 16:17:11 +00:00
david
5a50254080 Make the Zenmap crash reporter more respectful of privacy. Allow editing of all
information in the report and make reports containing an email address private.
2008-11-21 03:30:08 +00:00
david
179a461fe9 Fix Zenmap internationalization. This involved renaming some files to be in the
"zenmap" translation domain rather than the "umit" one, and changing a little
bit of gettext code. The only translation available is pt_BR inherited from
Umit.
2008-11-21 00:51:38 +00:00
batrick
0f28f2818b Fixed host.os table to be a 1 based array rather than 0 based. 2008-11-20 20:30:43 +00:00
david
a52ba00a92 o [Zenmap] Zenmap now parses and records XSL stylesheet information
from Nmap XML files, so files saved by Zenmap will be viewable in a
  web browser just like those produced by Nmap.
2008-11-20 18:44:41 +00:00
david
a6b78f7bd4 Add to CHANGELOG:
o A possible Lua stack overflow in dns.lua was fixed. [David]
2008-11-20 00:09:39 +00:00
david
46210e8db0 Add to CHANGELOG:
o The NSE registry now persists across host groups. [David]
2008-11-19 02:29:59 +00:00
ron
8e89a0e217 updated scriptdb/CHANGELOG, renamed smb-checkvulns.nse to nse-check-vulns.nse for consistency with the new naming standard 2008-11-10 19:06:50 +00:00
fyodor
df4cda5161 Note new man page translation by Guz Alexander 2008-11-08 22:47:08 +00:00
david
f42b6c84c5 Add a workaround for a mysterious crash under Mac OS X 10.5. If importing the
gtk module raises an exception, attempt to import it once more. For unknown
reasons, in certain circumstances Apple's X11 will reject the first connection
but accept the second and any later connections. It happens when the user has
set DISPLAY in one of his shell startup files, which I think is common for
people who upgraded from 10.4.
2008-11-07 20:41:47 +00:00
david
e8adfb9599 o http-auth.nse now properly checks for default authentication
credentials. A bug prevented it from working before. [Vlatko
  Kosturjak]
2008-11-07 17:16:20 +00:00
fyodor
c73dfd173a o Renamed irc-zombie.nse to auth-spoof and improved its description
and output a bit. [Fyodor]
2008-11-06 21:58:29 +00:00
david
6fbc8868a9 Rename scripts (almost all of them) to make their names more consistent and
make them look better in output. The full list of changes is
  anonFTP => ftp-anon
  ASN => asn-query
  brutePOP3 => pop3-brute
  bruteTelnet => telnet-brute
  daytimeTest => daytime
  dns-safe-recursion-port => dns-random-srcport
  dns-safe-recursion-txid => dns-random-txid
  dns-test-open-recursion => dns-recursion
  ftpbounce => ftp-bounce
  HTTPAuth => http-auth
  HTTP_open_proxy => http-open-proxy
  HTTPpasswd => http-passwd
  HTTPtrace => http-trace
  iax2Detect => iax2-version
  ircServerInfo => irc-info
  ircZombieTest => irc-zombie
  MSSQLm => ms-sql-info
  MySQLinfo => mysql-info
  popcapa => pop3-capabilities
  PPTPversion => pptp-version
  promiscuous => sniffer-detect
  RealVNC_auth_bypass => realvnc-auth-bypass
  robots => robots.txt
  showHTMLTitle => html-title
  showOwner => identd-owners
  skype_v2-version => skypev2-version
  smb-enumdomains => smb-enum-domains
  smb-enumsessions => smb-enum-sessions
  smb-enumshares => smb-enum-shares
  smb-enumusers => smb-enum-users
  smb-serverstats => smb-server-stats
  smb-systeminfo => smb-system-info
  SMTPcommands => smtp-commands
  SMTP_openrelay_test => smtp-open-relay
  SNMPcommunitybrute => snmp-brute
  SNMPsysdescr => snmp-sysdescr
  SQLInject => sql-injection
  SSH-hostkey => ssh-hostkey
  SSHv1-support => sshv1
  SSLv2-support => sslv2
  strangeSMTPport => smtp-strangeport
  UPnP-info => upnp-info
  xamppDefaultPass => xampp-default-auth
  zoneTrans => zone-transfer
2008-11-06 02:52:59 +00:00
fyodor
ddf146cb30 o Removed ripeQuery.nse because we now have the much more robust
whois.nse which handles all the major registries. [Fyodor]
2008-11-06 01:09:05 +00:00
david
bd85cb8795 Update CHANGELOG with new smb scripts. 2008-11-04 19:16:57 +00:00
fyodor
c22c9ca885 o Removed showSSHVersion.nse. Its only real claim to fame was the
ability to trick some SSH servers (including at least OpenSSH
  4.3p2-9etch3) into not logging the connection.  This trick doesn't
  seem to work with newer versions of OpenSSH, as my
  openssh-server-4.7p1-4.fc8 does log the connection. Without the
  stealth advantage, the script has no real benefit over version
  detection or the upcoming banner grabbing script. [Fyodor]
2008-11-04 05:04:12 +00:00
david
651cb6e486 Allow dns.get_servers to return a list of known DNS servers even when IPv6
scanning, when system DNS resolution is used. This makes ASN.nse work for IPv6.
See the thread at http://seclists.org/nmap-dev/2008/q4/0081.html.
2008-11-02 20:32:26 +00:00
kris
c51f495a84 o The SSLv2-support NSE script no longer prints duplicate cyphers if
they exist in the server's supported cypher list.
2008-10-29 22:58:06 +00:00
kris
8c18093110 update ip_is_reserved(): 197/8 allocated 2008-10-27 21:28:57 +00:00
david
e24e94c251 Add a workaround in NmapParser.py for a bug in PyXML, an add-on Python
XML library. We say
	if attrs.has_key("nmap_output"):
rather than
	if "nmap_output" in attrs:
because at least some versions of PyXML don't implement the __contains__
method. See http://mail.python.org/pipermail/xml-sig/2006-December/011627.html.
2008-10-27 15:05:19 +00:00
kris
98ee3211f2 Fixing port numbers in output. The "%hi" conversion modifier was being used
which treats port numbers as signed shorts, and this caused high ports numbers
to wrap around and be shown as negative.
2008-10-24 00:48:19 +00:00
fyodor
f6fb4d971c o Removed some unecessary "demo" category NSE scripts: echoTest,
chargenTest, showHTTPVersion, and showSMTPVersion.nse.  Moved
  daytimeTest from the "demo" category to "discovery".  Removed
  showHTMLTitle from the "demo" category, but it remains in the
  "default" and "safe" categories. This leaves just showSSHVersion and
  SMTP_openrelay in the undocumented "demo" category. [Fyodor]
2008-10-20 22:54:43 +00:00
david
5a34d64f8e Fix a test condition in the ICMP response checking code for ping scans. A test
that should have fired whenever !USI->ptech.rawprotoscan wrongly had the
additional condition && o.debugging, meaning that it worked properly only when
debugging was enabled. See http://seclists.org/nmap-dev/2008/q4/0130.html and
http://seclists.org/nmap-dev/2008/q4/0206.html for problem reports.
2008-10-20 16:52:42 +00:00
david
02d35294c3 Change the Zenmap keyboard shortcut for "Save to Directory" from Ctrl+v to
Ctrl+Alt+s so as not to conflict with the usual paste shortcut. Suggestion by
Michael, patch by Jah.
2008-10-20 02:56:10 +00:00
david
7c32907cac Make Nmap quit when it gets a "backwards" port range like -p 20-10. 2008-10-20 01:58:58 +00:00
fyodor
2c650269ec o Fixed a bug which caused Nmap to infer an improper distance against
some hosts when performaing OS detection against a group whose
  distance varies between members. [David, Fyodor]
2008-10-17 21:20:52 +00:00
fyodor
3415425322 applied a bunch of spelling/typo fixes sent in by Armin Mueller 2008-10-16 20:24:38 +00:00
sven
b9d76ac933 add changelog entry for new openssl NSE library 2008-10-10 07:08:41 +00:00
david
70bfb42915 Add to CHANGELOG:
o [Zenmap] Host information windows are now like any other windows,
  and will not become unclosable by having their controls offscreen.
  Thanks to Robert Mead for the bug report.
2008-10-08 21:00:23 +00:00
david
ac19339d5f o showHTMLTitle.nse can now follow (non-standard) relative redirects,
and may do a DNS lookup to find if the redirected-to host has the
  same IP address as the scanned host. [Jah]
2008-10-05 23:46:22 +00:00
david
ae7455279e Add a new msrpc.lua module, plus new scripts smb-enumdomains.nse,
smb-enumshares.nse, and smb-enumusers.nse. Also enhance the netbios.lua and
smb.lua modules. Remove the smb-enum.nse script. All these changes are from Ron
Bowes.
2008-10-04 21:58:39 +00:00
sven
565a5ee3ed o Enhanced the tohex() function in the NSE stdnse library to support strings
and added options to control the formatting. [Sven]
2008-10-03 19:55:58 +00:00
david
d8e40a3546 Add Sven's modifications to http.lua. In his words:
It is unnecessary to prefer targetname over the ip in the request()
function since host is only passed to socket:connect() which would have to
resolve the targetname back to the ip.
I've rewritten the header/body separation to use a single regex which
should do the same as your code and since the first match is non-greedy
should always prefer the shorter version.
I've done something similar for the header splitting.
I've removed the type checks for header and body since they are always
strings.
2008-10-03 15:43:38 +00:00
david
ebaf939f5f Make the http NSE module better handle different delimiters in the headers of
messages (and in the body when chunked encoding is used). The patch is from
jah.
2008-10-03 01:00:55 +00:00
david
168e38357e When launching Zenmap's help, properly convert the pathname of the local help
file to a URL, using "file:///C|/Program Files/..." rather than
"file://C:\Program Files\...". This is apparently needed by some web browsers.
2008-10-02 17:12:28 +00:00
david
1b4782d9df Add a missing word "script" in CHANGELOG. 2008-10-02 17:06:47 +00:00
david
08c98a26e6 Update HTTP_open_proxy.nse to use Google Web Server's changed header field:
"Server: gws" instead of "Server: GWS/". The patch is based on one from Vlatko
Kosturjak. Sven suggested a better portrule.
2008-10-02 16:11:22 +00:00
sven
1444e02a86 apply Matt Selsky's patch for ssh version detection signatures to properly detect daemons only supporting protocol version 2 2008-10-01 21:05:03 +00:00
david
87c6a7ef50 Make Zenmap's Nmap output viewer automatically scroll. 2008-10-01 20:49:18 +00:00
david
ed2616909b Use a file:// URL for the XML stylesheet in XML output. 2008-09-29 15:59:56 +00:00
kris
74e98e3beb o Reduced memory consumption for some longer running scans by removing
completed hosts from the lists after two minutes.  These hosts are
  kept around in case there is a late response, but this draws the
  line on how long we wait and hence keep this information in memory.
  See http://seclists.org/nmap-dev/2008/q3/0902.html for more.
2008-09-24 19:37:06 +00:00
david
0359cb8f14 Use nmap_fetchfile to find nmap.xsl so the full path to nmap.xsl will be
included in XML output on Windows. This also makes the location of nmap.xsl
depend on NMAPDIR, --datadir, etc., rather than being hard-coded.
2008-09-24 19:15:22 +00:00
david
accd2832db Add to CHANGELOG:
o Zenmap no longer outputs XML elements and attributes that are not in
  the Nmap XML DTD. This was done mostly by removing things from
  Zenmap's output, and adding a few new optional things to the Nmap
  DTD. A scan's profile name, host comments, and interactive text
  output are what were added to nmap.dtd. The .usr filename extension
  for saved Zenmap files is deprecated in favor of the .xml extension
  commonly used with Nmap. Because of these changes the
  xmloutputversion has been increased to 1.03. [David]
2008-09-20 00:00:23 +00:00
david
e31c785713 Add to CHANGELOG:
o Added the Ndiff utility, which compares the results of Nmap scans.
  See ndiff/README and http://nmap.org/ndiff/ for more
  information. [David]

o Fixed an integer overflow that could cause the scan delay to grow
  large for no reason in some circumstances. [David]
2008-09-19 17:19:11 +00:00
kris
d23556c513 Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
kris
89cc8091ba Upgrading shipped OpenSSL for Windows to 0.9.8i, which contains
some bug fixes and precautionary measures.  A 0.9.9 release is
already mentioned in their online changelog (with a whole lot
of entries), but there is no set release date that I've seen.

Tested on XP with Nmap and Ncat.
2008-09-18 21:47:45 +00:00
david
844467d410 Add jah's enhanced ASN.nse that consolidates answers and gives up if the DNS
server is uncooperative.
2008-09-16 17:35:44 +00:00
david
3121ac156d Make DNS timeouts dependent on the timing template. Patch by jah. See
http://seclists.org/nmap-dev/2008/q3/0702.html.
2008-09-15 18:56:54 +00:00
david
9eff25bbc4 Add Ron Bowes's netbios and smb NSE modules and new scripts that use them. They
were introduced in http://seclists.org/nmap-dev/2008/q3/0827.html.
2008-09-15 17:58:38 +00:00