Nmap Development mailing list archives

Re: nping localhost


From: "Michael D. Lawler" <mdlawler () lawlers us>
Date: Sun, 02 Oct 2016 04:49:40 -0400

The only copy of wpcap.dll that I see on my system is in c:\windows\system32\npcap\wpcap.dll

At 04:45 AM 10/2/2016, Gisle Vanem wrote:
Michael D. Lawler wrote:

> I get the same results as the original poster when nping.exe is in c:\windows\system32\npcap and when it is not I get > this. I also get the issue when I ping other hosts on my network not just localhost.
>
> WARNING: Could not import all necessary Npcap functions. You may need to upgrade to version 0.07 or higher from
> http://www.npcap.org <http://www.npcap.org/> .  Resorting to connect() mode

Because nping/winfix.cc calls '__HrLoadAllImportsForDll()'
on the wrong wpcap.dll. You may have a shadow wpcap.dll in your PATH?

It's IMHO better to avoid delay-loading completely.

--
--gv
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

--
Michael D. Lawler
email mailto:mdlawler () lawlers us

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: