https://github.com/lascc/packet-sniffer
Packet sniffer using scapy
https://github.com/lascc/packet-sniffer
Last synced: 11 months ago
JSON representation
Packet sniffer using scapy
- Host: GitHub
- URL: https://github.com/lascc/packet-sniffer
- Owner: LasCC
- Created: 2020-03-21T15:25:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T15:30:54.000Z (about 6 years ago)
- Last Synced: 2025-05-03T16:33:45.155Z (about 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 18
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Packet sniffer
- Sniff all the packet on the choosen interface
# Tech part
This script uses a number of open source projects to work properly:
- scapy
- argparse
- scapy.layers
- python
### Installation
```
pip install scapy
pip install argparse
pip install scapylayers
```
### Usage
```
usage: main.py [-h] [-i INTERFACE]
optional arguments:
-h, --help show this help message and exit
-i INTERFACE, --ip INTERFACE
Interface of the network (ex: enO / ethO)
```
```
python main.py -i en0
```
### Pictures
[](https://i.imgur.com/4VXFkQn.png)
@LasCC