1_SQL
1. First-order SQL
1.1 Union
1.1.1 method
' ORDER BY 1--
' ORDER BY 2--
' ORDER BY 3-- etc.
' UNION SELECT NULL--
' UNION SELECT NULL,NULL--
' UNION SELECT NULL,NULL,NULL-- etc. 1.1.2 Finding columns with a useful data type
1.1.3 Using a SQL injection UNION attack to retrieve interesting data
1.1.4 Retrieving multiple values within a single column
1.2 Blind SQL injection vulnerabilities
1.2.1 Exploiting blind SQL injection by triggering conditional responses
1.2.2 Error-based SQL injection

1.2.3 Exploiting blind SQL injection by triggering time delays
1.2.4 Exploiting blind SQL injection using out-of-band (OAST) techniques
2 Second-order SQL injection
2.1 Examining the database
Database type
Query
3 prevent sql vul
Last updated