Minor changes
This commit is contained in:
parent
0d69b630f8
commit
3dd9967f47
2
build.sh
2
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user