Nc: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: == '''Netcat''' == '''installation''': in terminal type: yum install netcat '''execution''': nc [-46DdhklnrtUuvz] [-i interval] [-p source_port] [-s source_ip_address] [-w timeout] [-X p...)
 
 
Line 5: Line 5:
'''execution''': nc [-46DdhklnrtUuvz] [-i interval] [-p source_port] [-s source_ip_address] [-w timeout] [-X proxy_version] [-x proxy_address[:port]] [hostname] [port[s]]
'''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''': netcat is usually good for establishing a reverse shell from a host to a server in order to bypass a NAT that would normally require port forwarding to be set up. i will try to get this working on the XO and explain how it is done
'''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.

Latest revision as of 16:56, 7 January 2009

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.