Starting Point: Foothold

No Idea what to do now…i tried everything & at last i get through installing the setup.py file. But after executing the mssqlclient.py ARCHETYPE/sql_svc@10.10.10.27 -windows-auth — this is the error

Traceback (most recent call last):
File “mssqlclient.py”, line 25, in
from impacket import version, tds
File “/usr/local/lib/python3.7/dist-packages/impacket-0.9.22.dev1+20200819.170651.b5fa089b-py3.7.egg/impacket/tds.py”, line 35, in
from OpenSSL import SSL
File “/usr/lib/python3/dist-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import crypto, SSL
File “/usr/lib/python3/dist-packages/OpenSSL/crypto.py”, line 12, in
from cryptography import x509
File “/usr/lib/python3/dist-packages/cryptography/x509/init.py”, line 8, in
from cryptography.x509.base import (
File “/usr/lib/python3/dist-packages/cryptography/x509/base.py”, line 18, in
from cryptography.x509.extensions import Extension, ExtensionType
File “/usr/lib/python3/dist-packages/cryptography/x509/extensions.py”, line 20, in
from cryptography.hazmat.primitives import constant_time, serialization
File “/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/constant_time.py”, line 11, in
from cryptography.hazmat.bindings._constant_time import lib
ModuleNotFoundError: No module named ‘_cffi_backend’

What a bummer. This might be relevant: mssqlclient.py -- Missing required parameter 'digestmod' · Issue #850 · fortra/impacket · GitHub

This won’t be the last time you have to google an error message. :wink:

Type your comment> @hangrymoose said:

What a bummer. This might be relevant: mssqlclient.py -- Missing required parameter 'digestmod' · Issue #850 · fortra/impacket · GitHub

This won’t be the last time you have to google an error message. :wink:

i just used the updated Impacket & run it using python3 & it work like charm.