Câu 225: GCIH: GIAC Certified Incident Handler
John works as a Professional Penetration Tester. He has been assigned a project to test the Website security of www.we-are-secure Inc. On the We-are-secureWebsite login page, he enters ='or''=' as a username and successfully logs on to the user page of the Web site. Now, John asks the we-aresecure Inc. to improve the…
Nội dung câu hỏi
John works as a Professional Penetration Tester. He has been assigned a project to test the Website security of www.we-are-secure Inc. On the We-are-secureWebsite login page, he enters ='or''=' as a username and successfully logs on to the user page of the Web site. Now, John asks the we-aresecure Inc. to improve the login page PHP script. Which of the following suggestions can John give to improve the security of the we-are-secure Website login page from the SQL injection attack?
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. Use the escapeshellarg() function
- B. Use the session_regenerate_id() function
- C. Use the mysql_real_escape_string() function for escaping input — đáp án hiện tại
- D. Use the escapeshellcmd() function
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.