MySQL
Connection
mysql -h <host> -u <user> -p<pass>
Query
show databases;
show tables;
use tables;
select * from users;
Readfile
SELECT LOAD_FILE('/var/lib/mysql-files/pentest.txt');
Last updated
Was this helpful?
mysql -h <host> -u <user> -p<pass>
show databases;
show tables;
use tables;
select * from users;
SELECT LOAD_FILE('/var/lib/mysql-files/pentest.txt');
Last updated
Was this helpful?