< /etc/passwd: Redirects the contents of /etc/passwd into the socket
This means that when a connection is made to UDP port 55555, the contents of /etc/passwd will be sent to the connecting host.
From CEH v13 Courseware:
Module 8: Sniffing & Network Communication Tools
CEH v13 Study Guide states:
“Netcat can be used to serve files, open shells, or transfer data. Using input redirection, it can stream file contents to anyone who connects.”
Incorrect Options:
A: Does not log; it outputs /etc/passwd
C: The opposite; it serves the file, doesn’t grab it
D: Netcat does not delete files with this syntax
[Reference:CEH v13 Study Guide – Module 8: Netcat Commands and Use CasesNetcat Manual – Transfer and Streaming Modes, , , , ==================================================================, ]
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit