December 29, 2021 | 14:15

Installing sasquatch on Kali Linux

There are some hurdles to overcome when installing sasquatch on Kali Linux. Here are the steps to follow along.

First, clone the repo:

$ git clone https://github.com/devttys0/sasquatch && cd sasquatch

Remove -Werror from the Makefile in order to don’t treat an indentation warning as error:

# Remove "-Werror" from diff file
$ ADDLINE="sed -i 's/-Wall -Werror/-Wall/g' patches/patch0.txt"
# Insert line before "make" is executed
$ sed -i "/^tar -zxvf.*/a $ADDLINE" ./build.sh

Furthermore, there are mulitple definition errors when running ./build.sh, which are the result of a default change in gcc from -fcommon to -fno-common. As a workaround, build the project as follows:

$ CFLAGS=-fcommon ./build.sh

© Pavel Pi 2021

Powered by Hugo & Kiss'Em.