Run PowerShell as administrator:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart Windows
Run PowerShell as administrator:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Restart Windows
Download
https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
Double click wsl_update_x64.msi (Should request administrator permission)
Run PowerShell as administrator:
wsl --set-default-version 2
Install and double click Kali via the Microsoft Store
If already installed then run
wsl --set-version kali-linux 2
After setting user name and password:
kali@kali:~$
sudo apt update
kali@kali:~$ sudo apt upgrade
kali@kali:~$
sudo apt install kali-win-kex
kali@kali:~$
sudo apt install dbus-x11
kali@kali:~$
sudo apt install -y kali-linux-large
Then:
kex (For GUI)
or sudo kex --kill
sudo kex
and then on slower laptop, hit control c to kick start the GUI.
============================Command Line Only
If sticking with command line for Wifite, but must first install Python.
Change directory to Downloads
wget https://www.python.org/ftp/python/3.9.2/Python-3.9.2.tar.xz
tar -xvf Python-3.9.2.tar.xz
cd Python-3.9.2
./configure
configure: error: no acceptable C compiler found in $PATH
Oh oh..
sudo apt-get install gcc
sudo apt-get install make
./configure
make
sudo make install
(There are errors; however, this works:)
python3 -V
sudo apt-get install python3-pip
Go back to home directory
git clone https://github.com/derv82/wifite2.git
cd wifite2
sudo python3 ./Wifite.py
More work to be done....
Like...
sudo apt install realtek-rtl88xxau-dkms
Links:
https://docs.microsoft.com/en-us/learn/modules/get-started-with-windows-subsystem-for-linux/2-enable-and-install
https://www.kali.org/docs/wsl/win-kex/
https://blog.eldernode.com/install-and-run-wifite-on-kali-linux/
https://www.tecklyfe.com/how-to-install-gui-win-kex-for-kali-linux-in-windows-wsl2/
https://store.rokland.com/apps/help-center#putting-awus036ac-awus036ach-or-awus036eac-into-monitor-mode
No comments:
Post a Comment