PT0-001 CompTIA PenTest+ Certification Exam

Loading demo links...

Showing 4–6 of 15 questions

Question 4

A penetration tester is checking a script to determine why some basic math errors are persisting. The expected result was the program outputting “True”.

Given the output from the console above, which of the following explains how to correct the errors in the script? (Choose two.)

Select all that apply, then click Submit answer.

  • Change ‘fi’ to ‘Endlf’.

  • Remove the ‘let’ in front of ‘dest=5+5’.

  • Change the ‘=’ to ‘-eq’.

  • Change ‘source’ and ‘dest’ to “$source” and “$dest”.

  • Change ‘else’ to ‘elif’.

Question 5

A penetration tester successfully exploits a DMZ server that appears to be listening on an outbound port. The penetration tester wishes to forward that traffic back to a device. Which of the following are the

BEST tools to use for this purpose? (Choose two.)

Select all that apply, then click Submit answer.

  • Tcpdump

  • Nmap

  • Wireshark

  • SSH

  • Netcat

  • Cain and Abel

Question 6

For which of the following reasons does a penetration tester need to have a customer’s point-of-contact information available at all times? (Choose three.)

Select all that apply, then click Submit answer.

  • To report indicators of compromise

  • To report findings that cannot be exploited

  • To report critical findings

  • To report the latest published exploits

  • To update payment information

  • To report a server that becomes unresponsive

  • To update the statement of work

  • To report a cracked password