mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-04 18:29:26 +00:00
added dislocker
This commit is contained in:
parent
e8de1344aa
commit
bcab6980e7
2 changed files with 17 additions and 0 deletions
14
dislocker/install
Executable file
14
dislocker/install
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
wget http://www.hsc.fr/ressources/outils/dislocker/download/dislocker.tar.bz2
|
||||
tar xvjf dislocker.tar.bz2
|
||||
cd dislocker/src
|
||||
sed 's?override LDFLAGS.*?& -Wl,-rpath,'`pwd`'?' < Makefile > Makefile.tmp && mv Makefile.tmp Makefile
|
||||
make -j $(nproc)
|
||||
cd ../..
|
||||
mkdir bin
|
||||
cd bin
|
||||
ln -s ../dislocker/src/dislocker-bek .
|
||||
ln -s ../dislocker/src/dislocker-file .
|
||||
ln -s ../dislocker/src/dislocker-fuse .
|
||||
ln -s ../dislocker/src/dislocker-metadata .
|
3
dislocker/install-root
Executable file
3
dislocker/install-root
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
apt-get -y install libfuse-dev libpolarssl-dev
|
Loading…
Reference in a new issue