/Houki

🧹 Customizable MitM proxy / 可定制化的中间人代理

Primary LanguageGoMIT LicenseMIT

🧹 Houki Go Go Report Card Sourcegraph

Customizable MitM proxy. 简体中文

Installation

  1. Clone the repository
git clone git@github.com:wuhan005/Houki.git
  1. Build the binary
cd Houki

go build .
  1. Run the binary
./Houki web

Usage

You can create module to intercept and modify the request and response.

Here is a simple example module configuration which replaces the bilibili 哔哩哔哩 to pilipili 批哩批哩

{
  "title": "Bili2Pili",
  "author": "E99p1ant",
  "description": "This is my first module.",
  "response": {
    "on": "url.contains(\"bilibili.com\")",
    "header": {
      "X-MITM": "Houki"
    },
    "body": {
      "replace": {
        "bilibili": "pilipili",
        "哔哩哔哩": "批哩批哩"
      }
    }
  }
}

Then click the START PROXY button to start the proxy. You can set your browser's proxy manually or just click the OPEN BROWSER to open a new browser window with the proxy.

Enjoy it!

What/Who is Houki?

Houki(ほうき), is the broom used by Elaina in Wandering Witch: The Journey of Elaina. Elaina uses magic to turn it into a human, whose appearance is very similar to hers.

PixivID: 84262335

License

MIT