I3 and most needed setup for a new kali, this includes:
- arandr (Multi-Monitor Configuration)
- arc-theme (Kali Dark Theme with Transparent Elements)
- feh (Image Viewer)
- i3 (Window Manager)
- i3blocks
- i3status
- i3-wm
- lxappearance (theme switcher)
- python3-pip
- rofi (window switcher and app luncher)
- picom (transparency effects, shadows, and animations for i3)
- cargo (packet manager)
- papirus-icon-theme (icon theme)
- imagemagick (image tool)
- xrdp (rdp tool)
- seclists (wordlists)
- feroxbuster (web fuzzer)
- golang
- gobuster (web fuzzer)
- rlwrap (read line wrapper)
- bloodhound.py (AD enum)
- neo4j (database)
- bloodhound (AD enum)
- crowbar (wordlist generator)
- ntpdate (time update)
- xxd (hex viewer)
- numlockx (rdp default numlock enabler)
- pip2.7 (pip for python 2)
- VS Code (editor)
- zsh (shell)
- Google Chrome
- GoWitness (Web Screenshot Tool)
- pyftpdlib (Python FTP lib)
- Docker-CE
# set german layout
setxkbmap de
# get the repo and configs
git clone https://github.com/secure-77/kali-setup
cd kali-setup
chmod +x install.sh install2.sh config.sh
./install.shafter zsh shell spawns, run stage 2 of the install script and then setup the ip
./install2.sh
# setup static ip
./config.sh
sudo rebootoptional / check nameserver in /etc/resolv.conf
nameserver 12.34.56.78setup xrdp to listen on local ip address only
in the file /etc/xrdp/xrdp.ini change the port variable to ip and port
from
port=3389to
port=tcp://12.34.56.78:3389restart the service
sudo systemctl restart xrdp
based on this thread: https://askubuntu.com/questions/1323601/xrdp-is-quite-slow
gsettings set org.gnome.settings-daemon.plugins.remote-display active false
gsettings set org.gnome.desktop.interface enable-animations false
sudo sed -i 's/max_bpp=32/max_bpp=16/g' /etc/xrdp/xrdp.ini && sudo rebootrun Windows RDP with the following settings:
- set colors to 15 bit
- no local ressources passthrough expect clipboard
- set speed to 56kbps
sudo systemctl enable ssh
sudo vim /etc/ssh/sshd_configsetup to local ip only and disable password auth
ListenAddress 12.34.56.78
PasswordAuthentication norestart the ssh service
sudo systemctl restart ssh