Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove spaces from modbus request variable names to fix RuntimeError #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fuzzowski/fuzzers/modbus/modbus.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def define_nodes(*args, **kwargs) -> None:
s_byte(0xff,name='unit Identifier',fuzzable=False)
with s_block('pdu'):
s_byte(0x01,name='funcCode read coil memory',fuzzable=False)
s_word(0x0000,name='start address')
s_word(0x0000,name='start_address')
s_word(0x0000,name='quantity')


Expand All @@ -57,7 +57,7 @@ def define_nodes(*args, **kwargs) -> None:
s_byte(0xff,name='unit Identifier',fuzzable=False)
with s_block('read_holding_registers_block'):
s_byte(0x01,name='read_holding_registers')
s_word(0x0000,name='start address')
s_word(0x0000,name='start_address')
s_word(0x0000,name='quantity')
# --------------------------------------------------------------- #

Expand Down