Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyberfantics/advanced_credential_sniffer
https://github.com/cyberfantics/advanced_credential_sniffer
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/cyberfantics/advanced_credential_sniffer
- Owner: cyberfantics
- Created: 2024-07-17T13:55:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T14:01:29.000Z (6 months ago)
- Last Synced: 2024-07-17T17:09:54.248Z (6 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advanced Credential Sniffer
`advanced_credential_sniffer.py` is a Python script designed to extract credentials from network traffic captured in pcap files. It supports multiple protocols including FTP, SMTP, Telnet, and HTTP. Additionally, it can search for specific keywords in HTTP packets.
## Features
- Extracts FTP, SMTP, Telnet, and HTTP credentials.
- Searches for specific keywords in HTTP packets.
- Saves extracted data to an output file.
- Provides detailed logging and error handling.## Requirements
- Python 3.x
- Scapy## Installation
1. Clone the repository:
```bash
git clone https://github.com/cyberfantics/advanced_credential_sniffer.git
```2. Navigate to the directory:
```bash
cd advanced_credential_sniffer
```3. Install the required Python packages:
```bash
pip install scapy
```## Usage
Run the script from the command line with the required arguments:
```bash
python advanced_credential_sniffer.py [--search ]
: Path to the pcap file to be processed.
: Path to the output file where results will be saved.
[--search ]: (Optional) String to search for in HTTP packets.
```
### Example
```bash
python advanced_credential_sniffer.py network_traffic.pcap output.txt --search CTF
```**This command will process the network_traffic.pcap file, extract credentials, and search for the keyword "CTF" in HTTP packets. The results will be saved in output.txt.**
## Developer
Syed Mansoor ul Hassan Bukhari