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

487 Commits

Author SHA1 Message Date
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
david
5c6c52b77f CHANGELOG entry:
o A script could be executed twice if it was given with the --script
  option, also in the "version" category, and version detection (-sV)
  was requested. This has been fixed. [David]
2008-09-15 06:41:03 +00:00
fyodor
f55b9364ab Undo OpenSSL-in-rpms change for right now. My build systems don't have libkrb5.a, which is used by my openssl libraries and needed
to compile statically against them.  So I need to either build a libkrb5.a or a version of openssl which doesn't depend
on Kerberos.
2008-09-12 08:21:51 +00:00
fyodor
5dc35c62e4 Changelog updates in prep for 4.76 release 2008-09-12 05:50:27 +00:00
david
55bb052653 Fix a crash that could occur if an Nmap XML file has a trace element without
any hop elements inside. I don't know how that happened, but we got a crash
report.
2008-09-12 05:43:35 +00:00
fyodor
fb1c9ce619 o Nmap's Windows self-installer now correctly registers/deletes the
npf (Winpcap) service during install/uninstall. Also the silent
  install mode was improved to avoid a case where the Winpcap
  uninstaller was (non-silently) shown. [Rob Nicholls]
2008-09-11 19:41:13 +00:00
david
e83052588c Add CHANGELOG entries for recent Zenmap crash fixes and the "external" script
category.
2008-09-11 17:13:42 +00:00
fyodor
bb9ea123e2 o Nmap's Windows self-installer now checks whether the MS Visual C++
runtime components have already been installed to avoid running it
  again (which doesn't hurt anything, but slows down
  installation). [Rob Nicholls]
2008-09-09 07:26:53 +00:00
david
f3d8cf7674 Build RPMs with OpenSSL support. nmap.spec.in says --with-openssl explicitly,
because I want it to fail if OpenSSL isn't available, but it doesn't do that
yet.
2008-09-08 23:08:18 +00:00
david
da19b9a23d Fix an assertion failure where raw TCP timing ping probes were wrongly used
during a TCP connect scan:
nmap: scan_engine.cc:2843: UltraProbe* sendIPScanProbe(UltraScanInfo*, HostScanStats*, const probespec*, u8, u8): Assertion `USI->scantype != CONNECT_SCAN' failed.
2008-09-08 15:53:32 +00:00
fyodor
e274744d8c Update Nmap version num 2008-09-08 03:32:48 +00:00
david
b776dedf67 Remove a duplicate CHANGELOG entry. 2008-09-07 08:28:13 +00:00
fyodor
c3b6ddcd8f r10000 milestone 2008-09-06 08:03:00 +00:00
fyodor
8ea3f0ae6d Whew! Major update to the CHANGELOG in preparation for a new release 2008-09-06 05:13:20 +00:00
david
dbf8869a8c Document the Zenmap bug fix from r9997 in the CHANGELOG.
o A bug was fixed in Zenmap where clicking "Cancel" in a file chooser
  in the diff interface would cause a crash.
2008-09-06 04:50:00 +00:00
david
40d78569d2 Use the cached timing ping probe as the traceroute probe in all situations. 2008-09-06 04:12:34 +00:00
david
205e7ab28b Add the latest ASN.nse script. This version uses the new Nmap-specific query
servers, groups output intelligently, and supports IPv6. See sample output at
http://seclists.org/nmap-dev/2008/q3/0675.html.
2008-09-06 02:47:46 +00:00
fyodor
dd1e76c2a7 o Added whois.nse, which queries the Regional Internet Registries
(RIRs) to determine who the target IP addresses are assigned
  to. [Jah]
2008-09-05 18:43:27 +00:00
fyodor
3dc23f0c5a Updated CHANGELOG for latest Nmap changes, still need to go through Zenmap, Nbase, and Nsock changes 2008-09-05 07:27:28 +00:00
david
b3eddfe90a Remove the nselib-bin directory. Almost all references to it have been removed
too. The section in scripting.xml about creating C modules is gone. (But maybe
it should be replaced with a tutorial on making static modules?) The only
places where nselib-bin is still referenced are in mswin32/nsis/Nmap.nsi, where
it is still removed on uninstallation; and in mswin32/nmap.vcproj, from where I
don't have the resources now to remove it.
2008-09-05 05:32:06 +00:00
fyodor
f49082d2bf Clarify and reorder CHANGELOG entries in prep for next release. More work is still needed 2008-09-05 04:27:36 +00:00
fyodor
27374d6531 Add the new port frequency features to the CHANGELOG 2008-09-05 02:49:51 +00:00
fyodor
1d85a02324 partial merge r9957 in bhdc08: nmap-services port frequency format has been changed to use percentage ratios in the file rather than fractional format (though the latter is still accepted) 2008-09-05 02:06:29 +00:00
fyodor
2ba3a3878d o Added dns-safe-recursion-port and dns-safe-recursion-txid (non
default NSE scripts) which use the 3rd party dns-oarc.net to test
  the source port and transaction ID randomness of a discovered DNS
  server (assuming it allows recursion at all).  These scripts were
  contributed by Brandon Enright.
2008-09-05 02:04:07 +00:00