From 3dd9967f4750dc4e1d43c8009d5045bdcd5e91c1 Mon Sep 17 00:00:00 2001 From: Giulio Date: Sun, 19 Jul 2020 16:22:28 +0200 Subject: [PATCH] Minor changes --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 12489ce..e3289ae 100755 --- a/build.sh +++ b/build.sh @@ -15,6 +15,7 @@ flag1="cc{prima_flag}" flag2="cc{seconda_flag}" flag3="cc{terza_flag}" +password=`hexdump -n 32 -e '4/4 "%08X"' /dev/urandom` echo "[+] Starting build script..." mkdir -p target/overlay/var/www/html @@ -53,7 +54,6 @@ cp target/keys/sshkey target/overlay/root/.ssh/authorized_keys chmod -R 600 target/overlay/root/.ssh/ echo "[+] Generating the root password" -password=`hexdump -n 32 -e '4/4 "%08X"' /dev/urandom` hash=`mkpasswd $password` echo $password > target/keys/rootpassword