Skip to content

allow WlanHelper to communicate with Packet.dll - #652

Merged
dmiller-nmap merged 1 commit into
nmap:masterfrom
theHawke:fix-wlanhelper
Jan 24, 2023
Merged

dmiller-nmap merged 1 commit into
nmap:masterfrom
theHawke:fix-wlanhelper

Conversation

@theHawke

@theHawke theHawke commented Dec 6, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown

This PR should fix #649.

@Neustradamus

Copy link
Copy Markdown

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
Copy Markdown
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