As I can see, Python version 3.8 is poorly compatible with Impacket, most likely the problem lies precisely in this and will have to look for alternatives or do a downgrade
With that said, I now get this error:
kali@kali:~/Downloads/Impacket$ sudo pip3 install setup.py
[sudo] password for kali:
ERROR: Could not find a version that satisfies the requirement setup.py (from versions: none)
ERROR: No matching distribution found for setup.py
So instead, I enter command “python3 setup.py install”
and it seems to have installed everything in /usr/local.bin… However it is still not working.
I enter the command “mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth”
I am then asked for the password. I type the password in, and nothing happens.
Just a solid cursor for a few minutes and then I get this:
I’ll leave you my installation notes of impacket on kali 2020.1b (if you already did parts of them, then just skip them):
afterwards, go to the examples folder and rund the command “python3 mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth”
Also: keep in mind, you just want to connect to an mssql server, and mssqlclient is just one of many ways, if this tool doesn’t work, challenge yourself to find another tool that doesn’t work. Always good to have alternate tools for the same job.
Either way, follow the exact descriptions I left you and you should be good to go. If it doesn’t work, let me know and I’ll see what I can do. Best of luck!
Thank you for the detailed reply.
I did everything you said, everything downloaded/installed as intended. However, come to the last command “python3 mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth” - I still get the timed out error :-\
Traceback (most recent call last):
File “mssqlclient.py”, line 173, in
ms_sql.connect()
File “/home/kali/.local/lib/python3.8/site-packages/impacket/tds.py”, line 532, in connect
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
Not familiar enough to determine why I would be timing out regarding those errors…
I can try to find a different tool, but at the same time would like to learn why this one doesn’t work for me
Hey, did you get anywhere with solving this? I have the same problem.
With that said, I now get this error:
kali@kali:~/Downloads/Impacket$ sudo pip3 install setup.py
[sudo] password for kali:
ERROR: Could not find a version that satisfies the requirement setup.py (from versions: none)
ERROR: No matching distribution found for setup.py
So instead, I enter command “python3 setup.py install”
and it seems to have installed everything in /usr/local.bin… However it is still not working.
I enter the command “mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth”
I am then asked for the password. I type the password in, and nothing happens.
Just a solid cursor for a few minutes and then I get this:
I’ll leave you my installation notes of impacket on kali 2020.1b (if you already did parts of them, then just skip them):
afterwards, go to the examples folder and rund the command “python3 mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth”
Also: keep in mind, you just want to connect to an mssql server, and mssqlclient is just one of many ways, if this tool doesn’t work, challenge yourself to find another tool that doesn’t work. Always good to have alternate tools for the same job.
Either way, follow the exact descriptions I left you and you should be good to go. If it doesn’t work, let me know and I’ll see what I can do. Best of luck!
Thank you for the detailed reply.
I did everything you said, everything downloaded/installed as intended. However, come to the last command “python3 mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth” - I still get the timed out error :-\
Traceback (most recent call last):
File “mssqlclient.py”, line 173, in
ms_sql.connect()
File “/home/kali/.local/lib/python3.8/site-packages/impacket/tds.py”, line 532, in connect
sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out
Not familiar enough to determine why I would be timing out regarding those errors…
I can try to find a different tool, but at the same time would like to learn why this one doesn’t work for me
Hey, did you get anywhere with solving this? I have the same problem.
I did… it was quite simple if I’m remembering correctly. I closed any connections I had open, deleted my ovpn file, refreshed htb and downloaded a new ovpn file and re-connected to the vpn… after that it was working. So in short, I had lost connection lol
i am also having same issue . how to move forward from this ?
“Also: keep in mind, you just want to connect to an mssql server, and mssqlclient is just one of many ways, if this tool doesn’t work, challenge yourself to find another tool that doesn’t work. Always good to have alternate tools for the same job.”
Hi there, im new here as well and im getting an error that i havent found already in here (please excuse my spelling mistakes, my mother language is spanish).
Hi there, im new here as well and im getting an error that i havent found already in here (please excuse my spelling mistakes, my mother language is spanish).