Files
mhr-cfw-go/README.md
T
2026-05-04 07:17:57 +03:30

1.1 KiB

MHR-CFW Go

A domain-fronted HTTP/HTTPS proxy relay suite for Apps Script written in Go.

Features

  • HTTP Proxy - Local proxy server with CONNECT tunnel support
  • SOCKS5 Proxy - Built-in SOCKS5 server
  • Domain Fronting - Google Apps Script relay via domain-fronted requests
  • MITM Proxy - Dynamic certificate generation for HTTPS interception
  • HTTP/2 Transport - Performance-optimized HTTP/2 connections
  • TUI Menu - Interactive terminal menu for easy operation

Usage

# Run with TUI menu
.\mhr-cfw-go.exe

# Run proxy directly (requires configured config.json)
.\mhr-cfw-go.exe --no-menu

# Install CA certificate
.\mhr-cfw-go.exe --install-cert

# Scan Google IPs
.\mhr-cfw-go.exe --scan

# Show version
.\mhr-cfw-go.exe --version

Configuration

Edit config.json before running:

{
  "auth_key": "your-secret-key",
  "script_id": "YOUR_APPS_SCRIPT_DEPLOYMENT_ID",
  "front_domain": "www.google.com",
  "google_ip": "216.239.38.120"
}

Requirements

  • Go 1.21+
  • Windows (for certificate installation)

Building

go build -o mhr-cfw-go.exe ./cmd/mhr-cfw

License

MIT