wh1t3h47 / afl_pidgin

Fuzz pidgin dbus by using AFL++ and clang's ASAN
3 stars 0 forks source link

Install error #1

Open devcoinfet opened 3 years ago

devcoinfet commented 3 years ago

Hi I am trying to install this to play with and got all the depends installed now this can you help? Making all in pidgin make[2]: Entering directory '/root/afl_pidgin/pidgin-2.14.5/pidgin' Makefile:1435: missing separator. Stop. make[2]: Leaving directory '/root/afl_pidgin/pidgin-2.14.5/pidgin' make[1]: [Makefile:631: all-recursive] Error 1 make[1]: Leaving directory '/root/afl_pidgin/pidgin-2.14.5' make: *** [Makefile:535: all] Error 2

wh1t3h47 commented 3 years ago

Hello. This issue is related to the MakeFile, the identation is wrong I wonder why it didn't warn me when I was building... To fix this issue, please replace spaces with tabs in the makefile In a few hours I'll issue a fix.

Please, note that fuzzing is a dangerous process and may harm your computer, it's recommended that you use a virtual environment (systemd-nspawn for low ram, chroot, virtualbox, etc) or you can patch the binary with preeny

This approach may be inefficient for finding bugs, because it fuzzes pidgin over a bus (dbus), which is not the recommended way to fuzz a software via afl, it's pretty hard to fuzz GUI applications

wh1t3h47 commented 3 years ago

Hey @devcoinfet, I cannot determine the origin of the issue, pidgin compiles fine for me, running ./configure again removes the hacks to compile with afl, you may want to run ./configure and then recreate the makefile with the changes listed in git diff

I tried to locate the lines and check if there are any spaces where should be tabs, or the opposite, but I have failed to see the issue, what system are you using? I'll try to install it in a container

Can you please paste the full output of the logs? Is that all?

You may also run the code inside a Debian container, I used Kali Linux (Debian unstable)