Skip to content

meanguy/goon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goon

Go on...


goon is a small utility script for intercepting network traffic and redirecting it to a single destination.

... No, it isn't particularly useful.

Install

go get -u github.com/meanguy/goon

Usage

Forward traffic all HTTP traffic to another host

$ goon -verbose -r google.com:80 &
[2] 1362764

$ curl -L -m5 localhost:8080
2021/04/23 01:26:57  info 127.0.0.1:8080 <- 127.0.0.1:49308 component=worker len=78 src=127.0.0.1:49308 workerId=0
2021/04/23 01:26:57  info 127.0.0.1:8080 -> 142.250.69.206:80 component=worker len=78 src=127.0.0.1:49308 workerId=0
curl: (28) Operation timed out after 5001 milliseconds with 0 bytes received
2021/04/23 01:27:02  info client connection closed  component=worker src=127.0.0.1:49308 workerId=0

TODO

  • Bidirectional traffic
  • TCP payload inspection (ASCII, hex, base64 encodings)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages