Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
kali_wsl/wsl.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
62 lines (51 sloc)
1.23 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check_priv() | |
{ | |
if [ "$(id -u)" -ne 0 ]; then | |
echo "you must be root" | |
exit 0 | |
fi | |
} | |
add_3d_Acceleration() | |
{ | |
cat << 'EOF' > /etc/apt/sources.list.d/kali-experimental.list | |
deb https://http.kali.org/kali kali-experimental main contrib non-free | |
EOF | |
apt update -y | |
apt install -t kali-experimental '?upgradable ?source-package("mesa|libdrm")' -y | |
} | |
add_winkex() | |
{ | |
apt install -y kali-win-kex | |
} | |
add_editors() | |
{ | |
apt install emacs neovim -y | |
} | |
add_languages() | |
{ | |
apt install python3 python3-pip golang -y | |
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -yq | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash | |
source ~/.zshrc && nvm install node | |
echo node > ~/.nvmrc | |
} | |
add_tools() | |
{ | |
apt install metasploit-framework ffuf gobuster hashcat gdb seclists netcat-openbsd socat nmap git -y | |
#gef | |
wget -O ~/.gdbinit-gef.py -q http://gef.blah.cat/py | |
echo source ~/.gdbinit-gef.py >> ~/.gdbinit | |
#pwntools | |
apt install python3-dev git libssl-dev libffi-dev build-essential -y | |
python3 -m pip install --upgrade pip | |
python3 -m pip install --upgrade pwntools | |
} | |
apt update | |
apt upgrade -y | |
check_priv | |
add_3d_Acceleration | |
add_winkex | |
add_editors | |
add_languages | |
add_tools | |
apt autoremove |