first commit
This commit is contained in:
8
Sniffing_Spoofing/volumes/sniffer.py
Executable file
8
Sniffing_Spoofing/volumes/sniffer.py
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
from scapy.all import *
|
||||
|
||||
def print_pkt(pkt):
|
||||
pkt.show()
|
||||
|
||||
print("Sniffing ICMP packets from spoofed IP 1.2.3.4...")
|
||||
pkt = sniff(iface='br-c031fbf1a197', filter='icmp and src host 1.2.3.4', prn=print_pkt, count=1)
|
||||
Reference in New Issue
Block a user