mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 22:42:38 +00:00
12 lines
329 B
Bash
Executable file
12 lines
329 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
wget https://downloads.sourceforge.net/project/reveng/1.5.1/reveng-1.5.1.tar.gz
|
|
tar -xf reveng-1.5.1.tar.gz
|
|
cd reveng-1.5.1
|
|
sed -i -e "s/^#define BMP_BIT.*/#define BMP_BIT 64/" config.h
|
|
sed -i -e "s/^#define BMP_SUB.*/#define BMP_SUB 32/" config.h
|
|
make -j $(nproc)
|
|
cd ..
|
|
|
|
mkdir -p bin
|
|
cp reveng-1.5.1/reveng bin
|