nerdexam
GIAC

GPEN · Question #474

What is the purpose of die following command: nc.exe -I -p 2222 -e cmd.exe

Sign in or unlock GPEN to reveal the answer and full explanation for question #474. The question stem and answer options stay visible for context.

Exploitation & Post-Exploitation Techniques

Question

What is the purpose of die following command:

nc.exe -I -p 2222 -e cmd.exe

Options

  • AIt is used to start a persistent listener linked to cmd.exe on port 2222 TCP
  • BIt is used to start a listener linked to cmd.exe on port 2222 TCP
  • CIt is used to start a listener linked to cmd.exe on port 2222 UDP
  • DIt is used to start a persistent listener linked to cmd.exe on port 2222 UDP

Unlock GPEN to see the answer

You've previewed enough free GPEN questions. Unlock GPEN 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

#Netcat#bind shell#command-line syntax#network listener
Full GPEN Practice