Câu 12: 312-50V13: Certified Ethical Hacker v13
Suppose that you test an application for the SQL injection vulnerability. You know that the backend database is based on Microsoft SQL Server. In the login/password form, you enter the following credentials: Based on the above credentials, which of the following SQL commands are you expecting to be executed by the ser…
Nội dung câu hỏi
Suppose that you test an application for the SQL injection vulnerability. You know that the backend database is based on Microsoft SQL Server. In the login/password form, you enter the following credentials: Based on the above credentials, which of the following SQL commands are you expecting to be executed by the server, if there is indeed an SQL injection vulnerability?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. select * from Users where UserName = ‘attack’ ’ or 1=1 -- and UserPassword = ‘123456’
- B. select * from Users where UserName = ‘attack’ or 1=1 -- and UserPassword = ‘123456’ — đáp án hiện tại
- C. select * from Users where UserName = ‘attack or 1=1 -- and UserPassword = ‘123456’
- D. select * from Users where UserName = ‘attack’ or 1=1 --’ and UserPassword = ‘123456’
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.