38 lines
No EOL
721 B
Markdown
38 lines
No EOL
721 B
Markdown
# npcap
|
|
|
|
This project demonstrates the use of raw sockets in C for network packet capture and analysis.
|
|
|
|
## Features
|
|
|
|
- Capture network packets using raw sockets
|
|
- Basic packet inspection and logging
|
|
- Cross-platform support (Linux, Windows)
|
|
|
|
## Requirements
|
|
|
|
- C compiler (gcc, clang, MSVC)
|
|
- Administrator/root privileges to use raw sockets
|
|
|
|
## Usage
|
|
|
|
1. Clone the repository:
|
|
```sh
|
|
git clone https://git.emiko.fr/Akomry/npcap.git
|
|
```
|
|
2. Build the project:
|
|
```sh
|
|
cd npcap
|
|
make
|
|
```
|
|
3. Run the executable (may require sudo):
|
|
```sh
|
|
sudo ./npcap
|
|
```
|
|
|
|
## Disclaimer
|
|
|
|
Raw sockets require elevated privileges and may affect network security. Use responsibly.
|
|
|
|
## License
|
|
|
|
Currently none |