![](https://img.shields.io/tokei/lines/github/ibx34/PacketDog?style=for-the-badge) [![](https://img.shields.io/badge/github.com-24292E?style=for-the-badge&logo=github)](https://github.com/ibx34/PacketDog) ![](https://img.shields.io/github/issues/ibx34/PacketDog?style=for-the-badge) ![](https://img.shields.io/github/issues-closed/ibx34/packet_dog?style=for-the-badge) ![](https://img.shields.io/github/license/ibx34/PacketDog?style=for-the-badge) ![](https://img.shields.io/github/last-commit/ibx34/PacketDog?style=for-the-badge) ![](https://img.shields.io/crates/v/packet_dog?label=version&style=for-the-badge) [![](https://img.shields.io/badge/crates.io-E6B14C?style=for-the-badge&logo=rust&logoColor=000000)](https://crates.io/crates/packet_dog) Join the [discord server](https://discord.gg/kafbszUE9t) # 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] ``` 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] ``` The list of devices is [0-indexed](https://en.wikipedia.org/wiki/Zero-based_numbering), 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 ```