From 36a83fa185dba66ade25ab29549b0b36013c807f Mon Sep 17 00:00:00 2001 From: Ako Date: Sat, 23 Aug 2025 00:03:39 +0200 Subject: [PATCH] initial commit --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..683b84e --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +# 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 \ No newline at end of file