docker里安装kali linux 官网镜像
docker search kali
docker pull kalilinux/kali-linux-docker
vi /etc/apt/sources.list 替换为以下源并保存
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
上面只是安装了一个基础版,需要的各类工具要自己安装
apt install hping3
apt-get install metasploit-framework
安装所有kali工具,很大,10+G
apt-get install kali-linux-all
https://nightmorning.site/wordpress/?p=364