小白初学AFL(American Fuzzy Lop)
在执行sudo make install的失败
提醒错误如上。
ommand 'afl' not found的错误。最后发现afl -fuzz多了个空格去掉后执行成功。
在执行afl-fuzz -i testcase -o output ./afl_test又出错了。
又去借鉴文章
afl-fuzz -i in -o out ./test的指令也发生了同样的错误。
est@ubuntu:~/AFL/AFLTest$ sudo afl-fuzz -i in -o out ./test
afl-fuzz 2.52b by <lcamtuf@google.com>
[+] You have 4 CPU cores and 3 runnable tasks (utilization: 75%).
[+] Try parallel jobs - see /usr/local/share/doc/afl/parallel_fuzzing.txt.
[*] Checking CPU core loadout...
[+] Found a free CPU core, binding to #0.
[*] Checking core_pattern...
[-] Hmm, your system is configured to send core dump notifications to an
external utility. This will cause issues: there will be an extended delay
between stumbling upon a crash and having this information relayed to the
fuzzer via the standard waitpid() API.
To avoid having crashes misinterpreted as timeouts, please log in as root
and temporarily modify /proc/sys/kernel/core_pattern, like so:
echo core >/proc/sys/kernel/core_pattern
[-] PROGRAM ABORT : Pipe at the beginning of 'core_pattern'
Location : check_crash_handling(), afl-fuzz.c:7275
test@ubuntu:~/AFL/AFLTest$
对于该问题在下面文章帮助下完成了。
Linux下安装AFL && 报错“Pipe at the beginning of ‘core_pattern’“解决方案
afl-fuzz技术初探 - M4x - 博客园afl-fuzz技术初探https://www.cnblogs.com/WangAoBo/p/8280352.html