Install Kali on Windows 10 and set up apt source

Open the Windows Subsystem for Linux

Search Window function directly
Insert picture description here

Open developer mode

Insert picture description here

Search WSL

Download and install Kali to
Insert picture description here
start Kali , configure the account password, and then switch to the root account

Configure apt source

apt-get is similar to yum, brew and other package management tools, but due to network reasons, the default address in /etc/apt/sources.list cannot be accessed, so it is recommended to directly replace it with Ali's source
Insert picture description here

deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

Execute the command to make the source effective

apt-get update

install software

apt-get install git
apt-get install python
apt-get install netcat
apt-get install nmap
apt-get install tcpdump

However, some tools are not supported on wsl.
Insert picture description here

Guess you like

Origin blog.csdn.net/lineuman/article/details/114326919