ne:scapy_teredo-paket
#! /usr/bin/env python import sys from scapy.all import * ## TereAuthHdr='0001' ## nicht aendern ClientIdLen='00' AuthValLen='00' NonceValue='0000000000000000' ConfirmByte='00' TereOrgIndHdr='0000' ## nicht aendern OrgUDPport='f226' OrgIPAdr='72bffffd' ## IPv4 Adresse Hex invertiert ## Teredo=TereAuthHdr+ClientIdLen+AuthValLen+NonceValue+ConfirmByte+TereOrgIndHdr+OrgUDPport+OrgIPAdr Teredo=Teredo.decode("hex") ## i4=IP(dst='141.64.1.1') p=UDP(sport=3544, dport=3545) i6=IPv6(src='fe80::8000:f227:72bf:ff9b', dst='fe80::8000:ffff:ffff:fffd') q=ICMPv6EchoRequest() paket=i4/p/Teredo/i6/q wrpcap('teredo.pcap', paket)
ne/scapy_teredo-paket.txt · Zuletzt geändert: 2017/01/24 18:49 von 127.0.0.1