我的apt-get install wifiphisher出錯, 無法定位軟件包, 一般是源配置的問題,
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.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
#清華大學
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
#163
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
#東軟大學
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
#官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
然后執行命令:
apt-get update
但我之前在GitHub上下載了wifiphisher (https://github.com/wifiphisher/wifiphisher),
解壓到/usr/local/下面, 然后cd 進入,
執行命令python setup.py install, 就可以安裝了, 但這里我報了一個無法定位軟件包 hostapd的錯誤(wifiphisher不要選1.4release, 有hostapd定位bug),
如果解決了上面源的問題, 直接選頁面提示的y繼續即可,
hostapd官網http://w1.fi/hostapd/, 下載hostapd然后自己make比較麻煩。所以我還是去配置了源, 然后apt-get install hostapd解決了。