Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Resonaa/cucumis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cucumis

hack.chat tunnel that resolves DNS pollution

GitHub Actions Crates.io Downloads License GitHub repo size GitHub Repo stars GitHub commit activity GitHub contributors

Overview

cucumis is a hack.chat tunnel that resolves DNS pollution for users in China. It can be used as a proxy server for your bots and work deadly fine with hackchat++ client.

Usage

$ cucumis

Just run with no options and a WebSocket tunnel will be launched on 127.0.0.1:9091 by default.

If you prefer some configuration:

$ cucumis --help
hack.chat tunnel that resolves DNS pollution

Usage: cucumis.exe [OPTIONS]

Options:
      --host <HOST>      Tunnel host [default: 127.0.0.1]
      --port <PORT>      Tunnel port [default: 9091]
      --ip <IP>          hack.chat real IP [default: 104.131.138.176]
      --domain <DOMAIN>  Dummy domain to bypass SNI [default: bake.lyka.pro]
      --ws <WS>          hack.chat WS url [default: wss://hack.chat/chat-ws]
  -v, --verbose...       Increase logging verbosity
  -q, --quiet...         Decrease logging verbosity
  -h, --help             Print help
  -V, --version          Print version

Installation

Installing from Crates.io (Recommended)

$ cargo install cucumis
$ cucumis --help

Building from Source

$ git clone https://github.com/jwcub/cucumis.git
$ cd cucumis
$ cargo run --release -- --help

Development

Before pushing your commits, be sure to run through all the checks:

$ cargo clippy
$ cargo fmt
$ cargo build

License

This project is licensed under the Unlicense.