Conditionals

Conditional statements are beneficial for creating complex queries and aiding in Blind Injection.

Description Query
If/Else SELECT IF(1=2,'true','false')
Logical OR SELECT 1 || 0
To see nuances of this operator go here

Conditionals

Conditional statements are beneficial for creating complex queries and aiding in Blind Injection.

Description Query
Case SELECT CASE WHEN 1=1 THEN 1 ELSE 2 END FROM dual

Conditionals

Conditional statements are beneficial for creating complex queries and aiding in Blind Injection.

Description Query
Case SELECT CASE WHEN 1=1 THEN 1 ELSE 0 END
If/Else IF 1=2 SELECT 'true' ELSE SELECT 'false';

© 2018 Copyright by NetSPI. All rights reserved.