标签:官方 ali 清华 wifi hive -o pos 解决 host
我的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
然后执行以下命令:
wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
apt-get update &apt-get upgrade
apt-get dist-upgrade
但我之前在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解决了。
标签:官方 ali 清华 wifi hive -o pos 解决 host
原文地址:https://www.cnblogs.com/sunsay/p/12835368.html