Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Fuzz with multiple input file #145

Open
2raghu opened this issue Aug 9, 2021 · 0 comments
Open

Fuzz with multiple input file #145

2raghu opened this issue Aug 9, 2021 · 0 comments

Comments

@2raghu
Copy link

2raghu commented Aug 9, 2021

My program takes multiple inputs at different stages. I pass the inputs via file. The file(say inputfile.data) contents look as below format example.
123
root/abc.xml
0
15 12 0 0 22 33 11
345
7890

Example execution of my program:
./myprog < inputfile.data

Now when I tried to fuzz my program I copied the inputfile.data into the inputs directory and ran below command
afl-fuzz -i inputs -o testprog -m none -- ./myprog < @@
When I looked into the generated inputs, I think AFL is taking only the first line of inputfile.data i.e 123 from above example.
How can I make AFL to consider all the inputs in the file in order to fuzz my program ?
Is it possible to skip few inputs from file(say root/abc.xml from above example) and consider only other inputs of inputfile.data ?
Please help.
Thanks

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

No branches or pull requests

1 participant