PyJFuzz icon indicating copy to clipboard operation
PyJFuzz copied to clipboard

how to use pjf fuzz a json parse binary ?

Open greyd0g opened this issue 7 years ago • 2 comments

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?

greyd0g avatar Nov 20 '18 01:11 greyd0g

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?

docfate111 avatar Dec 08 '20 03:12 docfate111

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?

docfate111 avatar Dec 08 '20 03:12 docfate111