-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mssqlclient.py crashes right after connection is made and doesn't say error or anything #1670
Comments
I also get this all the time using Impacket main v0.12.0.dev1+20231114.165227.4b56c18a. If I switch to the Impacket version that comes by default in Kali 2023.4, v0.11.0, this works. |
Hi, |
Hey, Sorry for replying late, I haven't done any training ever since I made this discussion. Thank you again for helping, I actually bamboozled that it worked rn. |
Facing the same issue in Ubuntu. Fixed by downgrading to v0.11 |
same issue on kali |
Hey hello, Finally found the changeset (72d3d15) and PR (#1617) in the context the change was introduced. Just to validate, this is happening to you only when login fails right? If login goes ok, I'm receiving the SQLShell prompt as expected |
Configuration
impacket version: impacket-0.12.0.dev1+20231114.165227.4b56c18a-py3.11.egg
Python version: python 3.11
Target OS: Microsoft
This is the first time I ever do a discussion so I apologies if I don't make sense,
I'm trying to pwn a HTB machine (ARCHETYPE) and so far, I've been stuck with this problem for days, when using mssqlclient.py with the correct syntax and pressing enter, it shows the { [*] Encryption required, switching to TLS } and then goes back to normal terminal which doesn't make any sense.
I've changed the configuration in the tds.py file which was about the TLS configuration, here's what it looks like rn:
Looking at videos and other peoples discussions never talk about this problem, could this be a problem in my device or something in Impacket? I didn't want to skip this pen testing method because I don't want to do things without knowing whats going on so yeah.
one final thing to mention is that I tried entering the password after it connects:
Tell me if there's anything I missed.
The text was updated successfully, but these errors were encountered: