ctf-tools/dislocker/install

19 lines
432 B
Text
Raw Normal View History

#!/bin/bash -ex
2015-05-10 07:19:14 +00:00
2017-02-16 21:45:02 +00:00
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 .
2015-05-10 07:19:14 +00:00
make -j $(nproc)
2017-02-16 21:45:02 +00:00
cd ..
2015-05-10 07:19:14 +00:00
mkdir bin
cd bin
2017-02-16 21:45:02 +00:00
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 .