yersinia -G打不开图形化界面的解决办法
方法一:
换kali版本,只要下载kali2021.4之前的版本既可以就解决
方法二:
1.手动下载安装yersinia,(如果是之前下载过先卸载):
sudo apt remove --auto-remove yersinia
sudo apt purge --auto-remove yersinia
2.在从github中下载yersinia:
git clone https://github.com/tomac/yersinia /opt/yersinia
3.安装yersinia所依赖的库:
sudo apt install autoconf libgtk-3-dev libnet1-dev libgtk2.0-dev libpcap-dev -y
4.如果安装依赖库过程中出现报错:
解决办法一:
sudo apt update && sudo apt upgrade
解决办法二:
换源(我以清华源举例):
sudo vim /etc/apt/sources.list #使用vim访问源
注释掉本来的源,添加清华源:
#清华大学
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
更新查看是否生效,或者是否报错:
sudo apt update && sudo apt upgrade
5.进入安装yersinia的目录:
cd /opt/yersinia
./autogen.sh
6.显示如图为成功:
make
./configure
make install
yersinia -G