Created
January 19, 2018 13:02
-
-
Save W00t3k/305ac2c194e2135e92baab5dfdbf4897 to your computer and use it in GitHub Desktop.
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
1. Update your Windows 10 machine. Open an administrative PowerShell window and install the Windows Subsystem with this one-liner. A reboot will be required once finished. | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux | |
2. Once rebooted, open a command line shell and run the following commands to install the default Ubuntu environment. This will lay down the foundations for our Kali install. | |
lxrun /install | |
3. Setup and install the WSL Switcher, download a Kali base, and extract it to disk: | |
git clone https://github.com/RoliSoft/WSL-Distribution-Switcher.git | |
cd WSL-Distribution-Switcher | |
python get-prebuilt.py kalilinux/kali-linux-docker | |
python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz | |
lxrun /setdefaultuser root | |
4. Now that Kali is set up on your Windows 10 machine, you can interact with it by running the “bash” command: | |
bash | |
5. At this point, you’re inside Kali and you can use it as you normally do–install packages, use tools, etc. We strongly recommend first running an update and upgrade: | |
export LANG=C | |
apt-get update | |
apt-get dist-upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment