Skip to content

Instantly share code, notes, and snippets.

@zainulhasan
Last active January 19, 2021 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zainulhasan/f7b189528737d876014516f6b9eef171 to your computer and use it in GitHub Desktop.
Save zainulhasan/f7b189528737d876014516f6b9eef171 to your computer and use it in GitHub Desktop.
Install kali linux on vps (Tested on Digitalocean)
#! /bin/bash
printf "Installing kali ... " >&2
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
apt-get -y update
apt-get -y --allow-unauthenticated install kali-archive-keyring
apt-get -y update
apt-get -y install kali-linux-everything
apt-get -y update
apt-get -y upgrade
apt-get -y dist-upgrade
apt-get -y autoremove
printf "Installing kali Done... " >&2
shutdown now -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment