Skip to content

necromuralist/alpaca

Repository files navigation

Packet Capture

An attempt to create a generic interface for wireless packet capturing as I try different programs. It assumes that you’re using a debian-based system. I use Ubuntu so whatever I document will be based on that.

Installation

Dependencies

There are two dependencies, tcpdump and airmon-ng. airmon-ng puts the interface into monitor mode and tcpdump is doing the capture. airmon-ng is part of the aircrack-ng suite so when you install that it will pull in airmon-ng with it.

sudo apt install tcpdump
sudo apt install aircrack-ng

Tests

To run the tests you need bats. If you are on a debian-based system you can install it with apt.

sudo apt install bats

Otherwise download their repository and put the bats file in your PATH.