ctf-tools/dislocker/install
2017-02-16 22:45:02 +01:00

18 lines
432 B
Bash
Executable file

#!/bin/bash -ex
wget -O dislocker.tar.gz https://github.com/Aorimn/dislocker/archive/v0.7.1.tar.gz
tar xf dislocker.tar.gz
DISLOCKERDIR=$(ls -d dislocker-*)
cd $DISLOCKERDIR
cmake .
make -j $(nproc)
cd ..
mkdir bin
cd bin
ls -l ../$DISLOCKERDIR/src/
ln -s ../$DISLOCKERDIR/src/dislocker-bek .
ln -s ../$DISLOCKERDIR/src/dislocker-file .
ln -s ../$DISLOCKERDIR/src/dislocker-fuse .
ln -s ../$DISLOCKERDIR/src/dislocker-metadata .