首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用AFL++进行二进制模糊化

用AFL++进行二进制模糊化
EN

Stack Overflow用户
提问于 2021-05-04 05:58:00
回答 1查看 664关注 0票数 0

我想做一些关于afl++ /二进制模糊化的实验。我安装了它并运行了build_qemu_support.sh,但是如果我试图对二进制文件进行模糊处理,仍然会出现错误消息。

命令:

代码语言:javascript
复制
afl-fuzz -Q -i /usr/tests/ -o /usr/tests/output -- ./bin/apt -d @@

输出:

代码语言:javascript
复制
[+] 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 

怎么啦?

EN

回答 1

Stack Overflow用户

发布于 2021-05-05 10:50:17

错误说找不到./bin/apt。当您想要模糊apt时,请使用./usr/bin/apt代替。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/67379515

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档