mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 18:29:26 +00:00
bunch of fixes to get things to build
This commit is contained in:
parent
c6d1f24c57
commit
5af71a1a9f
8 changed files with 24 additions and 20 deletions
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
git clone --depth 1 https://github.com/trailofbits/codereason
|
git clone --depth 1 https://github.com/trailofbits/codereason
|
||||||
cd codereason
|
cd codereason
|
||||||
|
find . -type f -exec sed -i 's:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain::g' {} \;
|
||||||
./install_vex.sh
|
./install_vex.sh
|
||||||
|
# This step fails in travis-ci because of CMake 3.2 not finding Boost, while docker has CMake 2.8 which finds Boost just fine
|
||||||
./make.sh
|
./make.sh
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
apt-get -y install build-essential gcc g++ make cmake libboost-dev libprotobuf-dev protobuf-compiler libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-regex-dev
|
apt-get -y install build-essential gcc g++ make cmake libboost-dev libprotobuf-dev protobuf-compiler libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-date-time-dev libboost-regex-dev libboost-all-dev
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,18 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
wget http://www.hsc.fr/ressources/outils/dislocker/download/dislocker.tar.bz2
|
wget -O dislocker.tar.gz https://github.com/Aorimn/dislocker/archive/v0.7.1.tar.gz
|
||||||
tar xjf dislocker.tar.bz2
|
tar xf dislocker.tar.gz
|
||||||
cd dislocker/src
|
DISLOCKERDIR=$(ls -d dislocker-*)
|
||||||
sed 's?override LDFLAGS.*?& -Wl,-rpath,'`pwd`'?' < Makefile > Makefile.tmp && mv Makefile.tmp Makefile
|
cd $DISLOCKERDIR
|
||||||
|
|
||||||
|
cmake .
|
||||||
make -j $(nproc)
|
make -j $(nproc)
|
||||||
cd ../..
|
cd ..
|
||||||
mkdir bin
|
mkdir bin
|
||||||
cd bin
|
cd bin
|
||||||
ln -s ../dislocker/src/dislocker-bek .
|
ls -l ../$DISLOCKERDIR/src/
|
||||||
ln -s ../dislocker/src/dislocker-file .
|
|
||||||
ln -s ../dislocker/src/dislocker-fuse .
|
ln -s ../$DISLOCKERDIR/src/dislocker-bek .
|
||||||
ln -s ../dislocker/src/dislocker-metadata .
|
ln -s ../$DISLOCKERDIR/src/dislocker-file .
|
||||||
|
ln -s ../$DISLOCKERDIR/src/dislocker-fuse .
|
||||||
|
ln -s ../$DISLOCKERDIR/src/dislocker-metadata .
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git
|
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git
|
||||||
ctf-tools-pip install pymysql psycopg2 pysqlite2 python-ntlm
|
ctf-tools-pip install pymysql psycopg2 pysqlite python-ntlm
|
||||||
mkdir bin
|
mkdir bin
|
||||||
cd bin
|
cd bin
|
||||||
ln -s ../sqlmap/sqlmap.py .
|
ln -s ../sqlmap/sqlmap.py .
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
apt-get -y install libsqlite3-dev
|
apt-get -y install libsqlite3-dev libpq-dev
|
||||||
|
|
|
@ -2,13 +2,10 @@
|
||||||
|
|
||||||
INST_DIR="$PWD"
|
INST_DIR="$PWD"
|
||||||
|
|
||||||
#wget -O - http://www.outguess.org/stegdetect-0.6.tar.gz | tar xz
|
git clone --depth 1 https://github.com/AlexandreFournier/stegdetect.git
|
||||||
#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
|
mkdir -p bin etc man/man1 share/stegbreak
|
||||||
cd stegdetect-0.6
|
cd stegdetect
|
||||||
linux32 ./configure --prefix="$INST_DIR"
|
linux32 ./configure --prefix="$INST_DIR"
|
||||||
linux32 make
|
linux32 make
|
||||||
linux32 make install
|
linux32 make install
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
set -eu -o pipefail
|
set -eu -o pipefail
|
||||||
|
|
||||||
apt-get -y install automake1.4
|
apt-get -y install automake1.4 automake autotools-dev libevent-dev
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
git clone --depth 1 https://github.com/acama/xrop.git
|
git clone --depth 1 https://github.com/acama/xrop.git
|
||||||
cd xrop
|
cd xrop
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
make -j $(nproc)
|
make -j 1 # Watch out!! -j $(nproc) makes the build fail
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
mkdir bin
|
mkdir bin
|
||||||
cd bin
|
cd bin
|
||||||
ln -s ../xrop/xrop .
|
ln -s ../xrop
|
||||||
cd ..
|
cd ..
|
||||||
|
|
Loading…
Reference in a new issue