1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00
Commit Graph

106 Commits

Author SHA1 Message Date
fyodor
a6b976cc89 add xcopy command to post-build event to copy nselib/data directory in Windows builds. Patch from Jah. 2008-08-29 08:58:53 +00:00
batrick
684857c11c Fixed a syntax error in the VCPROJ file. 2008-08-27 22:24:59 +00:00
batrick
8a44c9432d Updated NSE's bit library to no longer be a shared library.
See this thread: http://seclists.org/nmap-dev/2008/q3/0404.html
2008-08-27 22:23:50 +00:00
pgpickering
f07cebb87f modified nmap.vcproj, added binlib and hashlib for NSE 2008-07-31 14:20:45 +00:00
david
4480ce022d Adjust licformat.sh to allow running it from a directory other than mswin32. 2008-07-11 20:52:17 +00:00
michael
1b9b15f45a The licence formatting sed scripts are now compatible with gnu and bsd sed, so they can now be used to build a macOSX installer 2008-07-11 20:02:09 +00:00
kris
3daeae2fc5 Instead of having my_close() in mswin32/winfix.cc (which only calls closesocket()),
and having close() #defined to my_close() in nbase_winunix.h, I'm just defining close()
to closesocket() in nbase_winunix.h and removing my_close() from winfix.cc.  I'm also
defining EWOULDBLOCK to WSAEWOULDBLOCK in nbase_winunix.h.

Nmap builds fine with these changes, and since it's just defining close() to something
that already exists, it shouldn't negatively affect other branches.

These are things I noticed while trying to cleanly "re-port" Ncat to VC++2008.
2008-07-10 03:20:38 +00:00
batrick
3ae4bcfa9e Removed nse_string. Equivalent procedures are placed in
nse_main and nse_nsock. nse_main now uses Lua to create printable output
while a cleaner hexify procedure has been placed in nsock.
nse_string is removed as a result.
2008-07-07 17:31:38 +00:00
fyodor
2c4f8d1a67 o The Nmap Windows self-installer now automatically installs the MS
Visual C++ 2008 runtime components if they aren't already installed
  on a system.  These are some reasonably small DLLs that are
  generally necessary for applications compiled with Visual C++ (with
  dynamic linking).  Many or most systems already have these installed
  from other software packages.  The lack of these components led to
  the error message "The Application failed to intialize properly
  (0xc0150002)." with Nmap 4.65.  A related change is that Nmap on
  Windows is now compiled with /MD rather than /MT so that it
  consistently uses these runtime libraries.  The patch was created by
  Rob Nicholls.
2008-06-29 04:52:00 +00:00
kris
bc0826654a The WinPcap Windows installer now has x64 npf.sys support. Thanks for Rob Nicholls for the patch. 2008-06-17 21:02:40 +00:00
kris
3ddaa848eb Recompiled OpenSSL with VC++2008 and updated upgrade-guide.txt to reflect build changes between VC++2005 and 2008. I meant to do this sooner, but it slipped my mind. Thanks to Thomas and Jah for discussing it. 2008-06-15 02:36:15 +00:00
kris
44f6087b94 Merging changes from my vc2008-testing branch. This moves Windows development
to VC++2008.
2008-06-13 05:58:11 +00:00
kris
32e8249c80 Upgrading shipped mswin32 OpenSSL headers and libraries to newest 0.9.8h (thanks to Jah for noticing the new release) 2008-06-01 15:09:17 +00:00
fyodor
cdcf26d420 Win32 installer improvements:
o Our WinPcap installer now starts the NPF driver running as a
  service immediately upon installation and after restarts. You can
  disable this with new checkboxes. This behavior is important for
  Vista and Windows Server 2008 machines when User Account
  Control (UAC) is enabled. [Rob Nicholls]

o Nmap and Nmap-Winpcap silent installation now works.  Nmap can
  be silently installed with the /S option to the installer.
  If you install Nmap from the zip file, you can install just
  Winpcap silently with the /S option to that
  installer. [Rob Nicholls]

