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.
2e05a761bb9cd1d0a9065aee8f768de041e8a46147d86dc93c4cd96fc471e642