Categorygithub.com/lexesv/cracker
modulepackage
2.3.0-beta+incompatible
Repository: https://github.com/lexesv/cracker.git
Documentation: pkg.go.dev

# 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.

You can also install from source if you have go installed.

# on server
go get github.com/lovedboy/cracker/server
# on local
go get github.com/lovedboy/cracker/local

Usage

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

./server -addr :8080 -secret <password> -logtostderr

Local side (Run on your local pc)

./local -raddr http://example.com:8080 -secret <password> -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 <password> -https -cert /etc/cert.pem -key /etc/key.pem -logtostderr
./local -raddr https://example.com -secret <password> -logtostderr

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

sh -c "$(curl https://raw.githubusercontent.com/lovedboy/cracker/master/gen_key_cert.sh)"
./server -addr :443 -secret <password> -https -cert /etc/self-signed-cert.pem -key /etc/self-ca-key.pem -logtostderr
./local -raddr https://example.com -secret <password> -cert /etc/self-signed-cert.pem -logtostderr

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

Next

Play with SwitchyOmega

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Log level for glog.
Log level for glog.
Log level for glog.
Log level for glog.
Log level for glog.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author