-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couldn't capture 802.11 radio beacon packets using Npcap SDK in Windows C++ #741
Comments
(Single quotes do not serve as "make this fixed-width text" brackets; you must use three backquotes, ```. Here's a properly-fixed-widthified, and better-indented, version of the code, which should be easier to read.)
|
You need to use
You do not need to set promiscuous mode if you're setting monitor mode. Those should be done between
...the Older versions of libpcap would not catch attempts to set monitor mode after a What version of Npcap are you using? |
This is the entire code that I wrote.
But while calling pcap_create() it is throwing the following error.
I also tried to hardcode the string in C++ as given below, but still I got the same error.
Is there any format that I need to follow? Thank you. |
Yes. Try just |
And just use |
Describe the bug
I wrote a C++ program using Npcap SDK in Windows environment where I have enabled Wi-Fi in monitor mode. But the program is unable to capture Wi-Fi 802.11 Beacon packets. Using Wireshark application, I am able to capture the Wi-Fi 802.11 Beacon packets.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Capturing the radio 802.11 Beacon using C++ is not working.
Capturing the radio 802.11 Beacon using Wireshark is working.
Is it possible to capture the radio 802.11 Beacon packets using C++ and Npcap SDK? If possible, can you please suggest me what correction U have to make? Thank you.
The text was updated successfully, but these errors were encountered: