Skip to content

Conversation

@theHawke
Copy link
Contributor

@theHawke theHawke commented Dec 6, 2022

WlanHelper (1.71) always fails for commends which invoke functions from Packet.dll with the error message Error: makeOIDRequest::My_PacketOpenAdapter(\Device\NPCAP\{2f39942d-8094-45e2-9909-cce31258d699}) error 0x7b (to use this function, you need to check the "Support raw 802.11 traffic" option when installing Npcap).

The failure occurs in NpcapGetAdapterID which expects the adapter name to start with \Device\NPF_, whereas WlanHelper constructs the name passed to Packet.dll with the prefix \Device\NPCAP\.

@luisdallos
Copy link

This PR should fix #649.

@Neustradamus
Copy link

Dear https://github.com/nmap team,

Have you seen this PR?

@dmiller-nmap dmiller-nmap merged commit 2117c53 into nmap:master Jan 24, 2023
@dmiller-nmap
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants