• Stars
    star
    53
  • Rank 533,606 (Top 11 %)
  • Language
    Go
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TCP proxy, highjacks HTTP to allow CORS

portproxy

A shitty TCP proxy that relays all requests to a local port to a remote server.

portproxy -port 8080 -raddr google.com:80

Will proxy all TCP requests on localhost:8080 and send them to google.com.

Highjacking HTTP

If the http flag is given:

portproxy -http -port 8080 -raddr google.com:80

The proxy will attempt to detect HTTP requests. If a HTTP request contains an Origin header, the response from the remote server will be modified to include a Access-Control-Allow-Origin: * header.

Motivation

The sole purpose of this proxy was to bypass a remote API that didn't do CORS.

More Repositories

1

humanlog

Logs for humans to read.
Go
428
star
2

iocontrol

Measure and throttle the rate at which data is transferred.
Go
252
star
3

rgbterm

RGB colors for your terminal
Go
250
star
4

uniplot

Makes histograms and barcharts.
Go
209
star
5

datagen

Generate datastructures for your types.
Go
77
star
6

bitflip

Flip bits in files.
Go
59
star
7

tailf

Read and follow subsequent writes to a file. Like tailf.
Go
52
star
8

untilitworks

Retry some command until it works.
Go
47
star
9

fatherhood

Fatherhood is a JSON stream decoding library wrapping megajson's scanner.
Go
42
star
10

color

Colorize your terminal strings.
Go
17
star
11

streamql

StreamQL is a stream query language
Go
17
star
12

benchkit

Benchkit is the lightweight, feather touch, benchmarking kit.
Go
17
star
13

log

Structured logger.
Go
15
star
14

bomberman

A bomberman game!
Go
15
star
15

desim

Discrete Event Simulations
Go
13
star
16

orderedjson

Type to unmarshal JSON objects while keeping the order of the keys.
Go
10
star
17

erasure

Demo of XOR erasure coding.
Go
10
star
18

godotto

Among other things, a DigitalOcean REPL
Go
9
star
19

pkgname

Tells if your package has a good name, or not.
Go
9
star
20

brog

Static blog app.
Go
8
star
21

goblog

Course project to build a blogging engine in Go.
Go
8
star
22

dpprof

Proxy to use Go pprof against multiple servers
Go
7
star
23

graph

Graph package providing various implementations of graph data structures and graph processing algorithms.
Go
7
star
24

dskvs

An in-memory, embedded and eventually persisted key-value store in Go, for Go.
Go
7
star
25

.config

Vim Script
6
star
26

embed

Rewrites string or []byte variables with the content of files.
Go
5
star
27

gexf

GEXF format in Go.
Go
5
star
28

bomberweb

A websocket Bomberman player.
JavaScript
4
star
29

temple

Template rendering command line tool.
Go
4
star
30

hmachttp

Go
4
star
31

multisshtail

Tails a set of files over a set of hosts, over SSH.
Go
4
star
32

gostatic

Packs assets into a Go file.
Go
4
star
33

proxyssh

proxyssh: proxy connections over ssh to multiple hosts
Go
3
star
34

smaz

Go
3
star
35

expviz

Visualize expvar data.
JavaScript
3
star
36

flatjson

Fast decoder for JSON. Maybe.
Go
3
star
37

groscanot

CSS
3
star
38

broadcaster

Send events to multiple listeners!
Go
3
star
39

couverture

Automagically improve your test coverage !!!
Java
3
star
40

trie

Fast trie implementations.
Go
2
star
41

canlii

A client for the CanLII API
Go
2
star
42

crawler

Toy domain crawler
Go
2
star
43

oci

Go
2
star
44

fuzzy

Fuzzy search of strings.
Go
2
star
45

monitor

Quick and dirty HTTP monitoring tool
Go
2
star
46

semaphore

A shell tool to create counting semaphores, acquire them and release them.
Go
2
star
47

antoine.im

shitty blog
CSS
2
star
48

bricklayer

iGem bricklayer API, a sane one
Go
1
star
49

hangcover

Shell
1
star
50

opengl-demo-nbody

C
1
star
51

gossipchat

Go
1
star
52

chicken-review

Go
1
star
53

blocks

Helper funcs to draw blocks on a terminal.
Go
1
star
54

tonnerre

Simple HTTP load testing tool
Go
1
star
55

jag

Verifies that two S3 buckets contain the same data.
Go
1
star
56

parajson

Decode streams of \n separated objects in parallel.
Go
1
star
57

go-ipc

A clone of bitbucket.com/avd/go-ipc.
Go
1
star
58

bombertcp

A TCP Bomberman player.
Go
1
star
59

citegraph

DB to some data extracted from CanLII, with an client implementation to access the CanLII API.
Go
1
star
60

epher

Go
1
star
61

newtonmethod

Newton's Method, finds roots.
Go
1
star
62

search

Learning about information retrieval.
Go
1
star
63

otsql

Go
1
star
64

terraform-provider-cockroach

Terraform provider for Cockroach DB.
Go
1
star
65

sumjson

sumjson
Go
1
star
66

kicad-libs

1
star
67

ppgen

Go
1
star
68

eprop-re

eprop-re
Go
1
star
69

grpc-blob

Go
1
star