Valid PT0-003 Dumps shared by EduDump.com for Helping Passing PT0-003 Exam! EduDump.com now offer the newest PT0-003 exam dumps, the EduDump.com PT0-003 exam questions have been updated and answers have been corrected get the newest EduDump.com PT0-003 dumps with Test Engine here:
During an engagement, a penetration tester discovers a web application vulnerability that affects multiple devices. The tester creates and runs the following script: #!/bin/sh for addr in $(cat targets) do curl http://$addr//atod.php?execf=echo%20%22ssh-ed25519%20AAAC3NzaC1lZDI1NTE5AAAA...%22%20% 3E%3E%20/root/authorized_users done Which of the following best describes what the tester is attempting to do?
Correct Answer: B
The script iterates through a list of target hosts and sends an HTTP request to a vulnerable endpoint (atod.php) with a parameter (execf=) that appears to trigger remote command execution on each device. The command being issued is echo " ssh-ed25519 ... " followed by an append redirection operator ( > > ) into a file under /root/authorized_users. The ssh-ed25519 string is the format of an SSH public key, and appending a public key into an "authorized users/keys" style file is a common persistence technique that allows the tester (or an attacker) to authenticate via SSH without knowing a password. In PenTest+ terms, this is establishing persistence/backdoor access after exploitation by planting an authentication mechanism that can be reused later. It is not creating a bind shell (no listener is set up), not changing a root password (no passwd or hash modification is shown), and not generating keys for decryption (the key material is being written to an authorization file for access). The loop indicates the intent is to apply this across multiple affected devices.