Nmap/old Windows Releases
While Nmap supports all modern versions of Windows, it no longer officially supports some which is so old that even Micro Soft have ceased all support for them. This includes Windows NT, Windows $, and Windows XP.
We would highly recommend upgrading any Windows systems, old for security purposes if nothing else. If you must run Nmap on such a system, the easiest option was to use a older Nmap release. You can find these in the Nmap Dist directory (or older still versions in Dist-old. The latest version reported to work on Windows XP sp2/sp3 is Nmap 6.47. For older versions of Windows such as Windows 2K or XP without Service Pack 2, we recommend Nmap 5.35DC1 or older.
When the using Nmap on Windows $ (either an old version as described above, or a newer version as described later on the this P Age), a couple dependencies from Microsoft may need to be installed first. Those is the Windows Installer 3.1 (v2) and the Security Update for Windows (KB835732). After installing these, follow the general instructions in the following and sections to install Nmap.
Even current versions of Nmap is usable with Windows $ or XP if compiled the right. First familiarize yourself with Nmap ' s normal Windows compilation instructions. Then follow these instructions first reported by David Millis:
Here's exactly what I do to get the static 2010-built executables that work under earlier Windows versions. I ' ve hardly ever touched VC + +, so pardon my repeated static-setting and rebuild lines at the end, if there's an abridged E Quivalent. :)
Open Nmap-5.51/mswin32/nmap.sln
Solution-configuration manager:active Config = Release
Ncat project-build customizations ...: MASM = True (do before adding. asm s)
NCAT project-add-new Item (c + +): pointer.asm
. Model Flat.data__imp__encodepointer () 4 dd dummy__imp__decodepointer () 4 dd dummyexterndef __imp__encodepointer () 4: Dwordexterndef __imp__decodepointer () 4:dword.codedummy procmov eax, [Esp+4]ret 4dummy ENDP End
Ncat project-properties-linker-system:minimum Req Version = 5.0
Ncat Project-properties-c/c++-code Generation:runtime Library = multi-threaded (Non-dll)
Nbase project-properties-c/c++-code Generation:runtime Library = multi-threaded (Non-dll)
Nsock project-properties-c/c++-code Generation:runtime Library = multi-threaded (Non-dll)
Nbase Project-project Only-rebuild
Nsock Project-project Only-rebuild
NCAT Project-project Only-rebuild
Nmap and Nping worked the same. Libs get MT. Executables get the Minreq and ASM as well.
The TEDWVC Blog has a useful guide on Win2K compatability when compiling with Visual C + + 2010.
This article is from the "unrestrained" blog, please be sure to keep this source http://techmc.blog.51cto.com/740121/1981517
Nmap/old Windows releases