Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Scapy ping between two IPs that do not belong to my server

tcpdump -nn host 8.8.8.8 -i any
tcpdump -nn host 8.8.8.8
import scapy.all as scapy

scapy.send(scapy.IP(dst="8.8.8.8", src="7.7.7.7")/scapy.ICMP())
10:25:42.357691 IP 7.7.7.7 > 8.8.8.8: ICMP echo request, id 0, seq 0, length 8