September 8th, 2007, 10:58 AM
nmap on vista...
after installing vista on my laptop (not very happy with vista) I decided to install nmap, the installation when smooth, but when it was time to run a scan the apps stoped and gave me an error......has any body had any kind of problem with nmap in vista?.....by the way I tried both the GUI and the CLI as well
September 8th, 2007, 02:18 PM
What was the message you got? Don't foget to look in your applications log as well.
September 9th, 2007, 05:18 AM
I got "Nmap has stopped working!
Originally Posted by nihil
Windows can check online for a solution to the problem."......that's what I got
by the way I'm using vista home basic edition
September 9th, 2007, 09:58 AM
I presume that you have tried another download and checked that the firewall is off?
I don't know what the home basic version supports.................could the issue be something to do with the handling of Raw Sockets like was introduced with XP SP2?
I believe that you had to use something like WinPcap?
Unfortunately, the error message isn't very informative
September 9th, 2007, 06:50 PM
I am having trouble with nmap on Vista too. I have tried both Nmap 4.20 and 4.22SOC6. The following error message shows up:
This application has failed to start because NPPTools.dll was not found. Re-installing the application may fix this problem.
September 9th, 2007, 07:54 PM
Here ya go:
The actual .dll is a part of Network Monitor. You should be able to get it here:
September 9th, 2007, 10:08 PM
I installed Network Monitor and it still can't find the .dll. I can't find it either. The guy from that post also mentioned that Network Monitor didn't include npptools.dll
September 9th, 2007, 10:27 PM
The .dll can be found here:
Then you will get this:
Obviously Microsoft don't like Nmap?
C:\Program Files\Nmap>nmap -v -A some_machine
Starting Nmap <-- snip -->
getinterfaces: intf_loop() failed
I couldn't find a documented fix, though. My fix is to line 20 of libdnet-stripped\src\intf-win32.c in the latest nmap code distribution, based on ipifcons.h from the Vista Platform SDK.
#define MIB_IF_TYPE_MAX MAX_IF_TYPE /* XXX - ipifcons.h */
Without the fix, at runtime, the Vista machine enumerates at least one network interface of a type outside the range of those recognized by nmap, causing the tool to give up. With the fix, plus the above dll, everything seems to work. I've submitted the code change, but I don't know when a patched binary will be made available for download.
Last edited by nihil; September 9th, 2007 at 10:31 PM.
September 11th, 2007, 04:55 PM
The Wolfman seem to recall an error message similair to this in Windows 2003. The Wolfman ended up installing NmapFE and it magically fixed the problem.
If you already have NmapFE installed, then try right clicking the EXE and choosing the compadability tab. Select both Administrative Access and Run in Windows XP Mode. This *may* fix the problem.
September 11th, 2007, 05:10 PM
There is a more modern alternative to Nmap FE. It is claimed to be Vista compatible:
By gore in forum Operating Systems
Last Post: March 1st, 2006, 03:40 PM
By Irongeek in forum Security News
Last Post: January 31st, 2006, 09:24 PM
By thehorse13 in forum IDS & Scanner Discussions
Last Post: September 10th, 2005, 05:38 AM
By thehorse13 in forum The Security Tutorials Forum
Last Post: November 26th, 2003, 11:54 PM