我想做一些关于afl++ /二进制模糊化的实验。我安装了它并运行了build_qemu_support.sh,但是如果我试图对二进制文件进行模糊处理,仍然会出现错误消息。
命令:
afl-fuzz -Q -i /usr/tests/ -o /usr/tests/output -- ./bin/apt -d @@输出:
[+] Loaded environment variable AFL_SKIP_CPUFREQ with value 1
[+] Loaded environment variable AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES with value 1 afl-fuzz++3.13a based on afl by Michal Zalewski and a large online community
[+] afl++ is maintained by Marc "van Hauser" Heuse, Heiko "hexcoder" Eißfeldt, Andrea Fioraldi and Dominik Maier
[+] afl++ is open source, get it at https://github.com/AFLplusplus/AFLplusplus
[+] NOTE: This is v3.x which changes defaults and behaviours - see README.md
[+] No -M/-S set, autoconfiguring for "-S default"
[*] Getting to work...
[+] Using exponential power schedule (FAST)
[+] Enabled testcache with 50 MB
[*] Checking core_pattern...
[+] You have 4 CPU cores and 1 runnable tasks (utilization: 25%).
[+] Try parallel jobs - see /usr/local/share/doc/afl/parallel_fuzzing.md.
[*] Setting up output directories...
[+] Output directory exists but deemed OK to reuse.
[*] Deleting old session data...
[+] Output dir cleanup successful.
[*] Checking CPU core loadout...
[+] Found a free CPU core, try binding to #0.
[*] Scanning '/usr/tests/'...
[*] Scanning '/usr/tests//output'...
[*] Scanning '/usr/tests//output/default'...
[*] Scanning '/usr/tests//output/default/crashes'...
[*] Scanning '/usr/tests//output/default/hangs'...
[*] Scanning '/usr/tests//output/default/queue'...
[+] Loaded a total of 4 seeds.
[*] Creating hard links for all input files...
[*] Validating target binary...
[-] PROGRAM ABORT : Program './bin/apt' not found or not executable
Location : check_binary(), src/afl-fuzz-init.c:2579 怎么啦?
发布于 2021-05-05 10:50:17
错误说找不到./bin/apt。当您想要模糊apt时,请使用./usr/bin/apt代替。
https://stackoverflow.com/questions/67379515
复制相似问题