This module sniff username and password of unprotected protocols.
Project description
PasswordsSniffer
Description
This module sniff username and password of unprotected protocols.
Requirements
This package require:
- python3
- python3 Standard Library
- Scapy
Installation
pip install PasswordsSniffer
Usages
Command line
PasswordsSniffer
python3 -m PasswordsSniffer
python3 PasswordsSniffer.pyz
Python script
from PasswordsSniffer import *
telnet = SnifferTelnet()
telnet.start()
import PasswordsSniffer
from scapy.all import TCP
class CustomSniffer(PasswordsSniffer.Sniffer):
def __init__(self):
super().__init__()
self.ports = [123]
self.protocol = TCP
self.strings = [b'Password: ']
self.regexs = [r'\w:\s?$'.encode()]
self.request_detection_ports = self.ports
self.response_detection_ports = self.ports
sniffer = CustomSniffer()
sniffer.start()
Links
License
Licensed under the GPL, version 3.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PasswordsSniffer-0.0.1.tar.gz
(101.6 kB
view hashes)