User Tools

Site Tools


hacking:sql_injection:mysql:if_statement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
hacking:sql_injection:mysql:if_statement [2020/04/16 21:31] peterhacking:sql_injection:mysql:if_statement [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 5: Line 5:
 This is one of the key points of Blind SQL Injection, also can be very useful to test simple stuff blindly and accurately. This is one of the key points of Blind SQL Injection, also can be very useful to test simple stuff blindly and accurately.
  
-<code sql>+<code mysql>
 IF(condition,true-part,false-part) IF(condition,true-part,false-part)
  
 SELECT IF(1=1,'true','false') SELECT IF(1=1,'true','false')
-</sql>+</code>
  
hacking/sql_injection/mysql/if_statement.1587072714.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki