12-28-2004, 01:59 AM | #1 (permalink) |
Upright
|
A good tutorial for netcat?
Dose anyone know of anymore information about netcat.c?
I have found this, but was woundering if anything else was out there. http://www.zoran.net/wm_resources/netcat_hobbit.asp |
12-28-2004, 05:25 PM | #2 (permalink) |
I am Winter Born
Location: Alexandria, VA
|
If you compile netcat and run it with the "-h" flag, it should give you the usage information.
Code:
# nc -h [v1.10] connect to somewhere: nc [-options] hostname port[s] [ports] ... listen for inbound: nc -l -p port [-options] [hostname] [port] options: -e prog program to exec after connect [dangerous!!] -g gateway source-routing hop point[s], up to 8 -G num source-routing pointer: 4, 8, 12, ... -h this cruft -i secs delay interval for lines sent, ports scanned -l listen mode, for inbound connects -n numeric-only IP addresses, no DNS -o file hex dump of traffic -p port local port number -r randomize local and remote ports -s addr local source address -t answer TELNET negotiation -u UDP mode -v verbose [use twice to be more verbose] -w secs timeout for connects and final net reads -z zero-I/O mode [used for scanning] port numbers can be individual or ranges: lo-hi [inclusive] |
Tags |
good, netcat, tutorial |
|
|