Skip to content

islanddog/kali-clean-pwnbox

 
 

Repository files navigation

XCT Kali - PwnBox Update 2023 Edition

xct/kali-clean with theGuildHall/pwnbox PwnBox additions and some personal tweaks/changes. Check out my notes section here https://github.com/islanddog/notes

image

image

Sources

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 

Alacritty Install (Bundled into script but might require manual intervention)

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.

Installation

./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 lxappearanceand 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.

Additional Notes

Change Weather

#Line 80 - Change to yours - https://wttr.in/
sudo mousepad ~/.config/i3/i3blocks.conf

VPN File Name (used for .zshrc/.bashrc UI)

#Line 3 - Change to name of your HTB VPN file.
sudo mousepad /opt/vpnserver.sh

.bashrc and .zshrc

Both configs are available in the Install directory. Merge/Overwrite for the HTB feel.

sudo mv -b .bashrc .zshrc ~/.

Change Background

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

Battery (laptop related)

#Updated to pull directly from acpi as my battery information was not displaying correctly.
sudo mousepad ~/.config/i3/i3blocks.conf

Fix Screen Resolution Copy/Paste VM Workstation 16 Player

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

i3 Hotkeys

Most Important

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).

*Must be used inside a terminal window (Alacritty).

Container Layout

Command Description
WIN + S Stacking Layout
WIN + W Tabbed Layout
WIN + E Split Layout

Change Focus (Mouse) - Highlighting works too.

Command Description
WIN + ⬆ Focus Up
WIN + ⬇ Focus Down
WIN + ⬅ Focus Left
WIN + ➡ Focus Right

Move the Windows above using the Shift key.

Split Pane

Command Description
WIN + V Split Vertical
WIN + H Split Horizon

Other

Command Description
WIN + A Focus parent container
WIN + Shift + D Focus child container

Resize Window 10px/per

Command Description
WIN + R Enter Resize
WIN + J Shrink Width
WIN + K Grow Height
WIN + L Shrink Height
WIN + ; Grow Width

About

Fork of XCT clean kali install with sprinkling of theGuildHall pwnbox implementation and some love <3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%