这是git上的源码JPaulMora/Pyrit: The famous WPA precomputed cracker, Migrated from Google. (github.com)
1.下载python2及相关依赖
apt-get install libpcap-dev
apt-get install python2.7-dev libssl-dev zlib1g-dev libpcap-dev
2.从git上取pyrit资源
git clone https://github.com/JPaulMora/Pyrit.git
如果该链接失效了可以直接上github搜pyrit找找
安装
cd pyrit
//由于系统默认装了python3,pyrit的build需要python2,这里要注意使用python2环境(先用这个如果这个不能运行或者有错就用python3)
python setup.py clean
python setup.py build
python setup.py install
//或
//如果默认是python3环境(上面的不行就用这个)
python2 setup.py clean
python2 setup.py build
python2 setup.py install