Created
February 22, 2022 05:51
-
-
Save feiskyer/d444e41602a52501acbf0843c3609f0b to your computer and use it in GitHub Desktop.
ARP Responder (with python)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # sudo apt install -y python3-scapy | |
| from __future__ import print_function | |
| from scapy.all import * | |
| iface = "vxlan42" | |
| vxlan_mac = get_if_hwaddr(iface) | |
| def handle_packet(packet): | |
| if packet[ARP].op == ARP.who_has: | |
| print(packet.summary()) | |
| reply = ARP(op=ARP.is_at, hwsrc=vxlan_mac, hwdst=packet.src, psrc=packet.pdst, pdst=packet.psrc) | |
| go = Ether(dst=packet.src, src=vxlan_mac) / reply | |
| sendp(go, iface=iface) | |
| return | |
| sniff(iface=iface, filter="arp",prn=handle_packet) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script Roblox download has become one of the most sought-after titles among players who want to enhance their gameplay with custom features, automation, and special benefits within their Roblox experiences. With the platform constantly evolving, using updated and reliable scripts is essential to ensure performance, compatibility, and safety while playing.