afl-fuzz input from stdin

2,531 views
Skip to first unread message

6231...@qq.com

unread,
Sep 9, 2016, 4:18:58 AM9/9/16
to afl-users
my test use input from stdin,my order is"afl-fuzz -i in -o ou ./a.out",the contents in has no file because I want use stdin,but it's wrong,please tell me how to use it
QQ图片20160909161537.png

Eirini Psallida

unread,
Sep 9, 2016, 5:21:11 AM9/9/16
to afl-...@googlegroups.com
Hi,

You should add some test cases in your 'in' folder otherwise afl won't run. As it is written in the main documentation:

```
For target binaries that accept input directly from stdin, the usual syntax is:

$ ./afl-fuzz -i testcase_dir -o findings_dir /path/to/program [...params...]
```
So in your case you should run:
afl-fuzz -i in -o ou ./a.out

Cheers,
Eirini

On Fri, Sep 9, 2016 at 10:18 AM, <6231...@qq.com> wrote:
my test use input from stdin,my order is"afl-fuzz -i in -o ou ./a.out",the contents in has no file because I want use stdin,but it's wrong,please tell me how to use it

--
You received this message because you are subscribed to the Google Groups "afl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to afl-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

future

unread,
Sep 9, 2016, 5:25:55 AM9/9/16
to afl-users
I don't understand,if i put the testcase into 'in' folder,how do I input my testcase from keyboard...
sorry I'm a noob


------------------ 原始邮件 ------------------
发件人: "Eirini Psallida";<eirini....@gmail.com>;
发送时间: 2016年9月9日(星期五) 下午5:21
收件人: "afl-users"<afl-...@googlegroups.com>;
主题: Re: [afl-users] afl-fuzz input from stdin
You received this message because you are subscribed to a topic in the Google Groups "afl-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/afl-users/xMgG0lAY8vM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to afl-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages