MimV6
Description
This package implement a Man In the Middle attack in IPv6, a IPv6 Sniffer and a Statistic Packet Tool.
Requirements
- Python 3
- Librairies standarts
- Scapy
Install
pip install MimV6
Usage
Command line:
mimV6
mimV6 -h && mimV6 --help
mimV6 -H -s -D -d -p -r -i -T "all" -S "save.pcap" -t "all" -v && mimV6 --no-hexa-sniffer --summary-sniffer --details-sniffer --details2-sniffer --python-sniffer --raw-sniffer --info-sniffer --target-sniffer "all" --save-filename-sniffer "save.pcap" --target-spoofer "all" --verbose-spoofer
To stop it use Ctrl + C.
Test
To launch test install and use pytest like this:
python3 -m pip install pytest
pytest
Examples
To launch mim attack like the command line in python:
from MimV6 import mim_attack
mim_attack()
Use Packet Printer Tool:
from MimV6 import PacketPrinter
from scapy.all import Ether, IPv6, TCP
printer = PacketPrinter()
printer.print(Ether()/IPv6()/TCP())
Use Spoofer Tool:
from MimV6 import Spoofer
spoofer = Spoofer()
spoofer.launcher()
Use the Packet Statistic Tool:
from MimV6 import statistics, PacketStats
from scapy.all import Ether, IP, TCP, UDP, IPv6
statistics.append(PacketStats(Ether()))
statistics.append(PacketStats(Ether()/IP()))
statistics.append(PacketStats(Ether()/IP()/TCP()))
statistics.append(PacketStats(Ether()/IP()/UDP()))
statistics.append(PacketStats(Ether()/IPv6()/TCP()))
statistics.append(PacketStats(Ether()/IPv6()/UDP()))
statistics.append(PacketStats(Ether()/IPv6()))
statistics.append(PacketStats(Ether()))
print(f"""
UDP: {PacketStats.udp}
TCP: {PacketStats.tcp}
Other: {PacketStats.other}
""")
print("Lenght: " + ", ".join([str(pkt.lenght) for pkt in statistics]))
To use Custom Sniffer and use sniffed packets:
from MimV6 import Sniffer, Spoofer, PacketPrinter
class CustomAnalysis (Sniffer):
def __init__ (self):
super().__init__("all", PacketPrinter(), None)
def analysis (self, packet):
print(bytes(packet))
attack = Spoofer("all", CustomAnalysis())
attack.launcher()
License
Licensed under the GPL, version 3.
Link
Metadata
Release files for MimV6 1.0.0
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 |
|---|---|---|---|---|
| MimV6-1.0.0.tar.gz | 18.2 kB | Without provenance | Details for MimV6-1.0.0.tar.gz |
Release files / MimV6-1.0.0.tar.gz
| Download URL | MimV6-1.0.0.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22a6973b2491633cbcc2edb7bffdda018a47792e63053e05c75c131c5f0a6e85
|
|
BLAKE2b-256 checksum How to use checksums |
6c7eb652ba16d94775a1b8cd1ec4c2117f59937c09c125e0d76e31ab5a6b8145
|
| 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/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
|
Security for MimV6 1.0.0
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.