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
PasswordsSniffer test # test all available class
PasswordsSniffer -i "localhost" # change iface
PasswordsSniffer --iface "localhost" # change iface
PasswordsSniffer -P 2323 # Add analysis on server response on port 2323
PasswordsSniffer --add-response-ports 2323 # Add analysis on server response on port 2323
PasswordsSniffer -p 8080 # Add analysis on client request on port 8080
PasswordsSniffer --add-request-ports 8080 # Add analysis on client request on port 8080
PasswordsSniffer --add-string "Password: " # Detect a packet if "Password: " is in TCP Raw content
PasswordsSniffer -s "Password: " # Detect a packet if "Password: " is in TCP Raw content
PasswordsSniffer -l 20 # Change log level
PasswordsSniffer --log-level 20 # Change log level
Python script
from PasswordsSniffer import *
sniffer = SnifferAll()
sniffer.start()
import PasswordsSniffer
from scapy.all import TCP
class CustomSniffer(PasswordsSniffer.SnifferTelnet):
def __init__(self):
super().__init__()
self.ports = [2323]
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.
Metadata
Release files for PasswordsSniffer 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PasswordsSniffer-0.0.2.tar.gz | 113.4 kB | Without provenance | Details for PasswordsSniffer-0.0.2.tar.gz |
Release files / PasswordsSniffer-0.0.2.tar.gz
| Download URL | PasswordsSniffer-0.0.2.tar.gz |
|---|---|
| Size | 113.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c956c835678d29b683066f2d6d6046572b965652a9174170369137e8ccfa3fcf
|
|
BLAKE2b-256 checksum How to use checksums |
6fdd6b135641900716c8c07d505cd18ee0222e2f99e911939832d77a5953c70b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.2
|
Security for PasswordsSniffer 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.