πŸ’‰Recognize DB to Manual SQL injection

How to Create Error

  1. ?id=2' ----> Create Error

  2. ?id=2" ----> Create Error

  3. ?id=2'\ ----> Create Error

  4. ?id=2"\ ----> Create Error

  5. ?id=2'/ ----> Create Error

  6. ?id=2"/ ----> Create Error

  7. ?id=2%bf%5c' ----> Create Error

  8. ?id=2%bf%5c" ----> Create Error

----------------------------------------------------------------

How to Use them

  1. ?id=122' ----> Check Error

  2. ?id=122" ----> Check Error

  3. ?id=122 and 1=1 ----> Check True

  4. ?id=122' and 1=0 ----> Check False

  5. ?id=122 and {{Function_Payload}} ----> Check DB Function related to that Database One by One

For that we are going to use the functions related to that database into our injection if the output is normal then its working but if we get any error or the page output dont come as normal then we can understand that the function we are using do belongs to this db

----------------------------------------------------------------

To check if the current db is MySQL:

----------------------------------------------------------------

To check if the current db is MSSQL:

----------------------------------------------------------------

To check if the current db is Oracle:

----------------------------------------------------------------

To check if the current db is PostgreSQL:

----------------------------------------------------------------

To check if the current db is SQLite:

----------------------------------------------------------------

To check if the current db is MSACCESS:

----------------------------------------------------------------

Error may always not be real SQL error it may be some times generic error or change in output of the application.

All you have to do it recognise it DB.

MySQL Error Style:

MSSQL ASPX Error:

MSAccess (Apache PHP):

MSAccesss (IIS ASP):

Oracle Error:

ODBC Error:

PostgreSQL Error:

MS SQL Server: Error:

Last updated