我正在尝试从源代码安装SSLScan。我从克隆了git repo

https://github.com/DinoTools/sslscan.git


并执行以下操作:

mkdir build
cd build
cmake ..
make
make install


但是,我会注意到,yum回购正在安装cmake v2.6,因此我通过执行以下操作将其破解为2.8:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
yum install cmake28
cd /usr/bin
mv cmake cmake26
mv ccmake ccmake26
mv cpack cpack26
mv ctest ctest26
ln -s cmake28 cmake
ln -s ccmake28 ccmake
ln -s cpack28 cpack
ln -s ctest28 ctest


不知道发生了什么,但是当我尝试跑步时

sslscan localhost


我收到以下错误:

ImportError: No module named sslscan


任何帮助,将不胜感激!

提前致谢!

最佳答案

尝试通过调用以下命令手动安装模块:

./build/python/python setup.py install

然后再次运行sslscan

10-01 15:46