Technik/ubuntuToKali.md aktualisiert

.
This commit is contained in:
ralfk 2024-08-04 13:35:08 +00:00
parent 0cbc219663
commit 270262033c

View File

@ -1,40 +1,40 @@
Step 1: **Step 1:**
apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y && apt autoremove -y && apt autoclean apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y && apt autoremove -y && apt autoclean
Step 2: **Step 2:**
apt-get install wget gnupg dirmngr apt-get install wget gnupg dirmngr
Step 3: **Step 3:**
wget -q -O - https://archive.kali.org/archive-key.asc | gpg --import wget -q -O - https://archive.kali.org/archive-key.asc | gpg --import
oder oder
Step: 3 **Step: 3**
wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb
Step 4: **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 - 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 : Oder :
then on step 4: then on **step 4:**
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list
Step 5: **Step 5:**
apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y && apt autoremove -y && apt autoclean apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y && apt autoremove -y && apt autoclean
Step 6: **Step 6:**
apt-get install kali-linux-default or core, everything and for the biggest image large apt-get install kali-linux-default or core, everything and for the biggest image large
Script to update: **Script to update:**
touch kali_update.sh touch kali_update.sh
@ -42,19 +42,19 @@ echo "apt-get update -y && apt-get full-upgrade -y && apt-get dist-upgrade -y &&
chmod +x kali_update.sh chmod +x kali_update.sh
Enable Root Login SSH: **Enable Root Login SSH:**
/etc/ssh/sshd_config /etc/ssh/sshd_config
PermitRootLogin yes PasswordAuthentication yes PermitRootLogin yes PasswordAuthentication yes
Some Tools: ### Some Tools:
Install PIP **Install PIP**
apt install python3-pip apt install python3-pip
Enable Remote GUI: **Enable Remote GUI:**
Install Gui: Install Gui:
@ -62,7 +62,7 @@ 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 apt-get install xfce4 xfce4-goodies -y
Configure: **Configure:**
nano ~/.vnc/xstartup nano ~/.vnc/xstartup