Caterpillar Proxy - The simple and parasitic web proxy with SPAM filter (formerly, php-httpproxy)
Go to file
2024-05-20 16:18:38 +09:00
.github Create FUNDING.yml 2024-02-23 17:10:43 +09:00
assets Update index.php 2024-04-05 19:09:49 +09:00
plugins Update wayback.py 2024-03-13 16:50:26 +09:00
.gitignore Update .gitignore 2024-02-20 16:20:37 +09:00
base.py Update base.py 2024-05-20 16:18:09 +09:00
ca.crt Add HTTPS decryption (Experimental) 2022-11-25 17:12:58 +09:00
ca.key Add HTTPS decryption (Experimental) 2022-11-25 17:12:58 +09:00
caterpillar.service Create caterpillar.service 2024-02-21 02:24:06 +09:00
cert.key Add HTTPS decryption (Experimental) 2022-11-25 17:12:58 +09:00
client.py Create client.py 2024-03-06 16:04:51 +09:00
Dockerfile Create Dockerfile 2024-03-06 15:11:13 +09:00
LICENSE Initial commit 2022-10-06 02:16:30 +09:00
README.md Update README.md 2024-03-13 17:22:17 +09:00
requirements.txt Create requirements.txt 2022-10-06 13:29:24 +09:00
server.py Update server.py 2024-05-20 16:18:38 +09:00
smtp.py Update smtp.py 2024-05-20 02:21:15 +09:00
web.py Update web.py 2024-05-20 02:40:00 +09:00

gnh1201/caterpillar

Caterpillar Proxy - The simple and parasitic web proxy with SPAM filter (formerly, php-httpproxy)

title image

How it works

Basic structure

You <-> Proxy client (Python) <-> Parasitized proxy server (Optional, PHP) <-> On the Web

For example, build a simple web debugging proxy on the shared servers.

Stateful mode

This project supports two modes of connection. The default is stateless. You can use the stateful mode to avoid being constrained by transfer capacity limits. See the Stateful mode (github.com/gnh1201/caterpillar wiki).

(Optional) Before to use

If you have a server that will be parasitized and you want to proxy it, you should upload the index.php file to a shared server. The index.php file is located in the assets/php directory within this repository.

How to use

  1. Write a file .env(Linux) or settings.ini(Windows). Like this:
[settings]
PORT=5555
SERVER_URL=http://example.org
SERVER_CONNECTION_TYPE=stateless
CA_KEY=ca.key
CA_CERT=ca.crt
CERT_KEY=cert.key
CERT_DIR=certs/
OPENSSL_BINPATH=openssl
CLIENT_ENCODING=utf-8
sudo apt-get install -y ca-certificates
sudo cp ca.crt /usr/local/share/ca-certificates/caterpillar-ca.crt
sudo update-ca-certificates
  1. Run python3 server.py and set HTTP(S) proxy in your web browser (e.g. Firefox)

  2. Test 100MB/SSL, 1GB/SSL, 10GB/SSL download and check the speed (e.g. https://speed.hetzner.de/1GB.bin)

  3. Enjoy it

  4. (Optional) With Cloudflare, we can expect to accelerate the 4x speed and reduce the network stuck.

Extensions

Thanks to

Pan Art by @yeohangdang@i.peacht.art

Caterpillar Project Pan Art by @yeohangdang@i.peacht.art

Report abuse