1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-14 09:26:35 +00:00
Commit Graph

354 Commits

Author SHA1 Message Date
kris
ca5848efdb Updating ip_is_reserved(): 112/8 and 113/8 were allocated to APNIC 2008-05-27 18:31:26 +00:00
kris
ee876ada98 o Replaced kibuvDetection.nse with version detection match lines which
work better than the script. [Kris, Brandon]
2008-05-25 23:30:21 +00:00
fyodor
71a29d4e2d o Fixed a bug in the showOwner NSE script which caused it to try UDP
ports instead of just TCP ports.  This made it very slow in the
  common case where there are many UDP ports in the open|filtered
  state.  Thanks to Jason DePriest for reporting the problem and Jah
  for tracking it down and fixing it.
2008-05-25 01:38:48 +00:00
david
be46ec3054 Add to CHANGELOG:
o A bug was fixed that could cause Zenmap to crash when loading a
  results file that had multibyte characters in it. The error looked 
  like
    Gtk-ERROR **: file gtktextsegment.c: line 196 (_gtk_char_segment_new): assertion failed: (gtk_text_byte_begins_utf8_char (text))
2008-05-23 04:41:22 +00:00
david
48fd27a00d Announce the Mac OS X binary packages in CHANGELOG and give credit to the two
most active testers.
2008-05-22 15:05:06 +00:00
david
8663003c36 The NSE HTTP library now uses the host name specified on the command
line when making requests, which improves script scanning against web
servers with virtual hosts. Thanks to Sven Klemm for the patch.
2008-05-20 06:13:26 +00:00
david
fac8d52c1c Remove a test for the existence of $CXX in configure.ac. This was already done
better by AC_PROG_CXX and caused a failure when configured with ccache:

