Câu 169: GCIH: GIAC Certified Incident Handler
Suppose a web application builds the SQL command "select PhoneNumber from contacts where Company = '[value]';". What would the result likely be if an attacker submitted the value "GIAC'; drop table contacts; --" to the database?
Nội dung câu hỏi
Suppose a web application builds the SQL command "select PhoneNumber from contacts where Company = '[value]';". What would the result likely be if an attacker submitted the value "GIAC'; drop table contacts; --" to the database?
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. Nothing. The 'contacts;--' portion is syntactically incorrect.
- B. The database would attempt to drop the PhoneNumber from the 'GIAC' table. — đáp án hiện tại
- C. The 'contacts' table would be deleted from the database.
- D. The database would drop all records containing 'GIAC' from the 'contacts' table.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.