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.

  • Initiate a reverse shell during each session.

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

CompTIA PenTest+ PT0-002
Attacks and Exploits
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot