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.