https://github.com/anamritraj/oneplus-unlock-your-speed-hack
A hack script for game at https://unlock.oneplus.com/en-gb/
https://github.com/anamritraj/oneplus-unlock-your-speed-hack
game-hack game-hacking oneplus oneplus6t unlock-the-speed
Last synced: about 1 year ago
JSON representation
A hack script for game at https://unlock.oneplus.com/en-gb/
- Host: GitHub
- URL: https://github.com/anamritraj/oneplus-unlock-your-speed-hack
- Owner: anamritraj
- License: mit
- Created: 2018-10-19T20:11:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-19T21:25:54.000Z (over 7 years ago)
- Last Synced: 2025-02-05T18:49:30.002Z (over 1 year ago)
- Topics: game-hack, game-hacking, oneplus, oneplus6t, unlock-the-speed
- Language: JavaScript
- Size: 7.81 KB
- Stars: 5
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OnePlus Unlock your Speed: Hack Script
> A hack script for game at https://unlock.oneplus.com/en-gb. Play it from terminal!
## WARNING
This is just for educational purposes. I aim to show the basics of web development. Whatever you do with this script is not my responsibilty.
Please respect the game and other people. Also, I take no warranty of any kind. You will get blocked by server if you don't respect the limits.
## Getting Started
These instructions play the game at https://unlock.oneplus.com/en-gb/ from your terminal/cmd.
### Requirements
Make sure you have the latest version of `node.js` installed. Get it from [here](https://nodejs.org/en/download/current/) for your operating system.
Thats all.
### Setting up
* Open a cmd/terminal.
* Clone this repository in your local machine using
```
git clone https://github.com/anamritraj/oneplus-unlock-your-speed-hack.git
```
* Now do
```
cd oneplus-unlock-your-speed-hack
```
* Now in that directory
```
npm install
```
* It may take a couple of seconds to finish this step.
* Now time to get your `token` and `csrf-token`.
You need to get a few details from the browser to run this script. So put on your hacking hat (if you have one, if you don't then get one!) and follow along.
### Getting the game to run on a PC browser.
* First of all open the game in a browser https://unlock.oneplus.com/en-gb/
* Now it will show up something like this.

* Now press `F12` or `Ctrl + Shift + I` and open debugging tools in your browser. I will be using Google Chrome.
* Now Click the Button shown in the diagram.

* Clicking it will make the browser look like this. Now Click the 3 Dots on the top right corner of the Developer Tools. And click on the last icon after `Dock Side` as shown in the image below.

* Now reload the page and you'll have something similar to this.

* Now Tap multiple times and you will get to Enter your Email page. Enter your details and you will recieve a link to play the game in your email.
* Open your email and *Right Click* on the big red `Play Now` button and select `Copy Link Address`.

* Now paste the link in browser tab with debugger open. You will be logged in to your account.

### Getting the Authentication Object
* Go to `Network` Tab in the debugger and check for a row with `status` value as `101`. Click the Row. If you don't see it reload the page and check again.

* Now, when you click that row, you will see a lot of data going through. Chill. Take a deep breath. **Just scroll to the top of the small box that appears**. As shown below. This is the websockets connection which the game establishes to the server.

* Now, do you see that row in `Green` color. Click it. And you will get the data you need.

### Update your Files
* Copy these values on to the file `oneplus.js`. On line no `11` to `18` and also on line `67`.
### Running the Script
* Now save that file. And in the terminal/cmd run
```
npm start
```
* This will start your script and you should see the output as below:
```
> node oneplus.js
Connecting
Authenticated!
emited: 100
emited: 200
```
* The script is designed to put logs after every 100 taps.
* You can run multiple instances of this script but be aware the server will limit you.
* I think upto 100 Taps per second is fine but after that it will limit you. BE SAFE.
## Issues?
Report [Here](https://github.com/anamritraj/oneplus-unlock-your-speed-hack/issues/new). Or hit me up on Twitter [@anamritraj](https://twitter.com/anamritraj).
## Meta
Anand – [@anamritraj](https://twitter.com/anamritraj) | [anandamritraj.in](anandamritraj.in)
Distributed under the MIT license. See ``LICENSE`` for more information.