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

后端 未结 1 529
无人共我
无人共我 2021-01-20 03:27

So I used to be able to import scapy\'s base64_bytes by using from scapy.all import base64_bytes. However, I get this error when I do that:

相关标签:
1条回答
  • 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...

    0 讨论(0)
提交回复
热议问题