nerdexam
EC-Council

EC0-350 · Question #680

Bryan notices the error on the web page and asks Liza to enter liza' or '1'='1 in the email field. They are greeted with a message "Your login information has been mailed to [email protected]". What…

The correct answer is B. The web application returned the first record it found. See the full explanation below for the reasoning.

Question

Bryan notices the error on the web page and asks Liza to enter liza' or '1'='1 in the email field. They are greeted with a message "Your login information has been mailed to [email protected]". What do you think has occurred?

Options

  • AThe web application picked up a record at random
  • BThe web application returned the first record it found
  • CThe server error has caused the application to malfunction
  • DThe web application emailed the administrator about the error

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    80% (20)
  • C
    12% (3)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full EC0-350 Practice