Tuesday, 13 August 2019

OWASP


If you are vulnerable to SQL Injection, attackers can run arbitrary commands against your database.

Let's say our username is user@email.com and password is password (which is wrong)

Now if the hacker is writing something like  password'   (with ' )

When it is simple SQL statement it will throw an error like below



  • An error occurred: PG::SyntaxError: ERROR: unterminated quoted string at or near "'password'' limit 1" LINE 1: ...ers where email = 'user@email.com' and password = 'password'... ^ : select * from users where email = 'user@email.com' and password = 'password'' limit 1.
  • Unable to login this user due to unexpected error.

  • Related Posts:

    • SQL dumps Created by BCL easyConverter SDK 3 (HTML Version) body {margin-top: 0px;margin-left: 0px;} #page_1 {position:relative; overflow: hidden;margi… Read More
    • Consumer Producer Problem with Solution import java.util.Vector; /**  * Java program to solve Producer Consumer problem using wait and notify  * method in Java. Producer Con… Read More
    • Java EE 7 Platform Highlights(Whats new in java 7) The most important goal of the Java EE 7 platform is to simplify development by providing a co… Read More
    • Life Cycle Of JDBC Read More
    • Interface इंटरव्यू में सबसे अधिक  पूछे  जाने वाले  सवालो में Interface सबसे ऊपर आता है जिसमे Tricky प्रश्न बन जाते है ,और स्टूडें… Read More