6 releases

0.2.4 Jul 28, 2021
0.2.3 Jul 27, 2021
0.1.1 Jul 25, 2021

#7 in #dog

Custom license and LGPL-3.0

22KB
423 lines

Join the discord server

Hi, I like sniffing packets, like a dog.

If you want to start sniffing like me, follow my steps. 1. Run cargo install packet_dog or if you are smart and download the source cargo intall --path . 2. get familiar with the commands by running packet_dog help

Now that you like sniffing here is some help!

Sniffing regularly

To start sniffing normally/regularly run the following command:

packet_dog run

This will use the default device found. To sniff a particuler device run:

packet_dog run [--device|-d] <device name>

To get a list of devices run:

packet_dog run [--list|-l]

Or if you really want, use the index with:

packet_dog run [--index|-i] <index of device>

The list of devices is 0-indexed, meaning you start at 0 and work your way up.

Examples of what I said above

Name                     | Description
--------------------------------------
Completely normal name 1 | ...
Completely normal name 2 | ...
Completely normal name 3 | ...
Completely normal name 4 | ...
Completely normal name 5 | ...

Alright, now that we know the devices, we'll need to get the index for the desired device. In this example we'll use Completely normal name 1 (I will shorten the name to cnm(x), for example cnm1). If we start at cnm1 it will be 0, and cnm2 would be 1. With this new knowledge lets build the command.

packet_dog run --index 1

This command will run the second device in the list. To run the first, we'd run

packet_dog run --index 0

Dependencies

~7MB
~111K SLoC