o Our WinPcap installer is now included with the Nmap Win32 zip
  file. [Fyodor]

o Numerous miscellaneous improvements were made to our Win32
  installer, such as using the "Modern" NSIS UI for WinPcap,
  improving the option description labels, and showing a finish
  page in all cases. [Rob Nicholls]
2008-06-01 03:18:35 +00:00
batrick
d0bc640db8 Large recode of nse_init.cc
Now does most of it's work through Lua:

From Nmap-dev: "Many of the changes consist of changing how Nmap interfaces
with Lua that were sometimes awkward or inflexible. Most of the functions 
have been made to be callable directly by Lua which offers many technical
advantages: stack management is alleviated, errors are handled cleanly and
are more descriptive, and there is increased reusability."

Additionally:
   -- Moved all lua_State * symbols from "l" to "L". This is to maintain
      consistency with other Lua libraries (convention) and to make our macros portable.
   -- Moved file system manipulation over to nse_fs.cc (from nse_init.cc)
2008-05-31 02:39:27 +00:00
batrick
742ff67100 Removed nse_auxiliar. Updated Script Argument parsing. Fixed typos in
documentation. Improved MySQLinfo.nse. Nsock/dnet metatabels are now
protected.
2008-05-31 02:19:24 +00:00
fyodor
779b96a197 trivial copyright text tweak: filename nmap-os-fingerprints has changed to nmap-os-db 2008-05-22 20:45:32 +00:00
kris
2b825faa17 Nmap now ships and links with OpenSSL (currently the newest 0.9.8g) on Windows.
The necessary libraries (lib and dll) and headers required for compilation and
linking are in mswin32/OpenSSL.  A detailed upgrade guide is available in
mswin32/OpenSSL/upgrade-guide.txt.

Thanks to Thomas Buchanan for doing the initial work and writing up the initial
build guide.

My openssl-testing branch has been posted on nmap-dev for 12 days and has been
tested by (at least) Thomas, Jah and I, with no reports of failure.

http://seclists.org/nmap-dev/2008/q2/0249.html
2008-05-20 20:22:50 +00:00
fyodor
10b54b773b minor license template updates from Kris--fix gnu.org link to GPLv2 (moved) and openssl license filename (COPYING.OpenSSL) 2008-05-05 04:10:00 +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
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
1accc12fb2 fix typo in legal header found by Leigh Zhao (missing word: of) 2008-02-28 18:52:06 +00:00
fyodor
29c912f394 URL change from http://insecure.org/nmap/* to http://nmap.org/* 2008-01-17 07:22:03 +00:00
fyodor
af99ccc304 o Impoved Windows executable installer by making uninstall work better
on systems which changed the default install path.  The shortcut is
  also now deleted properly on Vista. [Rob Nicholls]
2008-01-12 22:24:00 +00:00
fyodor
f3d9c4093e o Fixed Nmap Winpcap installer to use CurrentVersion registry key on
Windows rather than VersionNumber to more reliably detect Vista
  machines.  This should prevent the XP version of Packet.dll from
  being installed on Vista. [Rob Nicholls]
2007-12-23 06:25:35 +00:00
fyodor
8220c8a42f update copyright line at the top of files from 1996-2006 to 1996-2008 2007-12-22 06:32:03 +00:00
fyodor
775563acef o Fixed Winpcap installer to install the right version of Packet.dll
on Windows Vista. [Fyodor]
2007-12-22 01:01:42 +00:00
fyodor
0d7496cc3e o Fixed our Winpcap installer so that it waits for a Winpcap uninstall
(if needed) to complete before trying to install the new Winpcap.
  Thanks to Jah for the patch.