CXX="ccache /usr/bin/g++-4.0" ./configure
checking build system type... i386-apple-darwin9.2.2 
checking host system type... i386-apple-darwin9.2.2 
checking for gcc... ccache /usr/bin/gcc-4.0 
checking for C compiler default output file name... a.out 
checking whether the C compiler works... yes 
checking whether we are cross compiling... no 
checking for suffix of executables... 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether ccache /usr/bin/gcc-4.0 accepts -g... yes 
checking for ccache /usr/bin/gcc-4.0 option to accept ISO C89... none needed 
checking for inline... inline 
checking for gcc... (cached) ccache /usr/bin/gcc-4.0 
checking whether we are using the GNU C compiler... (cached) yes 
checking whether ccache /usr/bin/gcc-4.0 accepts -g... (cached) yes 
checking for ccache /usr/bin/gcc-4.0 option to accept ISO C89... 
(cached) none needed 
checking whether we are using the GNU C++ compiler... yes 
checking whether ccache /usr/bin/g++-4.0 accepts -g... yes 
checking for ccache /usr/bin/g++-4.0... MISSING 
configure: error: Could not locate a C++ compiler. If it exists, add it 
to your PATH or give configure the CXX=path_to_compiler argument. 
Otherwise, install a C++ compiler such as g++ or install a binary 
package of Nmap (see http://nmap.org/download.html ))
2008-05-20 05:31:53 +00:00
kris
7d38c4dc6e o Nmap now understands the RFC 4007 percent syntax for IPv6 Zone IDs.
On Windows, this ID has to be a numeric index.  On Linux and some
  other OS's, this ID can instead be an interface name.  Some examples
  of this syntax:
    fe80::20f:b0ff:fec6:15af%2
    fe80::20f:b0ff:fec6:15af%eth0

This was a lot simpler than the method I previously implemented and posted
to nmap-dev.  Now I just extract the zone ID from the already available
getaddrinfo() data rather than parsing it out myself.
2008-05-20 05:21:29 +00:00
michael
b32c2df695 Here is the updated changelog for my preceeding patch. 2008-05-15 22:44:50 +00:00
jurand
0708d3144d Fixed the nmap_command_path bug in Zenmap. The variable now actually accesses the nmap_command_path in zenmap.conf file. It is
accessed by a new class in UmitConf called PathsConfig, which represents the [paths] section in zenmap.conf. [Jurand Nogiec]
2008-05-15 21:10:20 +00:00
kris
abe470fba8 Change SSLv2-support.nse to only print cipher list if verbosity>=2 or debugging>0 2008-05-14 04:08:07 +00:00
kris
48a8bd757c Removing mswindowsShell.nse--there is a version detection match to accomplish the same thing 2008-05-10 20:52:16 +00:00
fyodor
e843583ef3 o Nmap now reports scan start and end times for individual hosts
within a larger scan. The information is added to the XML host
  element like so: [host starttime="1198292349" endtime="1198292370"]
  (but of couse with angle brackets rather than square ones).  It is
  also printed in normal output if -d or "-v -v" are
  specified. [Brandon, Kris, Fyodor]
2008-05-09 05:21:44 +00:00
david
ce83ee9a43 Add to CHANGELOG:
o "make uninstall" now uninstalls Zenmap as well. The uninstall_zenmap
  script now deletes directories that were installed. [David]
2008-05-07 18:25:12 +00:00
fyodor
bad1caa2e0 o Fixed a bug which caused Nmap to send bad checksums on Solaris 10
x86.  This was due to a workaround for an Ancient Solaris 2.1 bug
  which activated when the OS string matched "solaris2.1*".  The
  problem has now been resolved until Solaris 20 comes out and hits
  our "solaris2.2*" bug workarounds. Thanks to Nathan Bills for the
  problem report.  Fixed by Fyodor.
2008-05-06 23:28:34 +00:00
bmenrigh
65c650382f Simple typeo (XP->Vista) fix 2008-05-06 07:32:44 +00:00
fyodor
5e8515e5fd o We now compile in IPv6 support on Windows. In order to use this,
you need to have IPv6 set up.  It is installed by default on XP, but
  must be downloaded from MS for XP.  See
  http://www.microsoft.com/technet/network/ipv6/ipv6faq.mspx . [Kris]
2008-05-06 07:16:38 +00:00
david
298fe63173 Add to CHANGELOG:
o The Zenmap installer and uninstaller are more careful about escaping
  filenames and dealing with an installation root (DESTDIR). [David]
2008-05-05 17:33:23 +00:00
fyodor
d622c98e4b o Fix a couple bugs in the way the Nmap built system checked for an
existing LUA library.  A bashism caused one test to fail on system
  which don't use bash as /bin/sh, and another bug fixed --with-liblua
  configure option for specifying your own liblua. [Daniel
  Roethlisberger]
2008-05-04 19:27:34 +00:00
kris
85edc7a005 Merging over from /nmap-exp/kris/assert-testing
Ensuring the safety of assert() calls by keeping NDEBUG undefined throughout
Nmap, Nbase and Nsock.

I've tested this on Linux and Windows XP without problems.  On Windows I've
removed the definitions of _DEBUG and NDEBUG from the *.vcproj files.
2008-05-03 17:58:48 +00:00
fyodor
ce040e2431 Finish CHANGELOG for upcoming 4.62 release 2008-05-03 08:22:18 +00:00
fyodor
1007c60d5a o Added release dates for each version to this CHANGELOG going back to
Nmap 3.00 (July 31, 2002).  Dates are in MM/DD/YY format.  If someone
  wants to track down dates for the last 22% of the file (pre-3.00), you
  are welcome to do so and send a patch.  Searching Google for the
  version number and site:seclists.org seems to work well.

o Also started the process of preparing changelog for next release.
2008-05-03 06:19:49 +00:00
fyodor
06a1d3a8b8 changelog entry for get_random_bytes fix 2008-04-24 03:26:38 +00:00
david
f8b3f905c7 Add the printStatusMessage fix to CHANGELOG. 2008-04-23 22:44:39 +00:00
david
64b7e255ef Add the segmentation fault fix from zenmap r7176 to the CHANGELOG. 2008-04-22 18:35:12 +00:00
kris
44a4cb90e6 Fixing the assertion failure: "Target.cc:396: void Target::stopTimeOutClock(const timeval*): Assertion 'htn.toclock_running == true' failed." This was caused when a target had scripts in multiple run levels. The problem was the time-out clocks added for --host-timeout support in NSE (r6657--appears to be present since 4.52). Now the time-out clocks are started before each runlevel execution, which (besides not failing assert) makes more sense because the timer would have been counting even when the target had no scripts in the current runlevel. 2008-04-16 17:56:48 +00:00
fyodor
f2938a2d37 o Fixed the NmapArpCache so that it actually works. Previously, Nmap
was always falling back to the system ARP cache. Of course this
  raises the question of whether NmapArpCache is needed in the first
  place. [Daniel Roethlisberger]
2008-04-14 23:55:25 +00:00
david
7f910924ec Mention the removal of tcpsequence class in the CHANGELOG, and bump the XML output version to 1.02. 2008-04-11 19:33:49 +00:00
fyodor
5551c5a311 o Fixed a bunch of code to avoid compilation warning messages (at
least on some Linux machines) [Andrew J. Bennieston]
2008-04-09 02:11:20 +00:00
kris
fa9bd6be6e Allow unfiltered ports to be selected in NSE 2008-04-09 01:54:14 +00:00
fyodor
f2ebfdecba o Fixed a bug on Win32 problem which caused an infinite loop when Nmap
encountered certain broadcast addresses. [Dudi Itzhakov]
2008-04-09 00:07:20 +00:00
kris
43523f441b Correcting the uptime parsing and reporting in SNMPsysdesr.nse when the uptime is less than about 46 hours. The amount of bytes holding the uptime is variable up to 4, but the script was assuming it always held 4 bytes of uptime. When the real uptime was less than 46 hours, this script was reporting an uptime anywhere from 5 days to 130 days (I think it actually reported 0 days once, but the hours were all messed up). 2008-04-08 14:58:17 +00:00
kris
425d6afdab Adding more PCRE option flags to the list returned by the NSE pcre.flags() function. This is up-to-date as of PCRE 7.6 2008-04-06 00:01:33 +00:00
fyodor
20143ece6f add MingW compilation fix 2008-04-04 19:11:19 +00:00
kris
8530569047 Adding my Datafiles NSElib for parsing the nmap-* data files for scripts and also update rpcinfo.nse to use this library. Includes CHANGELOG and docs/scripting.xml updates 2008-03-30 20:33:33 +00:00
kris
5f81cca485 When using the NSE nmap.set_port_state(), check if the requested port is already in the requested state. Otherwise, "Duplicate port" messages are printed, and the inaccurate "script-set" state reason is used. This mostly just occurs when -sV is used (I first spotted this when using Brandon's nbstat.nse with -sV, although other scripts do the same thing) 2008-03-27 22:15:50 +00:00
kris
60924c7308 update ripeQuery.nse to not print extraneous beginning whitespace 2008-03-27 18:08:42 +00:00
david
9186e84358 Add --min-rate to CHANGELOG. 2008-03-26 02:50:48 +00:00
fyodor
70eac662f4 o Reformat Nmap COPYING file (e.g. remove C comment markers, reduce
line length) during Nmap windows build so that it looks much better
  when presented by the Windows executable (NSIS) installer.  Thanks
  to Jah for the patch (which was modified slightly by Fyodor).
2008-03-21 01:05:09 +00:00
fyodor
1c785a2e50 o Updated to latest (as of 3/15) autoconf config.sub/config.guess
files from http://cvs.savannah.gnu.org/viewvc/config/?root=config .
2008-03-15 10:21:56 +00:00
fyodor
d421951a21 update changelog and regenerate files in prep for 4.60 build and release 2008-03-15 01:21:22 +00:00
kris
a3a78c535b Upgrading libpcre from 7.4 to 7.6. Tested on Linux and Windows XP. 2008-02-16 20:55:50 +00:00
kris
a02bf67a70 reordering UDP port selection for Traceroute: a closed port is now chosen before an open one. 2008-02-15 19:45:34 +00:00
kris
5fa53605e6 adding UDP Scan (-sU) to Zenmap's Profile Editor and Command Wizard 2008-02-06 01:19:56 +00:00
fyodor
ce95ae92a8 trivial correction 2008-02-05 23:33:24 +00:00
fyodor
61b976a45c o Nmap now saves the target name (if any) specified on the command
line, since this can differ from the reverse DNS results.  It can be
  particularly important when doing HTTP tests against virtual hosts.
  The data can be accessed from target->HostName() from Nmap proper
  and host.targetname from NSE scripts.  The NSE HTTP library now uses
  this for the Host header.  Thanks to Sven Klemm for adding this
  useful feature.
2008-02-04 22:10:29 +00:00
kris
a919aa5470 rewriting my HTTPpasswd script to use Sven's HTTP library and to do some much-needed cleaning up. 2008-02-01 05:48:45 +00:00
fyodor
9cf7f14afe o Added NSE HTTP library which allows scripts to easily fetch URLs
with http.get_url() or create more complex requests with
  http.request().  There is also an http.get() function which takes
  components (hostname, port, and path) rather than a URL.  The
  HTTPAuth, robots, and showHTMLTitle NSE scripts have been updated to
  use this library. Sven Klemm wrote all of this code.
2008-02-01 02:47:09 +00:00
kris
c3bded55ae fixing another Zenmap bug: the --scan-delay and --max-scan-delay buttons under the Advanced tab in the Profile Editor were backwards (the buttons chose the wrong option) 2008-01-29 00:21:12 +00:00
kris
9664cd9e22 adding IPProto Ping (-PO) to Zenmap's Profile Editor 2008-01-28 23:58:20 +00:00