smod is a modular framework with every kind of diagnostic and offensive feature you could need in order to pentest the modbus protocol. It is a full modbus protocol implementation using Python and Scapy. This software can be run on Linux/OSX under python 2.7.x.
b4b32ad85928b3e1070dab8489ec2677653a4673c05a81f97e61cbbee9170e50