ERROR: Loading module scapy.layers.ssl_tls
Traceback (most recent call last):
File "/home/connlab/Documents/code/python/scapy-ssl/lib/python3.10/site-packages/scapy/main.py", line 163, in _load
mod = importlib.import_module(module)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/connlab/Documents/code/python/scapy-ssl/lib/python3.10/site-packages/scapy/layers/ssl_tls.py", line 13, in <module>
import ssl_tls_registry as registry
ModuleNotFoundError: No module named 'ssl_tls_registry'
Environment:
Ubuntu 22.04
How to reproduce:
python -m venv scapy
cd scapy
git clone https://github.com/tintinweb/scapy-ssl_tls.git
source bin/activate
python --version
Python 3.10.12
cd scapy-ssl_tls
pip install -r requirements.txt
python setup.py install
pip list
Package Version
------------- -------
pip 22.0.2
pycryptodomex 3.20.0
scapy 2.4.5
scapy-ssl-tls 2.0.1
setuptools 59.6.0
tinyec 0.4.0
python
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from scapy.all import *
Full error message:
Environment: Ubuntu 22.04
How to reproduce: