Nguyễn Hồng Yến
New member
Which of the following script is example of SQL injection attack?
A.
B.
C.
D. All of the mentioned
A.
Code:
var Shipcity;
ShipCity = Request.form ("ShipCity");
var sql = "select * from OrdersTable where ShipCity = '" + ShipCity + "'";
Code:
var Shipcity;
ShipCity = Request.form ("ShipCity");
Code:
var Shipcity;
var sql = "select * from OrdersTable where ShipCity = '" + ShipCity + "'";