sslstrip的安装
1.可以直接安装sslstrip,发现缺什么再装什么
2.安装目录/和/usr都试试,特别是openssl
>安装Python2.7
>安装zope.interface
>安装setuptools
>安装six
>安装libffi
>安装 pycparser
>安装 cffi
>安装 openssl
config的参数很重要
./config -Wl,--version-script=openssl.ld -Wl,-Bsymbolic-functions -fPIC shared --prefix=/usr
文件openssl.ld位于openssl源代码目录,内容如下:
OPENSSL_1.0.1_CUSTOM {
global:
*;
};
>安装cryptography
很难装,搞了很久才装上,安装参考:
https://cryptography.io/en/latest/installation/
>安装pyOpenSSL
>安装Twisted
>安装sslstrip
>安装 pyasn1
>安装 pyasn1-modules
>安装 characteristic
>安装service_identity
三、常见错误解决方法
1.
No module named ssl
No module named _ssl
因为ssl是python的内置模块,只好重新编译安装一遍python。之后,问题解决。
2.
找不到openssl头文件
使用--prefix=/usr重新config openssl之后make && make install,问题解决