Skip to content

Instantly share code, notes, and snippets.

@castexyz
Last active November 12, 2019 13:26
Show Gist options
  • Select an option

  • Save castexyz/bdfe270cb2b5ad7196f9a8522a9a040c to your computer and use it in GitHub Desktop.

Select an option

Save castexyz/bdfe270cb2b5ad7196f9a8522a9a040c to your computer and use it in GitHub Desktop.
Kali first install

Change to zsh + ohmyzsh

chsh -s $(which zsh)
reboot
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Install chromium

apt-get install chromium

vim /etc/chromium.d/default-flags

# A set of command line flags that we want to set by default.
# Do not hide any extensions in the about:extensions dialog
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --show-component-extension-options"
# Don't use the GPU blacklist (bug #802933)
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ignore-gpu-blacklist"
# Run as root Kali
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --password-store=detect --no-sandbox --user-data-dir"
# Disable Chromium security features for web app testing
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --disable-web-security"

Install tmux config

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
curl https://gist.githubusercontent.com/castexyz/cc63366d72470d6ca3f2ecb6d90263a0/raw/b03f824a0f0e93492044e8912fe4aae96314092c/.tmux.conf -o .tmux.conf

Fix vmware tools

apt update && apt -y full-upgrade
reboot # in case you have updated to a new kernel.
apt -y --reinstall install open-vm-tools-desktop fuse
reboot

Java config

update-alternatives --config java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment