Ich verwende Kali Linux für die Bereitstellung.
Mein aktueller Code:
Code: Select all
localPort = 24
port = 300
size = 30
localIpv6 = #my local ipv6 address with the interface (%eth0)
dstIpv6 = #ipv6 address of the target device
ip = IPv6(src=localIpv6 , dst = dstIpv6)
tcp = TCP(sport = localPort, dport = port, flags = "S")
raw = Raw(b"x" * size)
packet = ip / tcp / raw
send(packet, iface="eth0", verbose = True)
Ich führe das Skript mit sudo aus und der Ping an das Zielgerät funktioniert. Ich erwarte, ein Paket in Wireshark zu sehen.
Mobile version