Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 afl-fuzzer 对程序进行模糊测试。但是,我需要模糊器将输入文件提供给带有特定标志的程序(例如--flag input-file.xxx)。有没有办法做到这一点 ?谢谢!
您可以使用语法
afl-fuzz -i in-dir -o out-dir -other -afl -parameters -- ./your-program --flag @@
AFL 将替换@@为输入文件名。
@@
或者您可以指定-f filenameAFL 选项并在程序的参数、配置文件、环境变量中指定该文件名——任何地方。默认情况下,AFL 将输入传递给stdin被测程序。
-f filename
stdin