Exam GPEN All QuestionsBrowse all questions from this exam
Question 51

What is the purpose of die following command:

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

    Correct Answer: B

    The command 'nc.exe -l -p 2222 -e cmd.exe' is used to start a listener linked to cmd.exe on port 2222 using TCP. By default, Netcat uses TCP unless the UDP protocol is explicitly specified with the '-u' option.

Discussion
erebusOption: A

It’s b

erebusOption: B

Netcat defaults to TCP unless specified