how to use pjf fuzz a json parse binary ?
i am learning fuzz. when i try use pjf to fuzz pjf.
[~/fuzz]$ pjf --P "./jq" -p "-r ."
Starting PyJFuzz - Mobile Security Lab 2016
| __ \ | | | | |) | _ | | | _ _ ________ | / | | | | | | | | | / / | | | || | |_| | | | || |/ / / / || _, |_/|| _,//| v1.1.2 / | |/
Author: Daniele 'dzonerzy' Linguaglossa Mail: [email protected]
[ERROR]: 'bool' object has no attribute 'getitem'.
what happend?
I am trying to fuzz a binary https://github.com/amzn/ion-c. Is there a way to fuzz into a file and then run the ./jsonparser on the file?
pjf --auto --no-logo > f
while [ $? -eq 0 ]; do
echo "fuzzing"
pjf --auto --no-logo > f
./jsonparsebyargument f
done
echo "found crash"
This is the script I am using now. Is there a built-in feature that does this?