1. 程式人生 > >Ubuntu安裝kali工具包

Ubuntu安裝kali工具包

一、新增kali源

#Kali
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib

deb http://security.kali.org/ kali/updates main contrib non-free
deb-src http://security.kali.org/ kali/updates main contrib non-free

## Kali中科大更新源
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib	
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free

二、匯入公鑰

下載:

#gpg --keyserver subkeys.pgp.net --recv-key 44C6513A8E4FB3D30875F758ED444FF07D8D0BF6

或者 
#gpg --keyserver keyserver.ubuntu.com --recv-key 44C6513A8E4FB3D30875F758ED444FF07D8D0BF6

匯入:
gpg --export --armor 7D8D0BF6 | apt-key add -

其中7D8D0BF6是上面『下載』那一步裡44C6513A8E4FB3D30875F758ED444FF07D8D0BF6的後8位

三、更新

sudo apt-get update