Câu 52: CAS-003: CompTIA Advanced Security Practitioner (CASP) CAS-003
A penetration tester noticed special characters in a database table. The penetration tester configured the browser to use an HTTP interceptor to verify that the front-end user registration web form accepts invalid input in the user's age field. The developer was notified and asked to fix the issue. Which of the follow…
Nội dung câu hỏi
A penetration tester noticed special characters in a database table. The penetration tester configured the browser to use an HTTP interceptor to verify that the front-end user registration web form accepts invalid input in the user's age field. The developer was notified and asked to fix the issue. Which of the following is the MOST secure solution for the developer to implement?
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. IF $AGE == ג€!@#$%^&*()_+<>?ג€:{}[]ג€ THEN ERROR
- B. IF $AGE == [1234567890] {1,3} THEN CONTINUE — đáp án hiện tại
- C. IF $AGE != ג€a-bA-Z!@#$%^&*()_+<>?ג€:{}[]ג€ THEN CONTINUE
- D. IF $AGE == [1-0] {0,2} THEN CONTINUE
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.