2007-12-21 03:51:44 +00:00
david
aa94d1e9d1 Fixed an error that showed itself on Windows when attempting to scan
localhost as an unprivileged user (nmap --unprivileged localhost). The
error looked like
Skipping SYN Stealth Scan against localhost (127.0.0.1) because Windows does not support scanning your own machine (localhost) this way.
Now connect scan is used instead of SYN scan.
2007-12-20 10:02:14 +00:00
fyodor
b6873eddb3 fix mswin32/Makefile so mswin32 zipfile properly includes nselib-bin directory. Thanks to Rob Nicholls for the report 2007-12-08 02:33:20 +00:00
fyodor
f1e76344fa fix NSIS installer so it doesn't include some excess files. Problem reported by Alan Jones 2007-11-29 21:51:41 +00:00
david
08f20fb15e Change NSE_LIB_FILES in mswin32/Makefile to reflect that DLLs are in nselib-bin now. Without this "make" didn't work for me. 2007-11-29 18:49:02 +00:00
diman
c1697dbdc5 changed the windows projects to work with the new dir layout 2007-11-27 23:48:33 +00:00
fyodor
d69da47694 I don't think PIL is needed any more 2007-11-27 22:59:01 +00:00
david
5ac140d710 Upgrade WinPcap to version 4.02. 2007-11-15 20:30:47 +00:00
david
696134afc1 Add instructions on how to include the Vista version of Packet.dll in the WinPcap upgrading instructions. 2007-11-15 20:25:13 +00:00
david
1d2eba6405 Add a note about updating the LICENSE file in the WinPcap upgrading instructions. 2007-11-15 18:27:33 +00:00
david
661a4e6d4a Reformat the WinPcap upgrading instructions and add some more information (file locations, web addresses). 2007-11-15 18:08:38 +00:00
fyodor
d928402c79 remove hardcoded (and wrong) winpcap version number 2007-11-14 02:04:37 +00:00
david
50c4981934 Remove the first-generation OS detection and nmap-os-fingerprints. 2007-11-03 01:31:02 +00:00
fyodor
02db0e5981 Rename Umit to Zenmap to reduce confusion between the version we ship with Nmap as the integrated GUI and the version maintained separately at umit.sourceforge.net 2007-10-24 21:45:50 +00:00
david
aeb9cae04b Redo some changes to the NSE pcre module that were originally done
before pcre was made a C module. Remove the nse_pcrelib.vcproj file,
change snprintf to Snprintf, and add a typecast to avoid a warning on
Windows.  This and r6026 should be considered a unit.
2007-10-23 01:10:46 +00:00
david
83382600f2 Revert r5485. This changes the pcre Lua module back to statically linked
code instead of a dynamically loaded C module. Linking the dynamic
shared module with the static libpcre.a was failing on OpenBSD. See
http://seclists.org/nmap-dev/2007/q4/0085.html.
2007-10-23 00:45:00 +00:00
david
df4f55bd1f Update the version numbers in mswin32/nmap.rc and mswin32/nsis/Nmap.nsi. 2007-10-14 21:09:09 +00:00
david
730d55f2f6 Update version numbers in mswin32 files. 2007-09-28 20:49:38 +00:00
ejlbell
8094a16c90 Winpcap update: When installing on vista use a different Packet.dll file and do not install WanPacket.dll 2007-09-23 18:30:22 +00:00
kris
c2dd4a1c56 Committing my Build Guide for the Nmap Windows Installer 2007-08-17 20:52:40 +00:00
fyodor
4d847959fc Prevent .svn directories from appearing under scripts dir -- patch from David Fifield 2007-08-17 19:54:26 +00:00
kris
4c79043958 Merging r5523 from my umit-integration branch - Modifying Makefiles and making my own modified scripts 2007-08-16 20:16:10 +00:00
kris
d073a19105 Change reason.cc/h to portreasons.cc/h. This is because of a reason.h on Windows which causes compilation problems. A workaround was employed, but this is incase it pops up again. I also changed the recent CHANGELOG entry mentioning reason.h so there's no confusion 2007-08-15 19:26:26 +00:00