This is an asynchronous Python script to generate Hamster Kombat Keys.
- Contact me: Telegram
- Generate unique client IDs.
- Authenticate and obtain client tokens.
- Emulate user progress and register events.
- Generate and retrieve promo keys.
- Optional proxy support.
- Save keys into file.
- Python 3.7+
httpx
asyncio
loguru
- Clone the repository or download the script.
git clone https://github.com/ShafiqSadat/HamsterKeyGen.git
- Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
- Install the required packages:
pip install -r requirements.txt
- Open a terminal and navigate to the directory containing the script.
- Run the script:
python main.py
- Follow the prompts to enter the game number and the number of keys you want to generate.
You can optionally use a proxy by specifying a proxy file. If no proxy file is provided, the script will look for proxy.txt
in the same directory.
- Create a file named
proxy.txt
in the same directory as the script. - Add your proxy URL to the
proxy.txt
file. For example:
http://proxy-server:8080
https://proxy-server:8080
socks5://proxy-server:1080
socks4://proxy-server:1080
When running the script, you can specify the path to your proxy file:
python main.py
If you do not specify a proxy file, the script will attempt to use proxy.txt
by default.
- generate_client_id: Generates a unique client ID.
- login: Authenticates using the client ID and returns a client token.
- emulate_progress: Simulates user progress and registers an event.
- generate_key: Generates a promo key using the client token.
- generate_key_process: Orchestrates the process of generating a key.
- main: Main function to generate multiple keys concurrently.
This project is licensed under the GPL-3.0 license.