Download the latest version of linuxnc (netcat) source code and detailed explanation of nc commands to specify the file name, dumping the transmitted data into a hexadecimal code and saving it.
Linux nc Command detailed explanation http://www.linuxso.com/linuxexp/nc.tar.gz
Nc Command function description: sets a router.
Nc command syntax: nc [-hlnruz] [-g <网关...> ] [-G <指向器数目> ] [-I <延迟秒数> ] [-O <输出文件> ] [-P <通信端口> ] [-S <来源位址> ] [-V...] [-w <超时秒数> ] [Host name] [communication port...]
Note: run this command to set vro parameters.
Parameters:
-G <网关> Set the maximum number of vro communication gateways.
-G <指向器数目> Set the source route pointing device. its value is a multiple of 4.
-H online help.
-I <延迟秒数> Set the time interval to send information and scan the communication port.
-L use the listener mode to control incoming data.
-N directly uses the IP address instead of the domain name server.
-O <输出文件> Specify the file name, and dump the data that is being transferred in hexadecimal format into the file for storage.
-P <通信端口> Set the communication port used by the local host.
-R: specifies the communication port between the local host and the remote host.
-S <来源位址> Set the IP address of the data packet sent from the local host.
-U uses UDP transmission protocol.
-V shows the command execution process.
-W <超时秒数> Set the waiting time.
-Z uses the 0 input/output mode and is only used when scanning communication ports.
Http://www.linuxso.com/linuxexp/nc.tar.gz
Installation method:
Wget http://www.linuxso.com/linuxexp/nc.tar.gz
Tar zxvf nc.tar.gz
Configure
Make
Make install
Listening command nc-l-p port