Giter VIP home page Giter VIP logo

kali-clean-pwnbox's Introduction

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

kali-clean-pwnbox's People

Contributors

islanddog avatar xct avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

0xm3m tanzir786

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.