I had to download impacket-0.9.21 for my Kali-linux machine, otherwise myssqlclient.py will keep reporting “[-] Missing required parameter ‘digestmod’.”
v0.9.21 just came out in March, and it solves some issues related to SMB connections, but apparently not backslashes vs forward slashes! :grimace: :grimace: :grimace:
A Python interpreter. Python 2.6/2.7 and Python 3.6 are known to work.
If you want to run the examples and you have Python < 2.7, you will need to install the argparse package for them to work.
A Python interpreter. Python 2.6/2.7 and Python 3.6 are known to work.
If you want to run the examples and you have Python < 2.7, you will need to install the argparse package for them to work.
I have updated, upgraded, downgraded and reinstalled python, still without any success.
ill try with Pwnbox and see if it works there (if it works then it’s my distribution of kali). if not ill have to give “starting point” a few weeks and get back to it. until then i’ll play with other boxes.
Having some troubles just with the starting point tutorial :neutral:
I’ve followed everything up until I try to use mssqlclient.py where it says Login failed for user ‘ARCHETYPE\Guest’ even though I’m connecting as ARCHETYPE\sql_svc@10.10.10.27.
I have the password from the previous step, so that all should be right.
Any ideas?
Hi, Just like @Inigma said “slash issues” i used forward slash “/” if you see --help in mssqlclient.py, it’ll give you the command syntax so i followed it but still it doesn’t worked but one lead i got seeing the syntax i added the password with it and it worked
@zillakami said:
When I run: mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth
I get:
Traceback (most recent call last):
File “/usr/local/bin/mssqlclient.py”, line 4, in import(‘pkg_resources’).run_script(‘impacket==0.9.22.dev1+20200327.103853.7e505892’, ‘mssqlclient.py’)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File “/usr/lib/python2.7/dist-packages/pkg_resources/init.py”, line 1462, in run_script
exec(code, namespace, namespace)
File “/usr/local/lib/python2.7/dist-packages/impacket-0.9.22.dev1+20200327.103853.7e505892-py2.7.egg/EGG-INFO/scripts/mssqlclient.py”, line 173, in
ms_sql.connect()
File “/usr/local/lib/python2.7/dist-packages/impacket-0.9.22.dev1+20200327.103853.7e505892-py2.7.egg/impacket/tds.py”, line 532, in connect
sock.connect(sa)
File “/usr/lib/python2.7/socket.py”, line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 110] Connection timed out
anyone know what’s wrong?
Hi, use --help with the mssqlclient.py command to see its syntax and what you’re looking for it’s there