nerdexam
EC-Council

312-50V7 · Question #29

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

312-50V7 question #29 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

(37 responses)
  • A
    11% (4)
  • B
    5% (2)
  • C
    3% (1)
  • D
    81% (30)

Community Discussion

No community discussion yet for this question.

Full 312-50V7 Practice