Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/pymodbusNetwork, wireless and telecom

pymodbus

⁨Auth/lab ref: Python library for Modbus TCP and serial communication.⁩

v2026.11.13-21cd5682 installs+2 in 7 days39 Starssynced 11 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/pymodbus

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
uORm//Kj2f…Qd9wCvDQ==The CLI checks the SHA-256 and the signature before it writes a file.
Packagef5ee77d4…8046fddc
f5ee77d4c738…15d48046fddc1 file · ⁦1.0 KB⁩
ScanMedium1 finding
  • No license found
See the full scan
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-tools/network/pymodbus@21cd568

Programmatic Modbus access for the moments when register poking stops being a one-off curiosity.

When to use PyModbus

Use PyModbus when you need to:

  • read coils, discrete inputs, input registers, or holding registers
  • write single or multiple coils/registers in an authorized lab
  • script repeatable ICS/OT probes against Modbus TCP or RTU endpoints

Quick Start

python
from pymodbus.client import ModbusTcpClient

client = ModbusTcpClient("192.168.1.10", port=502)
client.connect()
result = client.read_holding_registers(address=0, count=2, slave=1)
print(result.registers)
client.close()

High-Value Workflows

Read holding registers

python
from pymodbus.client import ModbusTcpClient

client = ModbusTcpClient("192.168.1.10", port=502)
client.connect()
resp = client.read_holding_registers(address=100, count=4, slave=1)
print(resp.registers)
client.close()

Write a register or coil

python
client.write_register(address=10, value=1234, slave=1)
client.write_coil(address=5, value=True, slave=1)

Practical Notes

  • Confirm unit/slave ID, register base, and endianness assumptions before concluding a read is wrong.
  • Read operations are the right first move; write operations should be deliberate and explicitly authorized.
  • Pair with packet captures or device manuals when register meaning is unclear.

Caveats

  • Modbus address numbering in documentation may not match library expectations exactly.
  • Write calls can affect real processes; stay inside lab scope and use safe targets.
  • Timeouts, serial settings, and endian interpretation cause a lot of false negatives.

Resources

No bundled scripts/, references/, or assets/. Use the current PyModbus docs for async clients, serial/RTU examples, and payload decoding helpers.

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesNoNo
Writes filesNoNo
Runs shell commandsNoNo
Uses the networkNoNo
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. MediumLicense · No license found

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v2026.11.13-21cd568Nov 13, 202621cd568f5ee77d4Signed–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login