PT0-002

PT0-002 practice questions, page 19 of 22, with answer review and explanations.

Question 91

A CentOS computer was exploited during a penetration test. During initial reconnaissance, the penetration tester discovered that port 25 was open on an internal Sendmail server. To remain stealthy, the tester ran the following command from the attack machine: Which of the following would be the BEST command to use for further progress into the targeted network?

  1. nc 10.10.1.2
  2. ssh 10.10.1.2
  3. nc 127.0.0.1 5555
  4. ssh 127.0.0.1 5555

Question 92

A penetration tester utilized Nmap to scan host 64.13.134.52 and received the following results: Based on the output, which of the following services are MOST likely to be exploited? (Choose two.)

  1. Telnet
  2. HTTP
  3. SMTP
  4. DNS
  5. NTP
  6. SNMP

Question 93

Which of the following expressions in Python increase a variable val by one? (Choose two.)

  1. val++
  2. +val
  3. val=(val+1)
  4. ++val
  5. val=val++
  6. val+=1

Question 94

An assessor wants to run an Nmap scan as quietly as possible. Which of the following commands will give the LEAST chance of detection?

  1. nmap ג€"T3 192.168.0.1
  2. nmap ג€"P0 192.168.0.1
  3. nmap ג€"T0 192.168.0.1
  4. nmap ג€"A 192.168.0.1

Question 95

A penetration tester wrote the following script to be used in one engagement: Which of the following actions will this script perform?

  1. Look for open ports.
  2. Listen for a reverse shell.
  3. Attempt to flood open ports.
  4. Create an encrypted tunnel.