From 0cbc2196634d3b4e453d781392165a008cc8766d Mon Sep 17 00:00:00 2001 From: ralfk Date: Sun, 4 Aug 2024 13:32:34 +0000 Subject: [PATCH] =?UTF-8?q?Technik/ubuntuToKali.md=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Technik/ubuntuToKali.md | 87 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 Technik/ubuntuToKali.md diff --git a/Technik/ubuntuToKali.md b/Technik/ubuntuToKali.md new file mode 100644 index 0000000..3f44665 --- /dev/null +++ b/Technik/ubuntuToKali.md @@ -0,0 +1,87 @@ +Step 1: + +apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y && apt autoremove -y && apt autoclean + +Step 2: + +apt-get install wget gnupg dirmngr + +Step 3: + +wget -q -O - https://archive.kali.org/archive-key.asc | gpg --import + +oder + +Step: 3 + +wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb + +Step 4: + +echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add - + +Oder : + +then on step 4: + +echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list + +Step 5: + +apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y && apt autoremove -y && apt autoclean + +Step 6: + +apt-get install kali-linux-default or core, everything and for the biggest image large + +Script to update: + +touch kali_update.sh + +echo "apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y && apt autoremove -y && apt autoclean" > kali_update.sh + +chmod +x kali_update.sh + +Enable Root Login SSH: + +/etc/ssh/sshd_config + +PermitRootLogin yes PasswordAuthentication yes + +Some Tools: + +Install PIP + +apt install python3-pip + +Enable Remote GUI: + +Install Gui: + +First Create a Firewall Rule for Port 5900 and 5901 in Google Cloud on 0.0.0.0/0 + +apt-get install xfce4 xfce4-goodies -y + +Configure: + +nano ~/.vnc/xstartup + +Put: + +#!/bin/bash xrdb $HOME/.Xresources startxfce4 & + +chmod +x ~/.vnc/xstartup + +First Try with tightvncserver + +apt-get install tightvncserver + +Then try with X11vnc if you need. + +apt-get install x11vnc novnc net-tools + +Set PW: x11vnc -storepasswd + +Check: ps wwwaux | grep auth + +Connect with RealVNC