Skip to content

Instantly share code, notes, and snippets.

View ClassErased's full-sized avatar
:shipit:
shipit

Aaron ClassErased

:shipit:
shipit
View GitHub Profile
@ClassErased
ClassErased / VLANHopperDTP.py
Created October 9, 2022 00:16 — forked from zpaav/VLANHopperDTP.py
VLAN Hopping via DTP Trunk (Switch) Spoofing exploit - script automating full VLAN Hopping attack, from DTP detection to VLAN Hop with DHCP lease request.
#!/usr/bin/python
#
# This script is performing DTP Trunk mode detection and VLAN Hopping
# attack automatically, running sniffer afterwards to collect any other
# VLAN available. To be launched only in Unix/Linux environment as the
# script utilizes following applications:
# - 8021q.ko
# - vconfig
# - ifconfig / ip / route