mirror of
https://github.com/zardus/ctf-tools
synced 2025-03-13 21:37:04 +00:00
21 lines
532 B
Bash
Executable file
21 lines
532 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
INST_DIR="$PWD"
|
|
|
|
git clone --depth 1 https://github.com/sparticvs/stegdetect
|
|
|
|
mkdir -p bin etc man/man1 share/stegbreak
|
|
pushd stegdetect
|
|
git remote set-branches origin '*'
|
|
git fetch -v --depth=1
|
|
git checkout dev/fix-compilation
|
|
git apply ../statics.patch
|
|
linux32 autoreconf -i -f
|
|
# what the actual fuck
|
|
linux32 ./configure --prefix="$INST_DIR"
|
|
sed -i -e "s/#ifndef HAVE_TIMERADD//" config.h
|
|
linux32 make
|
|
linux32 make install
|
|
popd
|
|
|
|
wget https://launchpadlibrarian.net/16697277/rules.ini -O share/stegbreak/rules.ini
|