netcat_cheat_sheet_v1

It is required in client mode of course because we

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: s simply the other side’s IP address or domain name. It is required in client mode of course (because we have to tell the client where to connect), and is optional in listen mode. -l: Listen mode (default is client mode) -L: Listen harder (supported only on Windows version of Netcat). This option makes Netcat a persistent listener which starts listening again after a client disconnects -u: UDP mode (default is TCP) -p: Local port (In listen mode, this is port listened on. In client mode, this is source port for all packets sent) -e: Program to execute after connection occurs, connecting STDIN and STDOUT to the program -n: Don’t perform DNS lookups on names of machines on the other side -z: Zero-I/O mode (Don’t send any data, just emit a packet without payload) -wN: Timeout for connects, waits for N seconds after closure of STDIN. A Netcat client or listener with this option will wait for N seconds to make a connection. If the connection doesn’t happen in that time, Netcat stops running. -v: Be verbose, printing out messages on Standard Error, such as when a connection occurs -vv: Be very verbose, printing even more details on S...
View Full Document

This document was uploaded on 03/17/2014 for the course CS 393 at NYU Poly.

Ask a homework question - tutors are online