Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ls0f/cracker

tunnel over http[s]
https://github.com/ls0f/cracker

http proxy socks5

Last synced: about 2 months ago
JSON representation

tunnel over http[s]

Awesome Lists containing this project

README

        

# cracker
proxy over http[s], support http,socks5 proxy.

```
+------------+ +--------------+
| local app | <=======> |local proxy | <#######
+------------+ +--------------+ #
#
#
# http[s]
#
#
+-------------+ +--------------+ #
| target host | <=======> |http[s] server| <#####
+-------------+ +--------------+
```

# Install

Download the latest binaries from this [release page](https://github.com/ls0f/cracker/releases).

# Usage

## Server side (Run on your vps or other application container platform)

```
./server -addr :8080 -secret -logtostderr
```

## Local side (Run on your local pc)

```
./local -raddr http://example.com:8080 -secret -logtostderr
```

## https

It is strongly recommended to open the https option on the server side.

### Notice

If you have a ssl certificate, It would be easy.

```
./server -addr :443 -secret -https -cert /etc/cert.pem -key /etc/key.pem -logtostderr
```

```
./local -raddr https://example.com -secret -logtostderr
```

Of Course, you can create a self-signed ssl certificate by openssl.

```
sh -c "$(curl https://raw.githubusercontent.com/ls0f/cracker/master/gen_key_cert.sh)"
```

```
./server -addr :443 -secret -https -cert /etc/self-signed-cert.pem -key /etc/self-ca-key.pem -logtostderr -v=10
```

```
./local -raddr https://example.com -secret -cert /etc/self-signed-cert.pem -logtostderr -v=10
```

# Quick Test

If you don't want to run the server side, I did for you :) you only need to run the local side.

```
./local -raddr https://lit-citadel-13724.herokuapp.com -secret 123456 -logtostderr
```

[Deploy the server side on heroku](https://github.com/ls0f/cracker-heroku)

# Next

Play with [SwitchyOmega](https://github.com/FelisCatus/SwitchyOmega/releases)

# ChatGPT
[Free ChatGPT Proxy](https://ls0f.github.io/post/chatgpt%E4%BB%A3%E7%90%86/)