GIAC Penetration Tester (GPEN) — Question 36

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

Answer options

Correct answer: C

Explanation

The correct answer is C because the command specifies the use of UDP with the -I option, which stands for 'UDP mode.' Options A and B incorrectly state that it uses TCP, while option D wrongly suggests that it is a persistent listener, which is not the case with the -I flag.