Mssqlclient.py

mssqlclient.py -dc-ip 10.10.11.*** <domain>/<username>:<password>@10.10.11.***
Impacket v0.9.25.dev1+20221216.150032.204c5b6b - Copyright 2021 SecureAuth Corporation

[*] Encryption required, switching to TLS
[-] [('SSL routines', '', 'legacy sigalg disallowed or unsupported')]

Does anyone know why I’m getting this error and a way to fix it…??
Thanks…

Hi bro try to reinstall impacket either by apt-get or by git, I had the same problem two days ago and my solution was to reinstall the impacket package with the pacman installer of Arch Linux (i use arch btw), if that doesn’t work for you I recommend you to clone directly the impacket repository from github.

git clone https://github.com/fortra/impacket
cd impacket/
pip3 install .

If you have any other errors, don’t hesitate to ask.

thank you… i’ll try that…
and “i use arch btw” too :sweat_smile:

fixed it by using python.3.7 instead of python3.10

On Fedora changing the @SECLEVEL=2 to @SECLEVEL=1 /etc/crypto-policies/back-ends/openssl.config lowers the bar in order to make the mssqlclient working again

oh nice… did note know that…