Scapy is a powerful interactive packet manipulation program.
# SCRIPT #!/usr/bin/python from scapy.all import IP, TCP, send src_ip = "192.168.0.10" dst_ip = "37.59.174.235" src_port = 1972 dst_port = 1337 ip = IP(src=src_ip, dst=dst_ip) syn_packet = TCP(sport=src_port,dport=dst_port,flags="S",seq=0) resp = send(ip/syn_packet) # OUTPUT SAMPLE . Sent 1 packets.
Last updated 4 years ago
Was this helpful?