| |
---|
| | ## in this folder |
---|
| | - `enum_all.py`, script take IP as input and brute force against all the registers. Identified valid registered will be exported to excel file. Modified registers written back to origional values! |
---|
| | - `monitor_multiple.py`, monitor several modbus addresses with a configurable interval and pretty colours |
---|
| | - `set_coil.py`, set a specific coil value, loop option available |
---|
| | - `set_reg.py`, set a specific register value, loop option available |
---|
| | - `GRFICS_bang.py`, GRFICS PoC to destroy the chemical plant via modbus. |
---|
| | |
---|
| | ## recommendations: |
---|
| | - `https://github.com/sourceperl/mbtget`, Simple perl script for make some modbus transaction from the command line. |
---|
| | |
---|
| |
---|
| | ------------------ |
---|
| | [coils:[0][1][0][0][0][0][0]][hold regs:[ 13][ 666][ ][ ][ ][ ][ ]] |
---|
| | |
---|
| | ``` |
---|
| | |
---|
| | ## set_coil.py |
---|
| | ``` |
---|
| | $> python set_coil.py -h |
---|
| | usage: set_coil.py [-h] -i IPADDRESS [-p PORT] -c COIL [-tr] [-l] [-t TIMEOUT] |
---|
| |
---|
| | |
---|
| | $> python set_coil.py -i 192.168.95.2 -c 5 -tr |
---|
| | |
---|
| | ``` |
---|
| | |
---|
| | ## set_reg.py |
---|
| | ``` |
---|
| | $> python set_reg.py -h |
---|
| | usage: set_reg.py [-h] -i IPADDRESS [-p PORT] -r REG -v VAL [-l] [-t TIMEOUT] |
---|
| | |
---|
| | optional arguments: |
---|
| | -h, --help show this help message and exit |
---|
| | -i IPADDRESS, --ipaddress IPADDRESS |
---|
| | Input IP Address |
---|
| | -p PORT, --port PORT Port Number |
---|
| | -r REG, --reg REG Register Number |
---|
| | -v VAL, --val VAL Register Value |
---|
| | -l, --loop loop on |
---|
| | -t TIMEOUT, --timeout TIMEOUT |
---|
| | request every X seconds |
---|
| | |
---|
| | ``` |
---|
| | |