欢迎访问蓝队云一站式平台!

关注蓝队云

您的位置:蓝队网络首页 > 网站相关 > 程序开发 > 正文

Linux下安装scapy-python3

发布时间:2018-01-12     浏览量:39人

环境:

centos6.4
python3版本

安装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://github.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://github.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


蓝队云
蓝队云