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
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)- A11% (4)
- B5% (2)
- C3% (1)
- D81% (30)
Community Discussion
No community discussion yet for this question.
