CompTIA PenTest+ (PT0-001) — Question 28
A penetration tester has compromised a host. Which of the following would be the correct syntax to create a Netcat listener on the device?
Answer options
- A. nc -lvp 4444 /bin/bash
- B. nc -vp 4444 /bin/bash
- C. nc -p 4444 /bin/bash
- D. nc -lp 4444 ג€"e /bin/bash