Skip to content

Commit 5dc5c99

Browse files
committed
Update some notes
1 parent 198d5db commit 5dc5c99

File tree

5 files changed

+38
-3
lines changed

5 files changed

+38
-3
lines changed

operating-systems/linux/distros/kali-vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ nano ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
212212
- Install basic tools
213213

214214
```bash
215-
sudo apt install -y apt-transport-https btop curl duf eza fastfetch flameshot gdu htop kali-wallpapers-all locate nano net-tools pipx software-properties-common speedtest-cli terminator tor tree ugrep vlc wget
215+
sudo apt install -y apt-transport-https btop curl duf eza fastfetch flameshot gdu htop kali-wallpapers-all locate nano net-tools pipx software-properties-common speedtest-cli sshpass terminator tmux tor tree ugrep vlc wget
216216
```
217217

218218
### [Terminator](https://gnome-terminator.org/)

operating-systems/linux/distros/parrot-vm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ ssh-keygen -t rsa
143143
- Install basic tools
144144

145145
```bash
146-
sudo apt install -y apt-transport-https btop chrony curl duf fastfetch flameshot gdu htop locate nano net-tools pipx speedtest-cli telegram-desktop terminator tor tree ugrep vlc wget
146+
sudo apt install -y apt-transport-https btop curl duf eza fastfetch flameshot gdu htop locate nano net-tools pipx software-properties-common speedtest-cli sshpass terminator tmux tor tree ugrep vlc wget
147147
```
148148

149149
### [Sublime](https://www.sublimetext.com/docs/linux_repositories.html)

operating-systems/linux/distros/ubuntu-server.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ sudo nano /etc/netplan/50-cloud-init.yaml
175175

176176
```bash
177177
# Tools
178-
sudo apt install -y apt-transport-https aptitude btop ca-certificates coreutils curl duf eza fastfetch gnupg iftop gdu git-all locate nano net-tools nload npm pipx software-properties-common speedtest-cli sysstat tree ugrep vim wget zsh
178+
sudo apt install -y apt-transport-https aptitude btop ca-certificates coreutils curl duf eza fastfetch gdu git-all gnupg iftop locate nano net-tools nload npm pipx software-properties-common speedtest-cli sshpass sysstat tree ugrep vim wget zsh
179179

180180
sudo apt-add-repository ppa:zanchey/asciinema
181181
sudo apt update && sudo apt install asciinema

operating-systems/linux/distros/ubuntu-vm.md

+3
Original file line numberDiff line numberDiff line change
@@ -285,12 +285,15 @@ packages=(
285285
pipx
286286
software-properties-common
287287
speedtest-cli
288+
sshpass
288289
sysstat
289290
terminator
290291
tmux
292+
tor
291293
tree
292294
ugrep
293295
vim
296+
vlc
294297
wget
295298
xclip
296299
zsh

operating-systems/linux/linuxstuff.md

+32
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,38 @@ sudo apt install qemu-user qemu-user-static gcc-aarch64-linux-gnu binutils-aarch
890890
qemu-aarch64-static -L /usr/aarch64-linux-gnu/ sandbox
891891
```
892892

893+
### Kali repos on Debian/Ubuntu apt
894+
895+
```bash
896+
#!/bin/bash
897+
898+
# Add kali repository to apt sources
899+
echo "[i] Adding Kali Linux repository to apt sources"
900+
sudo apt install gnupg
901+
902+
# Download the Kali archive key, dearmor it, and save it to the keyring
903+
sudo sh -c 'wget -qO - https://archive.kali.org/archive-key.asc | gpg --dearmor | tee /usr/share/keyrings/kali-archive-keyring.gpg > /dev/null'
904+
905+
# Add Kali repository entry to sources list
906+
sudo sh -c 'echo "deb [signed-by=/usr/share/keyrings/kali-archive-keyring.gpg] https://http.kali.org/kali kali-rolling main non-free contrib" | sudo tee /etc/apt/sources.list.d/kali.list'
907+
908+
# Set low priority for Kali repository
909+
echo "[i] Setting low priority for Kali repository"
910+
sudo touch /etc/apt/preferences.d/kali.pref
911+
sudo chmod 666 /etc/apt/preferences.d/kali.pref
912+
echo 'Package: *' > /etc/apt/preferences.d/kali.pref
913+
echo 'Pin: release a=kali-rolling' >> /etc/apt/preferences.d/kali.pref
914+
echo 'Pin-Priority: 50' >> /etc/apt/preferences.d/kali.pref
915+
sudo chmod 644 /etc/apt/preferences.d/kali.pref
916+
917+
# Update package lists
918+
sudo apt update
919+
920+
echo "[i] Install completed."
921+
```
922+
923+
924+
893925
---
894926

895927
## Virtual Machines

0 commit comments

Comments
 (0)