ScorpionesLabs/MSSqlPwner ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python command line tool for MSSQL security testing that can connect with Windows creds, MSSQL creds, Kerberos, tickets, or NTLM hashes, then interact with a target server in an interactive mode.

I want it to be able to enumerate linked servers, discover possible impersonation paths, and figure out the best chain when the current login does not have enough privileges. It should also support running commands through common SQL Server features like xp_cmdshell, sp_oacreate, direct queries, and custom assembly based actions.

Please include support for brute forcing multiple targets with user, password, hash, or ticket lists, and add options for NTLM relay and hash capture style checks using the usual SQL Server functions. Make the CLI feel polished and easy to use, with helpful prompts, sensible defaults, and clear output for chains, links, and execution results.

If you need to check current library details or implementation patterns, look up the latest docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab