quentinhardy / msdat

MSDAT: Microsoft SQL Database Attacking Tool
832 stars 139 forks source link

No module named pymssql #6

Closed stack00 closed 2 years ago

stack00 commented 3 years ago

hi there, could you please help me with this root@kali:~/Downloads/mssql/msdat# ./msdat.py -h Traceback (most recent call last): File "./msdat.py", line 10, in from Mssql import Mssql File "/root/Downloads/mssql/msdat/Mssql.py", line 6, in import pymssql, _mssql, decimal ImportError: No module named pymssql root@kali:~/Downloads/mssql/msdat# pip3 install pymssql Requirement already satisfied: pymssql in /usr/local/lib/python3.8/dist-packages (2.1.5)

quentinhardy commented 3 years ago

Do you have still the error ? Do you have more details ?

zAbuQasem commented 3 years ago

Just run it with python3 and everything will be fine. python3 msdat.py

Zamanry commented 2 years ago

I had the same issue. Python and Python3 (which are both Python3.9.10) failed. Machine is up-to-date.

image

zAbuQasem commented 2 years ago

Try running the tool with sudo

Zamanry commented 2 years ago

Darn

image

ecofintech commented 2 years ago

Solved using virtualenv python3.10 and modifiying: Mssql.py line 6 import pymssql, pymssql._mssql, decima

quentinhardy commented 2 years ago

thx