SQL INJECTION

sql injection is a command type injection method attack. we can get gain access from victim database by using malicious sql scripts. it has three main type of attacks those are,
  • In-band SQLi (CLASSIC SQLi): this is the most common and easily exploitable method. the command type of in-band attack is error and union.
    • Error Based: it relies on error messages thrown by the database server to obtain information about the structure of the database.
    • Union Based: it combines the results of two or more SELECT statements into a single result.

  • Inferential SQLi (Blind SQLi): it does not like in-band SQLi injection, may take longer for an attacker to exploit, however, it is just as dangerous as any other form of SQL Injection.an attacker is able to reconstruct the database structure by sending payloads, observing the web application’s response and the resulting behavior of the database server.
     
    • Boolean-based (content-based) Blind SQLi: that relies on sending an SQL query to the database which forces the application to return a different result depending on whether the query returns a TRUE or FALSE result.
    • Time-based Blind SQLi: relies on sending an SQL query to the database which forces the database to wait for a specified amount of time (in seconds) before responding. The response time will indicate to the attacker whether the result of the query is TRUE or FALSE.
  •  Out-of-band SQLi: Out-of-band SQL Injection is not very common, mostly because it depends on features being enabled on the database server being used by the web application. Out-of-band SQL Injection occurs when an attacker is unable to use the same channel to launch the attack and gather results.

Comments

Popular posts from this blog

Install android studio on the parrot os

How to do simple brute force attack with burp suite

PoC video of How to Hack Gmail and Bitcoin Wallet using SS7 flaw