Skip to content

Commit

Permalink
Merge pull request #72 from fkie-cad/renew-deprecated-kali-signature
Browse files Browse the repository at this point in the history
Renew deprecated kali apt signature
  • Loading branch information
Maspital authored Jan 28, 2023
2 parents 1de73f2 + 3ac086d commit fe4b0c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provisioning/packer/post_install/attacker_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# Enable root account, set password and reboot
touch /tmp/runasroot.sh

echo "apt update" > /tmp/runasroot.sh
echo "wget https://archive.kali.org/archive-key.asc -O /etc/apt/trusted.gpg.d/kali-archive-keyring.asc" > /tmp/runasroot.sh
echo "apt update" >> /tmp/runasroot.sh
echo "apt install kali-root-login" >> /tmp/runasroot.sh
echo "echo 'root:breach' | chpasswd" >> /tmp/runasroot.sh
echo "reboot" >> /tmp/runasroot.sh

echo breach | sudo -S chmod +x /tmp/runasroot.sh
echo breach | sudo -S /tmp/runasroot.sh

0 comments on commit fe4b0c0

Please sign in to comment.