MS SQL
cd Impacket/examples
mssqlclient.py sa@10.0.0.1
#Navigation
select name from sys.databases
#select database to interrogate
use databasename;
select * from information_schema.tables
#list all tables
select table_name from informaiton_schema.tables
select * from information_schema.columns where table_name='name of table'
#view data of table
#Investigate output looking for headings within the data, not the actual headings at the top of the output
select username,email,password from 'name of table'
Last updated