Fersaar / profinet-sniffer

Python scripts to sniff and decode profinet messages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Profinet sniffer/decoder

Python script to sniffs and decodes profinet messages. The mail goal of this project was to get familar with the profinet protocoll.

useful links:

scapy, network capturing

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")

mqtt

paho-mqtt https://github.com/eclipse/paho.mqtt.python

About

Python scripts to sniff and decode profinet messages

License:GNU General Public License v2.0


Languages

Language:Python 100.0%