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

how to use pjf fuzz a json parse binary ? #13

Open
greyd0g opened this issue Nov 20, 2018 · 2 comments
Open

how to use pjf fuzz a json parse binary ? #13

greyd0g opened this issue Nov 20, 2018 · 2 comments

Comments

@greyd0g
Copy link

greyd0g commented Nov 20, 2018

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: d.linguaglossa@mseclab.com

[ERROR]: 'bool' object has no attribute 'getitem'.

what happend?

@docfate111
Copy link

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
Copy link

docfate111 commented Dec 8, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants