Skip to content

Use RTL8812AU to capture 802.11 raw frame and dump to .pcap file on Windows

License

Notifications You must be signed in to change notification settings

TalusL/rtl8812au-monitor-pcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtl8812au-monitor-pcap

Use RTL8812AU to capture 802.11 raw data frame and dump to .pcap file on Windows

rtl8812au userspace driver

devourer

The RTL8812AU driver that simply devours its competitors

usage

  • Repair libusb driver

download Zadig

img.png

  • Command line
WiFiCapture [USB_VID]:[USB_PID] [WIFI_CHANNEL] [WIFI_CHANNEL_WIDTH] [PCAP_FILE_NAME]

#example:
#capture dongle (0B05:17D2) WIFI channel 36 channel width 80 to 80211.pcap

WiFiCapture 0B05:17D2 36 2 80211.pcap

  • WIFI channel width enum
enum ChannelWidth_t {
  CHANNEL_WIDTH_20 = 0,
  CHANNEL_WIDTH_40 = 1,
  CHANNEL_WIDTH_80 = 2,
  CHANNEL_WIDTH_160 = 3,
  CHANNEL_WIDTH_80_80 = 4,
  CHANNEL_WIDTH_5 = 5,
  CHANNEL_WIDTH_10 = 6,
  CHANNEL_WIDTH_MAX = 7,
};
  • 802.11 radio packet

img_1.png

Windows Build

You can download and install libraries using the vcpkg dependency manager:

cd rtl8812au-monitor-pcap
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
.\bootstrap-vcpkg.bat
.\vcpkg integrate install
.\vcpkg install libusb libpcap
cd ..
cmake -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake  -G "Visual Studio 16 2019" -A x64 -S ./ -B "build64" 
cmake --build build64 --config Release --target WiFiCapture

About

Use RTL8812AU to capture 802.11 raw frame and dump to .pcap file on Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published