CompTIA Study Materials
AWS Study Materials
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free CompTIA PenTest+ PT0-002 Practice Question

During a security assessment of a web application, you have been able to exploit a remote code execution vulnerability. You decide to maintain access to the server in case the vulnerability gets patched and your initial entry point is closed. Which of the following methods would you implement to maintain persistence on the server?

  • Install a Web Shell for ongoing access.

  • Create a cron job that downloads and runs a malicious script every hour.

  • Change all server passwords to prevent other users from logging in.

  • Initiate a reverse shell during each session.

This question is for objective:
Attacks and Exploits
Your Score:
Attacks and Exploits
Information Gathering and Vulnerability Scanning
Reporting and Communication
Tools and Code Analysis
Planning and Scoping