ctf-tools/stegdetect/install
Steven Van Acker 7144e756e5 fail hard on any error + verify that all scripts use bash -ex to fail
early on any error + anticipate that some tools can't be installed by
now, but we still want the test to return success to satisfy travis-ci
2017-02-16 22:40:17 +01:00

17 lines
571 B
Bash
Executable file

#!/bin/bash -ex
INST_DIR="$PWD"
#wget -O - http://www.outguess.org/stegdetect-0.6.tar.gz | tar xz
#cd stegdetect-0.6
git clone --depth 1 https://github.com/abeluck/stegdetect stegdetect-0.6
wget -O - http://archive.debian.org/debian-archive/debian/pool/main/s/stegdetect/stegdetect_0.6-3.tar.gz | tar xz stegdetect-0.6/file/Magdir/varied.out
mkdir -p bin etc man/man1 share/stegbreak
cd stegdetect-0.6
linux32 ./configure --prefix="$INST_DIR"
linux32 make
linux32 make install
cd ..
wget https://launchpadlibrarian.net/16697277/rules.ini -O share/stegbreak/rules.ini