Kali Linux 上でペネトレーションツールresponderを以下のコマンドで試したところ
sudo responder -I eth0
Traceback (most recent call last): File "/usr/share/responder/odict.py", line 3, in <module> from UserDict import DictMixin ModuleNotFoundError: No module named 'UserDict' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/responder/./Responder.py", line 340, in <module> main() File "/usr/share/responder/./Responder.py", line 250, in main from poisoners.LLMNR import LLMNR File "/usr/share/responder/poisoners/LLMNR.py", line 18, in <module> import fingerprint File "/usr/share/responder/fingerprint.py", line 22, in <module> from packets import SMBHeader, SMBNego, SMBNegoFingerData, SMBSessionFingerData File "/usr/share/responder/packets.py", line 23, in <module> from odict import OrderedDict File "/usr/share/responder/odict.py", line 6, in <module> from collections import MutableMapping as DictMixin ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
とでました。
このページで/usr/share/responder/tools/SMBFinger/Finger.py に
try:
from collections import OrderedDict
except:
from .odict import OrderedDict
と追加しましたが解決されませんでした。
これはツールが古いので諦めるしかないでしょうか?
もしご存知の方がいたら教えていただけると助かります。
