Nc

From OLPC
Jump to navigation Jump to search

Netcat

installation: in terminal type: yum install netcat

execution: nc [-46DdhklnrtUuvz] [-i interval] [-p source_port] [-s source_ip_address] [-w timeout] [-X proxy_version] [-x proxy_address[:port]] [hostname] [port[s]]

reverse shell: one good use for nc is establishing a reverse shell from a host to a server in order to bypass a NAT that would normally require port forwarding. i will try to get this working on the XO and explain how it is done.