xct/kali-clean with theGuildHall/pwnbox PwnBox additions and some personal tweaks/changes. Check out my notes section here https://github.com/islanddog/notes
The sources from the previous version are no longer required. You might need to clear out your source list file to only include the default kali provided line.
sudo nano /etc/apt/sources.list
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware
# Additional line for source packages
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware
Instructions for below were taken from the following - Alacritty - Install Debian and Alacritty - Building from Source. It is bundled into the script (at the top) but if you run into issues refer to the link.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
sudo git clone https://github.com/jwilm/alacritty
cd alacritty
rustup override set stable
sudo rustup override set stable
cargo build --release && sudo cp target/release/alacritty /usr/local/bin
Then proceed with installation below. This might change in the future just testing with newest build.
./install.sh
#Start nerd fonts after first installation (20min install)
./nerdfonts.sh
Nerd fonts full repo takes forever to download/install. Grab a subset or kick it off during the secondary install. Once installed use xct notes below:
xct - After the script is done reboot and select i3 (top right corner) on the login screen. Then open a terminal (hotkey below) run lxappearance
and select ark-dark theme and change the icons to whatever you like (I used papyrus). Grab some wallpaper and run pywal -i filename to set your color scheme.
#Line 80 - Change to yours - https://wttr.in/
sudo mousepad ~/.config/i3/i3blocks.conf
#Line 3 - Change to name of your HTB VPN file.
sudo mousepad /opt/vpnserver.sh
Both configs are available in the Install directory. Merge/Overwrite for the HTB feel.
sudo mv -b .bashrc .zshrc ~/.
xct - To have the wallpaper set on every boot edit ~.fehbg Two wallpapers available from theGuildHall* if you want the HTB feel in ~/.wallpapers.
sudo mousepad ~/.fehbg
#Updated to pull directly from acpi as my battery information was not displaying correctly.
sudo mousepad ~/.config/i3/i3blocks.conf
apt-get install open-vm-tools
sudo apt install -y --reinstall open-vm-tools-desktop fuse3
sudo reboot -f
Change HTB folder location - Change 3rd line of vpnserver.sh
#!/bin/bash
htbip=$(ip addr | grep tun0 | grep inet | grep 10. | tr -s " " | cut -d " " -f 3 | cut -d "/" -f 1)
myip=$(cat ~/Documents/htb/*.ovpn | grep "remote " | cut -d " " -f 2 | cut -d "." -f 1 | cut -d "-" -f 2-)
if [[ $htbip == *"10."* ]]
then
echo "$myip"
else
echo ""
fi
Command | Description |
---|---|
WIN |
Default modifier key. |
Ctrl + Enter* |
Spawn new terminal in PWD. |
WIN + Enter |
Spawn new terminal in Home. |
Alt + Down Arrow |
Goes to autofill menu. |
WIN + D |
Launch a Program. |
WIN + Shift + Q |
Kill a focused window. |
Mouse + WIN |
Drag floating windows around. |
WIN + F |
Launch Selected Fullscreen. |
WIN + Shift + 1-0 |
Move container (focused). |
WIN + N |
Rename Container (Use #:). |
WIN + 1-0 |
Switch to new Workspace. |
WIN + Shift + C |
Reload configuration file. |
WIN + Shift + R |
Restart i3 - Keep UI/Session. |
WIN + Shift + E |
Kill i3 - Logs out of Session. |
WIN + P |
Take Screenshot (FlameShot). |
Command | Description |
---|---|
WIN + S |
Stacking Layout |
WIN + W |
Tabbed Layout |
WIN + E |
Split Layout |
Command | Description |
---|---|
WIN + ⬆ |
Focus Up |
WIN + ⬇ |
Focus Down |
WIN + ⬅ |
Focus Left |
WIN + ➡ |
Focus Right |
Command | Description |
---|---|
WIN + V |
Split Vertical |
WIN + H |
Split Horizon |
Command | Description |
---|---|
WIN + A |
Focus parent container |
WIN + Shift + D |
Focus child container |
Command | Description |
---|---|
WIN + R |
Enter Resize |
WIN + J |
Shrink Width |
WIN + K |
Grow Height |
WIN + L |
Shrink Height |
WIN + ; |
Grow Width |