Nmap/old Windows Releases

Source: Internet
Author: User
Tags old windows

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. :)

    1. Open Nmap-5.51/mswin32/nmap.sln

    2. Solution-configuration manager:active Config = Release

    3. Ncat project-build customizations ...: MASM = True (do before adding. asm s)

    4. 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
    1. Ncat project-properties-linker-system:minimum Req Version = 5.0

    2. Ncat Project-properties-c/c++-code Generation:runtime Library = multi-threaded (Non-dll)

    3. Nbase project-properties-c/c++-code Generation:runtime Library = multi-threaded (Non-dll)

    4. Nsock project-properties-c/c++-code Generation:runtime Library = multi-threaded (Non-dll)

    5. Nbase Project-project Only-rebuild

    6. Nsock Project-project Only-rebuild

    7. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.