nmap / npcap

Nmap Project's Windows packet capture and transmission library
https://npcap.com
Other
3k stars 516 forks source link

pcap_oid_get_request is missing in npcap-1.79.exe #728

Closed joshuafc closed 1 month ago

joshuafc commented 5 months ago

I have download sdk from https://npcap.com/#download

https://npcap.com/dist/npcap-1.79.exe https://npcap.com/dist/npcap-sdk-1.13.zip

There is no pcap_oid_get_request in C:\Windows\system32\wpcap.dll

guyharris commented 5 months ago

It's in pcap.c in libpcap 1.10.4, if _WIN32 is defined; which libpcap source is used to build Npcap?

And what controls which APIs are exported from wpcap.dll?

dmiller-nmap commented 1 month ago

@joshuafc Thanks for reporting this. I extracted all 3 architectures of wpcap.dll from our installer and verified that pcap_oid_get_request is exported using dumpbin /exports . I also see it in wpcap.lib in the 1.13 SDK. Can you provide some details about what you have tried and how it is not working?

joshuafc commented 1 month ago

sorry, wrong dll is loaded, there is an other one in the system.