pypykatz
pypykatz copied to clipboard
No module named 'winacl.dtyp.wcee.cryptoapikey'
Latest commits seem to have induced an issue with the winacl lib. https://github.com/skelsec/pypykatz/blob/91f9bdd61473b745581528f2c4d65250dc8617af/pypykatz/dpapi/dpapi.py#L34
Traceback (most recent call last):
File "/opt/tools/bin/pypykatz", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/tools/pypykatz/venv/lib/python3.11/site-packages/pypykatz/__main__.py", line 18, in main
from pypykatz.lsadecryptor.cmdhelper import LSACMDHelper
File "/opt/tools/pypykatz/venv/lib/python3.11/site-packages/pypykatz/lsadecryptor/__init__.py", line 9, in <module>
from .packages import *
File "/opt/tools/pypykatz/venv/lib/python3.11/site-packages/pypykatz/lsadecryptor/packages/__init__.py", line 23, in <module>
from .cloudap.decryptor import *
File "/opt/tools/pypykatz/venv/lib/python3.11/site-packages/pypykatz/lsadecryptor/packages/cloudap/decryptor.py", line 4, in <module>
from pypykatz.dpapi.dpapi import DPAPI
File "/opt/tools/pypykatz/venv/lib/python3.11/site-packages/pypykatz/dpapi/dpapi.py", line 29, in <module>
from pypykatz.dpapi.finders.cryptokeys import CryptoKeysFinder
File "/opt/tools/pypykatz/venv/lib/python3.11/site-packages/pypykatz/dpapi/finders/cryptokeys.py", line 4, in <module>
from winacl.dtyp.wcee.cryptoapikey import CryptoAPIKeyFile, CryptoAPIKeyProperties
ModuleNotFoundError: No module named 'winacl.dtyp.wcee.cryptoapikey'
Thank you for the headsup, indeed new feature was added to dpapi module which required the new version of winacl, which was not indicated correctly in the minimum version requirements in setup.py.
This has been fixed now.