Giter VIP home page Giter VIP logo

warp-cloner's Introduction

Warp Cloner

warp-cloner

Simple Python script that can clone Warp Plus keys.

With this script you will be able to clone many 12-24 PB keys.

Installation

  1. Clone this repository
  2. Install Python 3.11 or higher
  3. Install dependencies using pip install -r requirements.txt
  4. Copy .env.example to .env and fill variables (see next section)
  5. Launch script using python -u src/main.py
  6. Wait for results in console.

Configuration

  • BASE_KEYS (not required) - keys to clone divided as array in JSON format (ex: ["key1", "key2"]), if none then default keys will be used (script may not work with default keys)
  • THREADS_COUNT (default: 1) - amount of threads.
  • DEVICE_MODELS (not required) - custom device model names divided as array in JSON format (ex: ["Android", "Secret Device"])
  • SAVE_WIREGUARD_VARIABLES (default: false) - should script get variables that are required to generate WireGuard config (peer ips, private / public key, endpoint)?
  • PROXY_FILE (not required) - path to proxy file, if none then script will be launched in proxyless mode.
  • DELAY (default: 25) - seconds to sleep after key clone
  • OUTPUT_FILE (default: output.txt) - file to append generated keys
  • OUTPUT_FORMAT (default: {key} | {referral_count}) - output format (if SAVE_WIREGUARD_VARIABLES is set to true, additinal variables is available: {private_key}, {peer_endpoint}, {peer_public_key}, {interface_addresses})
  • RETRY_COUNT (default: 3) - how much times application will retry generation with same key

Notes

Proxy format

Proxy format for PROXY_FILE is protocol://user:pass@ip:port, example: socks5://example.org:1892 / http://totoro:[email protected], one proxy per line.

Getting your own 12-24 PB keys to fill BASE_KEYS

You can get your own key to start with using @warpplus's bot (limited to 1 key per 24 hours) or find some keys on forums.

Properly closing application

To avoid getting error "Too many connected devices" in future, you should properly exit from the application by pressing control + c and wait for application to close (it will take ~30 seconds).

Proxy selection

You can use almost any proxy (ipv4 / ipv6) as far as they don't block Warp API endpoint. I suggest you to use ipv6 proxy because they are way cheaper, but keep in mind, that your network should support ipv6 in most cases to do this.

Contributing

I will support this project as far as I can, but issues and pull requests are always welcome!

License

This project licensed under MIT License.

Support me

You can support my further developments or support this project by buying me a coffee using link below or by starring this repo โ™ฅ

Buy Me A Coffee

warp-cloner's People

Contributors

totoroterror avatar jogerj avatar misaka-blog avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.