Keygen cross compilation

This commit is contained in:
Giulio 2020-09-08 15:44:25 +02:00
parent d43cda2932
commit 0258b7cfb7
2 changed files with 7 additions and 1 deletions

View File

@ -44,6 +44,12 @@ Per Debian 10, installare
sudo apt install -t build-essential libncurses-dev bison flex libssl-dev libelf-dev
```
Per la cross compilazioen del keygen su ARM installare
```
sudo apt install crossbuild-essential-arm64
```
Eseguire da utente normale
```
./build.sh

View File

@ -41,7 +41,7 @@ chmod 400 target/overlay/root/flag
echo "[+] Building the keygen"
mkdir -p target/overlay/usr/sbin
gcc -o target/overlay/usr/sbin/cfgbin keygen/keygen.c -static -lm
aarch64-linux-gnu-gcc -o target/overlay/usr/sbin/cfgbin keygen/keygen.c -static -lm
strip target/overlay/usr/sbin/cfgbin
echo "[+] Generating Update Key"