Hardened WSL2 environment config for offensive security work.
| File | Purpose |
|---|---|
bashrc |
Kali-style prompt with exit code indicator + git branch, history 10K, PATH dedup |
profile |
Login shell config |
gitconfig |
Git aliases (st, co, br, lg), autocrlf, default branch main |
wsl.conf |
WSL2 systemd enabled, custom user, static resolv.conf |
ubuntu-fetch.sh |
Fastfetch with BlackArch logo on terminal launch |
# clone
git clone git@github.com:0xvoidworm/dotfiles.git ~/dotfiles
# symlink (backup originals first)
ln -sf ~/dotfiles/bashrc ~/.bashrc
ln -sf ~/dotfiles/profile ~/.profile
ln -sf ~/dotfiles/gitconfig ~/.gitconfig
mkdir -p ~/.config && ln -sf ~/dotfiles/ubuntu-fetch.sh ~/.config/ubuntu-fetch.sh
# secrets (create manually — never committed)
mkdir -p ~/.secrets && chmod 700 ~/.secrets
echo 'export API_KEY="your-key"' > ~/.secrets/api.env
chmod 600 ~/.secrets/api.env- OS: Ubuntu 24.04 LTS on WSL2
- Terminal: Windows Terminal + Kali prompt
- Fetch: Fastfetch (BlackArch logo, red theme)
- Tools: impacket, pwntools, nuclei, ffuf, certipy, maigret, sherlock