Hi all any help would be greatly appreciated.
I am conducting a software testing emprical study and attempting to fuzz openssl1.1.0f with afl.
the files I want to use as input are the ones that come /testcases/ folder with AFL.
After extracting the openssl tar into a folder I ran the follwing 2 commands to instrument.
CC=afl-clang-fast ./config enable-fuzz-afl no-shared -DPEDANTIC
enable-weak-ssl-ciphers enable-rc5 enable-md2
enable-ssl3 enable-ssl3-method enable-nextprotoneg
enable-ec_nistp_64_gcc_128 -fno-sanitize=alignment --debug
make
I believe that worked correctly
however I can't run the tool!
I'm attempting to do so by issuing
afl-fuzz -i /home/filmon/afl/testcases/ -o ~/afl/openssl/openssl-1.1.0f/out -- /can't/figure/out/what/goes/here/@@
I understand its the /path/to/fuzzed/app I'm not properly speficiying.
the current path to openssl I want to test is ~/afl/openssl/openssl-1.1.0f/ however when I use that I get the following
filmon@Momento-Mori:~/afl$ afl-fuzz -i /home/filmon/afl/testcases/ -o ~/afl/openssl/openssl-1.1.0f/out ~afl/testcases/@@
afl-fuzz 2.52b by <
lca...@google.com>
[+] You have 8 CPU cores and 1 runnable tasks (utilization: 12%).
[+] Try parallel jobs - see /usr/local/share/doc/afl/parallel_fuzzing.txt.
[*] Checking CPU core loadout...
[+] Found a free CPU core, binding to #0.
[*] Checking core_pattern...
[*] Checking CPU scaling governor...
[*] Setting up output directories...
[+] Output directory exists but deemed OK to reuse.
[*] Deleting old session data...
[+] Output dir cleanup successful.
[*] Scanning '/home/filmon/afl/testcases/'...
[+] No auto-generated dictionary tokens to reuse.
[*] Creating hard links for all input files...
[*] Validating target binary...
[-] PROGRAM ABORT : Program '~afl/testcases/@@' not found or not executable
Location : check_binary(), afl-fuzz.c:6821
That is where all the files where extracted to. I used wget and tar to get these files. I am running Ubuntu 16.04
any help would be MUCH appreciated.