Replies: 2 comments 1 reply
-
Hi, if you want to add extra parameters for The boofuzz/boofuzz/primitives/bytes.py Lines 146 to 151 in 6340630 boofuzz/boofuzz/primitives/bytes.py Lines 164 to 179 in 6340630 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for the hint!
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello to the Community
I am trying to figure out how to add a custom option in s_bytes primitive.
Since I am fuzzing against a device by reading and writing registers in its memory, I would like to skip a specific register address which would change the device IP and make it unreachable, blocking the fuzzing process.
One s_block of the payload has one entry like this:
s_bytes(value=bytes([0x00, 0x00]), size=2, max_len=2, name="reg_addr")
The idea is to add an extra parameter like:
s_bytes(value=b"", size=None, padding=b"\x00", fuzzable=True, max_len=None, name=None, forbidden_val=b""):
I would like to ask the Community where to look for in the code in order to try to implement this.
I have already found a candidate function:
def get_mutations(self):
in fuzzable.py
but it is not really clear how this recursive algorithm works.
Thanks for hints
Best
Raffaello
Beta Was this translation helpful? Give feedback.
All reactions