OWASP Security Shepherd Project - SQL Injection 1 (Injection Challenge)

Challenge


Solution

    It looks like the SQL Query should looks like SELECT * FROM <table_name> WHERE CustomerId = '<Our Input>'.
    With this guess, let's try to input a'or'1' = '1.

    No luck. However, we should know that both ' and " are valid characters for strings.
That's try a"or"1" = "1.
 
Great! We completed the challenge.

留言

The Hottest Articles

OWASP Security Shepherd Project - My Practice & Solutions

OSCP回顧 & 準備建議

OWASP Security Shepherd Project - SQL Injection 3 (Injection Challenge)