Which SQL injection statement example below could be used to discover the name of the table?

A. whatever%20 AND 1=(SELECT COUNT(*) FROM tabname); --
B. whatever' AND 1=(SELECT COUNT(*) FROM tabname); --
C. whatever; AND 1=(SELECT COUNT(*) FROM tabname); --
D. whatever%; AND 1=(SELECT COUNT(*) FROM tabname); --


Answer: B

Computer Science & Information Technology

You might also like to view...

__________ external devices are suitable for communicating with modems.

A) ?Human readable ? B) ?Application C) ?Machine readable ? D) ?Communication

Computer Science & Information Technology

Provide an example of an arithmetic operator.

A. - B. & C. += D. ||

Computer Science & Information Technology

When a presentation is viewed as a slide show, the entire slide fills the screen

Indicate whether the statement is true or false

Computer Science & Information Technology

Goal seek is a form control that allows you to change a number in a target cell location in single-unit increments

Indicate whether the statement is true or false.

Computer Science & Information Technology