# quentinhardy/msdat

MSDAT: Microsoft SQL Database Attacking Tool

Repository: https://github.com/quentinhardy/msdat
Canonical: https://ross.abutalabs.com/products/msdat
Language: Python
License Family: other
Topics: mssql-database, pentest-tool, pentest, privilege-escalation
Last push: 2023-08-01T10:54:24+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3121, "days_push": 1128, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1016, forks 145 (observed 2026-08-28T04:03:14.356881+00:00)

## What it is
MSDAT is an open-source Python penetration testing tool for remotely testing the security of Microsoft SQL Server databases. It supports credential discovery, privilege escalation, OS command execution via xp_cmdshell/OLE automation, and schema/table dumping.

## Use cases
- find valid mssql credentials remotely
- escalate privileges on sql server
- execute os commands through xp_cmdshell
- dump sql server schema and tables
- audit microsoft sql server security
- brute force sql server passwords
- get sql server configuration and user privileges

## When to choose
- you are pentesting Microsoft SQL Server 2005-2019 remotely
- you need an all-in-one mssql attack toolkit in Python 3
- you want to test default/weak credentials or escalate a valid sql account

## When to avoid
- you target non-Microsoft databases like MySQL or PostgreSQL
- you need a maintained tool with an active release cadence
- you require a licensed or formally supported product

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: penetration-testing, security, database, vulnerability-scanning
- domain: security, penetration-testing, databases
- platform: python, cli, windows
- tags: mssql, pentest-tool, privilege-escalation, password-guessing, xp-cmdshell, database-attacking, linux, macos

## Member repositories
- quentinhardy/msdat (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:14.356881+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:11:20.767764+00:00, confidence not recorded.
  - readme: https://github.com/quentinhardy/msdat (fetched 2026-08-28T04:03:14.356881+00:00, sha 0b76b78a1adb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
