nogotofail 安装测试

#安装python, gcc, proxychains
apt-get install -y python-setuptools libffi-dev python-dev proxychains python-psutil gcc git


#获取 nogotofail代码
git clone https://github.com/google/nogotofail
cd nogotofail
python setup.py install


#编辑proxychains.conf
strict_chain
tcp_read_time_out 15000
tcp_connect_time_out 8000
[ProxyList]
socks5 127.0.0.1 8080


#生成证书
openssl req -x509 -newkey rsa:2048 -sha256 -subj "/CN=mitm.nogotofail/" -nodes -keyout server.crt -out server.crt


#启动服务端
python -m nogotofail.mitm --mode socks --port 8080 --serverssl server.crt


#nogotofail运行
python -m nogotofail.clients.linux.pyblame -A selfsigned -D httpdetection -p 1 -v localhost 8443


#测试
proxychains wget https://baidu.com --no-check-certificate -4

你可能感兴趣的:(nogotofail 安装测试)