DB related Commands
{: .no_toc }
Table of contents
{: .no_toc .text-delta }
TOC
{:toc}
Manually connect to MSSQL databases with credentials
Install freetds and sqsh - should be already in kali
Edit /etc/freetds/freetds.conf, and append the following to it:
Edit ~./sqshrc:
Connect:
Enumerate available databases:
Enable xp_cmdshell and get command execution:
Manually connect to MSSQL databases with credentials - Alternative
Use mssqlclient.py from Impacket but gives an impacket command line and not the mssql db command line
Manually connect to mysql:
Manually connect to Oracle DB:
Manually connect to most databases
Use RAZORSQL (30 days trial)
Last updated