CompTIA PenTest+ PT0-003 (V3) Practice Question

During a penetration test, you have compromised a Linux host and want to leave a simple TCP backdoor. Using a netcat implementation that still supports command execution, which one-line command will make the host listen on TCP port 4444 and attach any incoming connection to an interactive Bourne shell for follow-on access?

  • Use a command with -u to open a port on 4444 and rely on a datagram-based mechanism for the shell

  • Set a command with -p 4444 to listen for inbound connections without specifying any interactive process

  • Specify a process with -e /bin/sh that connects to 127.0.0.1 to attach an interactive shell locally

  • Run a command with -l -p 4444 -v -e /bin/sh to create a listening socket and spawn an interactive shell

CompTIA PenTest+ PT0-003 (V3)
Post-exploitation and Lateral Movement
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $51
$425.00 $374.00
SAVE $57
CompTIA PenTest+ Voucher with Retake
v3 / PT0-003
Includes Retake
$474.00 $417.00
Bash, the Crucial Exams Chat Bot
AI Bot