So since Scapy has been renamed to Kamene, how would I import and use base64_bytes?

回眸只為那壹抹淺笑 提交于 2019-12-01 21:57:37

There is a lot of confusion between Scapy and kamene. From https://scapy.net

An independent fork of Scapy was created from v2.2.0 in 2015, aimed at supporting only Python3 (scapy3k). The fork diverged, did not follow evolutions and fixes, and has had its own life without contributions back to Scapy. Unfortunately, it has been packaged as python3-scapy in some distributions, and as scapy-python3 on PyPI leading to confusion amongst users. It should not be the case anymore soon. Scapy supports Python3 in addition to Python2 since 2.4.0. Scapy v2.4.0 should be favored as the official Scapy code base. The fork has been renamed as kamene.

You are using kamene, and old Scapy fork with no support whatsoever.

You probably have installed scapy-python3 on PyPI. Uninstall it and use pip3 install scapy

NOT to use kamene is the best advice I can give you...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!