boofuzz-modbus
boofuzz-modbus copied to clipboard
boofuzz.sex.SullyRuntimeError: Can't add repeater for non-existent block: read_coil_memory!
When running it, it will throw error for read_coil_memory:
Traceback (most recent call last):
File "modbus.py", line 333, in <module>
main()
File "modbus.py", line 32, in main
s_repeat("read_coil_memory",min_reps=1,max_reps=255)
File "/usr/local/lib/python2.7/site-packages/boofuzz/__init__.py", line 274, in s_repeat
repeat = Repeat(block_name, blocks.CURRENT, min_reps, max_reps, step, variable, fuzzable, name)
File "/usr/local/lib/python2.7/site-packages/boofuzz/blocks/repeat.py", line 56, in __init__
"Can't add repeater for non-existent block: %s!" % self.block_name
boofuzz.sex.SullyRuntimeError: Can't add repeater for non-existent block: read_coil_memory!
Running it in python 3 shows another error:
Traceback (most recent call last):
File "modbus.py", line 333, in <module>
main()
File "modbus.py", line 14, in main
session = Session(
NameError: name 'Session' is not defined
I run it in python 2.7 , I suggest you have to reintstall boofuzz
Did it, it did not solve the issue. As you can see in the error, I already have a Python 2.7
I try , I found there are some bug in the code , give me some time i need to modify it
I am having the same issue
line 27 is a mix of line 43 and 57. I changed it to look more like line 43 and that seemed to fix it.
Thank you
Phildings [email protected] 于2019年6月21日周五 上午4:17写道:
line 27 is a mix of line 43 and 57. I changed it to look more like line 43 and that seemed to fix it.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/youngcraft/boofuzz-modbus/issues/1?email_source=notifications&email_token=AJGCVHOTSSBAJAY66KDU4SLP3PQTZA5CNFSM4FLTYUP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYGPW6Y#issuecomment-504167291, or mute the thread https://github.com/notifications/unsubscribe-auth/AJGCVHIITAXNQBHZDVS37TTP3PQTZANCNFSM4FLTYUPQ .