Aim:
- I am trying to setup and run
Afl Fuzzer(link), as part of following an online course.
Info:
- I'm running
Ubuntu 14.04on dvd. - In the video the teacher uses the
BinUtils2.25package, and I chose to use the latest version2.26. - I don't have much experience with compiling / making software.
Steps I followed:
- Downloaded the latest version of
BinUtilsto the Desktop (/home/ubuntu/Desktop) - Unpacked BinUtils folder using
tarvia Terminal. - Used
maketo try to create the program in the unpacked folder on the Desktop, which I think worked. - Downloaded the latest version of
afl-latest.tgzfrom here to/home/ubuntu/. - Unpacked afl-latest.tgz using
tarvia Terminal. - Used
maketo try to create the program in/home/ubuntu/afl-2.08b, which I think worked.
Problems:
- The output using
ls -aof that folder is significantly different to the output shown on the video (ie I don't have all of the files that the Teacher has shown) aftermakehas been run. - Get error
bash: ./configure: No such file or directorywhen in the folder/home/ubuntu/afl-2.08b/, and try to run the following command:CC=afl-gcc ./config. Theafl-gcc.cfile exists in the folder. Do I need to try./configure --prefix=/home/ubuntu/afl-2.08b/? Cannot compile executableserror message.
What I've tried:
- Tried to find out which folder for Binutils I should be in for doing the
make. It's not clear from the online course, and there are several similarly named folders. Searches have not been fruitful thus far. - Posted question re the BinUtils folder on Course chat area for the video in question.
- Sent email asking where BinUtils folder is to the course provider.
- Read the
Readmefile forBinUtils. - Read the
Readmefile forafl-2.08b. - Googled
cannot compile executables
I wasn't sure whether this is my inexperience of using Ubuntu terminal commands, or trying to follow unclear instructions.
What I haven't tried yet:
- Installed latest version of gcc
Update:
I got it working in the end. I think I should have been running ./configure when in the /binutils folder.
I also forgot to do:
1) chmod 777 -R on each of the folders 2) sudo make install