winafl icon indicating copy to clipboard operation
winafl copied to clipboard

Quotes stripped out of module arguments

Open akirilov opened this issue 10 years ago • 1 comments

afl-fuzz appears to be stripping quotes out of the module arguments. This makes it impossible to test modules located in file paths that contain spaces. For instance:

C:\Users\akirilov\Desktop\test3>afl-fuzz.exe -i "inputs_small" -o "outputs" -D "C:\DynamoRIO-Windows-6.1.1-3\bin64" -t 20000 -- -coverage_module (redacted) -coverage_module (redacted) -coverage_module (redacted) -fuzz_iterations 20000 -target_module (redacted) -target_offset 0x11AC -nargs 2 -- "C:\Program Files\(redacted)" @@
WinAFL 1.01 by <[email protected]>
Based on AFL 1.96b by <[email protected]>
[*] Setting up output directories...
[+] Output directory exists but deemed OK to reuse.
[*] Deleting old session data...
[+] Output dir cleanup successful.
[*] Scanning 'inputs_small'...
[+] No auto-generated dictionary tokens to reuse.
[*] Creating hard links for all input files...
[*] Attempting dry run with 'id_000000'...
ERROR: Failed to create process for "C:\Program": The system cannot find the file specified.

akirilov avatar Sep 29 '16 18:09 akirilov

You're right, that's a bug. It should be fixed in the most recent version (1.02) that I just released.

ivanfratric avatar Sep 30 '16 16:09 ivanfratric