¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 160°Ç
   
netcat (nc) ¸¦ ÀÌ¿ëÇÑ Æ÷Ʈüũ
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2010-10-05 (È­) 09:30 Á¶È¸ : 7528
±ÛÁÖ¼Ò :
                          

netcatÀº ³×Æ®¿öÅ©»ó Á¢¼Ó¿¡¼­ raw µ¥ÀÌŸ¸¦ ÀÐ°í ¾µ¼öÀÖ´Â ÇÁ·Î±×·¥ÀÔ´Ï´Ù.

GNU netcat 0.7.1, a rewrite of the famous networking tool.
Basic usages:
connect to somewhere:  nc [options] hostname port [port] ...
listen for inbound:    nc -l -p port [options] [hostname] [port] ...
tunnel to somewhere:   nc -L hostname:port -p port [options]

Mandatory arguments to long options are mandatory for short options too.
Options:
  -c, --close                close connection on EOF from stdin
  -e, --exec=PROGRAM         program to exec after connect
  -g, --gateway=LIST         source-routing hop point[s], up to 8
  -G, --pointer=NUM          source-routing pointer: 4, 8, 12, ...
  -h, --help                 display this help and exit
  -i, --interval=SECS        delay interval for lines sent, ports scanned
  -l, --listen               listen mode, for inbound connects
  -L, --tunnel=ADDRESS:PORT  forward local port to remote address
  -n, --dont-resolve         numeric-only IP addresses, no DNS
  -o, --output=FILE          output hexdump traffic to FILE (implies -x)
  -p, --local-port=NUM       local port number
  -r, --randomize            randomize local and remote ports
  -s, --source=ADDRESS       local source address (ip or hostname)
  -t, --tcp                  TCP mode (default)
  -T, --telnet               answer using TELNET negotiation
  -u, --udp                  UDP mode
  -v, --verbose              verbose (use twice to be more verbose)
  -V, --version              output version information and exit
  -x, --hexdump              hexdump incoming and outgoing traffic
  -w, --wait=SECS            timeout for connects and final net reads (½Ã°£¼³Á¤)
  -z, --zero                 zero-I/O mode (used for scanning)
                              (ÃÖ¼ÒÇÑÀÇ µ¥ÀÌŸ ÀÌ¿Ü¿¡´Â º¸³»Áö ¾Êµµ·Ï Çϴ¿ɼÇ) 

Remote port number can also be specified as range.  Example: '1-1024'

[root@localhost ~]# nc  -t -v xxx.xxx.xxx.xxx 80 -z
xxx.xxx.xxx.xxx 80 (http) open

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.