githubEdit

connect-to-mssql

Windows

mysql.exe -U username -pPassword123 -h <ip>

SQSH (linux)

sqsh -S "$ip" -U username -P password123

SQL-CMD (windows)

sqlcmd -S "$ip" -U username -P password123

Connect with MSSQL

impacket-mssqlclient mssqlsvc@"$ip" -windows-auth

Show databases

enum_db

Select database

use master

Show tables

SELECT table_name FROM db_name.INFORMATION_SCHEMA.TABLES

Show table content

Last updated