Closed haowayne closed 1 year ago
It throws an error after a long time in afl.
[-] Hmm, looks like the target binary terminated before we could complete a handshake with the injected code. Perhaps there is a horrible bug in the fuzzer. Poke lcamtuf@coredump.cx for troubleshooting tips.
[-] PROGRAM ABORT : Fork server handshake failed Location : init_forkserver(), afl-fuzz.c:2253
I have encountered this problems days ago and I successfully fixed it. Here are some suggestions
mipseb
, you should write ARCH=mips in python FirmAFL_setup.py, xxxx,$(ARCH), NOT MIPSEB
I try to run the given firmware DIR-850L, and make some corrections for firm_id according to firmadyne's output. But when coming to afl-fuzz, it stucked at the point of "Spinning up the fork server". How can I fix it? Or did I do something wrong for the configuration?
[+] sending buffer size 3199 ./afl-fuzz -m none -t 800000+ -Q -i ./inputs -o ./outputs -x keywords afl-fuzz 2.52b by <lcamtuf@google.com> [+] You have 1 CPU core and 0 runnable tasks (utilization: 0%). [*] Setting up output directories... [+] Output directory exists but deemed OK to reuse. [*] Deleting old session data... [+] Output dir cleanup successful. [*] Scanning './inputs'... [+] No auto-generated dictionary tokens to reuse. [*] Creating hard links for all input files... [*] Loading extra dictionary from 'keywords' (level 0)... [+] Loaded 158 extra tokens, size range 4 B to 126 B. [!] WARNING: Some tokens are relatively large (126 B) - consider trimming. [*] Validating target binary... [*] Attempting dry run with 'id:000000,orig:seed'... dry run:./outputs/queue/id:000000,orig:seed [*] Spinning up the fork server...