1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 06:01:28 +00:00
Commit Graph

219 Commits

Author SHA1 Message Date
robert
64be521758 Update the old blue eye with the modern "blue insecure eye". 2011-02-22 20:09:16 +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
robert
55c9407b17 Update Nmap version number to 5.36TEST4 in prep for the next release. 2011-01-21 18:40:46 +00:00
fyodor
86e59a8c4e Update copyright statements from 2010 to 2011 2011-01-21 00:04:16 +00:00
robert
33a6a0a49b Added the py2exe, share and licenses folders to be removed during an installation over the top of an existing Nmap installation. This clears out any bad DLLs that might have been installed in older versions of Nmap (e.g. 5.36TEST1). 2010-11-20 09:04:49 +00:00
fyodor
f715da890e Fix a bug in the Makefile which used slightly the wrong path name in trying to delete a .svn directory 2010-11-20 08:57:33 +00:00
fyodor
51bfc9d384 Remove a .svn directory which was getting left in the builds (problem noted by Rob Nicholls 2010-11-20 08:34:55 +00:00
robert
f91c93dfee Improved the Uninstaller section so it deletes the new license files and doesn't warn if Nmap isn't present (useful if the other tools, such as Ncat, were installed separately). 2010-11-18 15:55:01 +00:00
robert
29d67ee8c3 Updated the Visual C++ 2008 Redistributable to the latest SP1 version to avoid Windows Update prompting for the SP1 update after installing the RTM with ATL update.
Added new functions to create the Nmap uninstaller and install the VC++ 2008 and 2010 redistributables in the appropriate sections. Previously we only created the uninstaller if the Nmap Core Files were selected, and we didn't install the VC++ files if Nping, Ncat and Ndiff were installed on their own.
2010-11-18 13:22:49 +00:00
robert
7f36aa4ca4 Copy the VC++ 2008 Redistributable that's been added to support Zenmap. 2010-11-17 00:06:47 +00:00
robert
62894a15f0 Added the VC++ 2008 (RTM with ATL fix) Redistributable to support Zenmap as Python 2.6 onwards is built using VC++ 2008. This is required now that Nmap uses VC++ 2010 instead of VC++ 2008 SP1, as we were previously relying upon the files installed by the VC++ 2008 SP1 Redistributable. The Nmap setup file only installs the 2008 redistributable if Zenmap has been selected. 2010-11-16 21:01:20 +00:00
david
7e8e4bf5b9 Update build instructions and build scripts for Python 2.7. 2010-11-10 03:00:01 +00:00
robert
f91a6868c7 Updated the Nmap installer's description for "Nmap Core Files" to say Visual C++ 2010 instead of Visual C++ 2008 to match the included redistributable file. 2010-11-06 16:31:12 +00:00
robert
79ab71577a Updated the Visual C++ Redistributable package from 2008 to 2010 and modified the Windows installer to check the new registry keys that are created. This is to support David's update of the Nmap solution file to VC++ 2010. 2010-11-05 18:05:05 +00:00
david
e7a185eeea Make nmap depend on libnetutil. 2010-11-04 19:24:23 +00:00
david
6ce7c2e34d Upgrade the Windows build files using the Visual C++ 2010 Express conversion
wizard. At this point the solution doesn't build.
2010-11-04 18:16:40 +00:00
david
7653cf7d4a Move COPYING.OpenSSL to OpenSSL.txt, update copyright notices to match. 2010-10-30 03:01:50 +00:00
david
dba1d73570 Rearrange third-party license files. 2010-10-30 02:15:00 +00:00
david
ce075558de Include third-part license notices in Windows packages. 2010-10-14 05:22:42 +00:00
david
8d6d0c1c17 Revert r20239 (OpenSSL 1.0.0a upgrade) in mswin32/nmap.vcproj. This was an unrelated change not to discard preprocessor files. 2010-09-23 02:38:34 +00:00
batrick
de4ba536de Merge from /nmap-exp/patrick/nse-nsock-maintenance.
This is a maintenance fix for the NSE Nsock library binding. The patch focuses
on code correctness and simplicity. The patch also brings some initial updates
with an eye towards the upcoming Lua 5.2 release. See [1] for a post concerning
this branch.

[1] http://seclists.org/nmap-dev/2010/q3/710
2010-09-18 20:35:09 +00:00
david
745a49d24a Upgrade the included Windows OpenSSL to version 1.0.0a. 2010-09-16 03:49:43 +00:00
david
1ff33d9d50 Update version numbers in Windows build files. 2010-09-15 23:58:10 +00:00
david
47bc61d69d Restrict the search path for DLLs to prevent DLL hijacking. If the
SetDllDirectory function is available, as it is on Windows XP SP1 and later,
use it to remove the current directory from the DLL search path. If the
function is not available, call SetCurrentDirectory to the directory containing
the executable.

I believe that such an attack is not currently possible against Nmap, because
it doesn't register any file type associations. This protects us in case such
associations are added in the future.
2010-09-04 04:52:23 +00:00
david
11a738ab33 Define dependencies for the nping project. 2010-09-04 02:13:54 +00:00
david
5246761a67 Fix a couple of typos. 2010-09-04 01:10:56 +00:00
robert
4ce404f214 Enabled ASLR and DEP for Nmap.exe, Ncat.exe and Nping.exe on Windows Vista and above. Visual C++ will set the /DYNAMICBASE and /NXCOMPAT flags in the PE header. Executables generated using py2exe or NSIS and third party binaries (OpenSSL, WinPcap) still don't support ASLR or DEP. Support for DEP on XP SP3, using SetProcessDEPPolicy(), could still be implemented. See http://seclists.org/nmap-dev/2010/q3/328 2010-08-12 14:01:16 +00:00
robert
e8aab6daac Nmap's version of the WinPcap installer has been updated to 4.1.2. 2010-07-15 17:25:24 +00:00
david
d8f2dd538a Use lzma compression in the winpcap-nmap.nsi too. This reduces the size of the
winpcap-nmap installer itself from 720288 to 433535 bytes (60%) and the nmap
installer from 14225186 to 13947278 bytes (98%).
2010-06-30 15:04:42 +00:00
david
cd29377b15 Use lzma whole-file compression in the Windows installer, instead of the
default zlib. The lzma-compressed installer is 15% smaller than the zlib one.
See http://seclists.org/nmap-dev/2010/q2/1011 for test results.
2010-06-30 14:55:12 +00:00
david
6df527a98c Update version number in nmap.rc and Nmap.nsi. 2010-06-30 14:50:00 +00:00
luis
da126c8b78 Merged nmap-dedup branch from nmap-exp/luis/nmap-dedup. This completes the Nmap/Nping code de-duplication phase. 2010-06-22 17:24:34 +00:00
david
82e2cc323d Copy the nselib directory as we do in the POSIX makefile, to avoid installing
.svn directories. These were previously present in the Windows zip file, in the
nselib/data and nselib/data/psexec directories.
2010-06-11 22:39:10 +00:00
david
7c790dbf3b Update pcap-int.h from http://www.winpcap.org/install/bin/WpcapSrc_4_1_1.zip.
We use this file to get at the LPADAPTER member of struct pcap on Windows,
which we need in order to pass to PacketSetReadTimeout in a few places.
(Normally pcap_t is an opaque type so we're not supposed to see inside it.) I
don't see an easy way to get rid of the calls to PacketSetReadTimeout right
now.
2010-06-07 20:34:33 +00:00
david
2501b14e23 Remove nbase/Gnuc.h. This doesn't seem to actually be required for anything. It
was originally part of WinPcap, currently at
http://www.winpcap.org/install/bin/WpcapSrc_4_1_1.zip in
winpcap/wpcap/libpcap/Win32/Include/Gnuc.h.
2010-06-07 19:43:41 +00:00
robert
3859e3dc64 Latest version number. 2010-06-07 07:05:48 +00:00
fyodor
247d4ef9fb I don't think the mswin32/ARPA directory is required. At least none of our files seem to include nameser.h or tftp.h, and it compiles fine without this on my Windows 7 box. If it turns out there is some need for it, we can put it back 2010-05-28 02:06:08 +00:00
fyodor
10a083501f Update to latest version of pcap include files from the official pcap developer pack version 4.1.1 (http://www.winpcap.org/install/bin/WpdPack_4_1_1.zip) include directory. Keeping pcap-int.h for now as we currently need it for compilation, though it seems a bit sketchy. I'm going to add a TODO task related to that 2010-05-28 01:50:37 +00:00
fyodor
bb100f1bbc Moved Gnuc.h from mswin32/pcap-include to nbase, since it is a portability file for Windows and I don't think it is really related to pcap (at least it isn't included in 4.1.1 official Pcap developer pack 2010-05-28 01:42:14 +00:00
david
7b1a1d46f8 Add nmap-payloads to the Windows build. 2010-05-25 18:51:44 +00:00
david
63e86580e5 Use $INSTDIR instead of a hardcoded $PROGRAMFILES/WinPcap or
$PROGRAMFILES64/WinPcap. Set $INSTDIR to $PROGRAMFILES/WinPcap or
$PROGRAMFILES64/WinPcap depending, but don't modify it if it already has a
value (from /D= on the command line). These changes make /D= work to install a
few files into an alternate directory.
2010-05-05 20:38:57 +00:00
david
07f3164937 Expand tabs and remove trailing whitespace in winpcap-nmap.nsi. 2010-05-05 17:43:20 +00:00
fyodor
1aecac420f Update copyright year from 2009 to 2010 2010-05-03 21:20:25 +00:00
david
5fdf2aed63 Document the /D option in Nmap.nsi. It is a built-in NSIS option to set the
installation directory, but it has some restrictions:

;;  It must be the last parameter used in the command line and must not
;;  contain any quotes, even if the path contains spaces. Only absolute
;;  paths are supported.
2010-04-30 13:55:08 +00:00
david
df2344e6d4 Add new options to the Windows setup.exe installer.
;;   /NMAP=NO          don't install Nmap
;;   /REGISTERPATH=NO  don't add the installation directory to PATH
;;   /WINPCAP=NO       don't install WinPcap
;;   /REGISTRYMODS=NO  don't install performance-related registry mods
;;   /ZENMAP=NO        don't install Zenmap
;;   /NCAT=NO          don't install Ncat
;;   /NDIFF=NO         don't install Ndiff
;;   /NPING=NO         don't install Nping
2010-04-27 18:02:41 +00:00
david
8767fb6659 Fix typo. 2010-04-26 19:21:54 +00:00
david
522fe57eac Document options in Nmap.nsi. 2010-04-26 19:21:39 +00:00
robert
f5e3cee4ac Simplified call to WinPcap installer during silent installs, now that the installation directory is no longer required (our WinPcap installer handles it all internally). 2010-04-24 20:48:57 +00:00
david
859ef5ecaf Merge r17202:17298 from /nmap-exp/david/nmap-xml. This brings in
structured XML output, automatic closing of XML elements on error, and
inclusion of error messages in XML output.
2010-04-14 01:05:51 +00:00
david
68f3bca589 Add new packaging of x64 WinPcap drivers from Rob Nicholls. He observed that
64-bit applications wouldn't work using Nmap's installed WinPcap. This fixes
that.
2010-03-17 05:19:08 +00:00