mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 08:24:12 +00:00
18 lines
432 B
Bash
Executable file
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 .
|