Last active
December 13, 2023 09:13
-
-
Save chrisdlangton/1e3ae407da5484bf3393937914935e4d to your computer and use it in GitHub Desktop.
Revisions
-
chrisdlangton renamed this gist
Dec 13, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
chrisdlangton created this gist
Dec 13, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ #!/bin/bash -ex sudo su - apt-get update apt-get install -y build-essential git jq curl wget gnupg wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add - sh -c "echo 'deb https://http.kali.org/kali kali-rolling main non-free contrib' > /etc/apt/sources.list.d/kali.list" sh -c "echo 'Package: *' > /etc/apt/preferences.d/kali.pref echo 'Pin: release a=kali-rolling' >> /etc/apt/preferences.d/kali.pref echo 'Pin-Priority: 50' >> /etc/apt/preferences.d/kali.pref" wget http://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2022.1_all.deb dpkg -i kali-archive-keyring_2022.1_all.deb rm kali-archive-keyring_2022.1_all.deb apt-get update apt-get update --fix-missing apt-get install -f apt-get--fix-broken install apt-get install -y ubuntu-desktop tightvncserver gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal apt-get upgrade # https://ubuntu.com/tutorials/ubuntu-desktop-aws#3-configuring-the-vnc-server