Open pwnf opened 3 months ago
I have the same issue and I did this to solve it, and it worked for me
pip uninstall pyOpenSSL asgiref
sudo apt-get remove python3-asgiref
pip install asgiref==3.7.2
pip install pyOpenSSL==22.1.0 mitmproxy-rs==0.5.1 urwid-mitmproxy==2.1.1
pip install --upgrade impacke
Configuration
impacket version: 0.11.0 Python version: 3.11.8 Target OS: Kali Linux
Debug Output With Command String
ntlmrelayx.py -t ldaps://domain.com --shadow-credentials -smb2support --no-dump
Additional context
I am running impacket in pipx, I noted that pyOpenSSL made the following Backward-incompatible changes on 09/03/2024
Thus as a short term solution I was able to use the following to roll back pyOpenSSL and get the shadow credential attack working again:
pipx inject impacket pyOpenSSL==24.0.0