Python script to sniffs and decodes profinet messages. The mail goal of this project was to get familar with the profinet protocoll.
- profinet system description
- simens doc profinet driver
- wireshark profinet implementation
- felser profinet documentation
- scapy documentation
- scapy profinet support
https://github.com/secdev/scapy (GPL2)
scapy profinet capturing secdev/scapy#1491
from scapy.all import *
from scapy.contrib.pnio import *
f = "udp and port 8892"
f = "ether proto 0x8892"
a = sniff(count=1,filter=f,iface="eth0")