nerdexam
EC-Council

EC0-350 · Question #857

What is the correct command to run Netcat on a server using port 56 that spawns command shell when connected?

The correct answer is D. nc -L 56 -t -e cmd.exe. See the full explanation below for the reasoning.

Question

What is the correct command to run Netcat on a server using port 56 that spawns command shell when connected?

Exhibit

EC0-350 question #857 exhibit

Options

  • Anc -port 56 -s cmd.exe
  • Bnc -p 56 -p -e shell.exe
  • Cnc -r 56 -c cmd.exe
  • Dnc -L 56 -t -e cmd.exe

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    16% (5)
  • D
    74% (23)

Community Discussion

No community discussion yet for this question.

Full EC0-350 Practice