Linux下安裝scapy-python3
2018-01-12 16:24:40
18809
環(huán)境:
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 http://m.lncdfzh.com.cn/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,這時已經(jīng)支持自動補全了:
[root@vnode33 ~]# scapy
WARNING: No route found for IPv6 destination :: (no default route?). This affects only IPv6
INFO: Please, report issues to http://m.lncdfzh.com.cn/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