Simple Python script that can clone Warp Plus (1.1.1.1) keys and generate 12PB (or 24PB) keys.
Simple Python script that can clone Warp Plus keys.
With this script you will be able to clone many 12-24 PB keys.
pip install -r requirements.txt
.env.example
to .env
and fill variables (see next section)python -u src/main.py
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 cloneOUTPUT_FILE
(default: output.txt
) - file to append generated keysOUTPUT_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 keyProxy format for PROXY_FILE
is protocol://user:pass@ip:port
, example: socks5://example.org:1892
/ http://totoro:[email protected]
, one proxy per line.
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.
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).
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.
I will support this project as far as I can, but issues and pull requests are always welcome!
This project licensed under MIT License.
You can support my further developments or support this project by buying me a coffee using link below or by starring this repo ♥