Skip to content

Instantly share code, notes, and snippets.

@fipso
Created November 19, 2016 12:58
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save fipso/d70f26c14ff1cdde12c269b6250069ab to your computer and use it in GitHub Desktop.
Save fipso/d70f26c14ff1cdde12c269b6250069ab to your computer and use it in GitHub Desktop.
Hacking Telegram Games ( @Gamee Bot )
/**
* Created by fipso on 13.10.16.
*/
var CryptoJS = require("crypto-js");
var CryptoJSAesJson = {
stringify: function (cipherParams) {
var j = {ct: cipherParams.ciphertext.toString(CryptoJS.enc.Base64)};
if (cipherParams.iv) j.iv = cipherParams.iv.toString();
if (cipherParams.salt) j.s = cipherParams.salt.toString();
return JSON.stringify(j);
},
parse: function (jsonStr) {
var j = JSON.parse(jsonStr);
var cipherParams = CryptoJS.lib.CipherParams.create({ciphertext: CryptoJS.enc.Base64.parse(j.ct)});
if (j.iv) cipherParams.iv = CryptoJS.enc.Hex.parse(j.iv);
if (j.s) cipherParams.salt = CryptoJS.enc.Hex.parse(j.s);
return cipherParams;
}
};
module.exports = {
build: function (score, url) {
var timestamp = new Date().getTime();
var hash = CryptoJS.AES.encrypt(JSON.stringify({score: score, timestamp: timestamp}), "crmjbjm3lczhlgnek9uaxz2l9svlfjw14npauhen", { format:
CryptoJSAesJson}).toString();
var sData = JSON.stringify({
score: score,
url: "/game/" + url,
play_time: 20,
hash: hash
});
return sData;
}
};
@naruto0308
Copy link

7865

@savely-krasovsky
Copy link

savely-krasovsky commented Jun 17, 2017

Lol, it works!
But it doesn't trigger message in Telegram about beating new record.

@mhsn20
Copy link

mhsn20 commented Jul 17, 2017

How can I use this code in my site?
I want, my website give 2 parameters (score & URL) and do operate.

@mhsn20
Copy link

mhsn20 commented Jul 17, 2017

plzzzzzzzzz answer

Copy link

ghost commented Jul 20, 2017

how to hack Speed Driver @Gamee ?? please

@Skynes
Copy link

Skynes commented Jul 28, 2017

Inset this code in page console and get fun :)
https://gist.github.com/Skynes/6ee5a4add737f92686034bdc11200882

@vtr0n
Copy link

vtr0n commented Feb 28, 2018

Try this one.
Just set params and open it in your browser
https://gist.github.com/bad-day/42d5168d8e7f25c9ba8011a3403b738c

@abdelrahmana23
Copy link

guys , How optimize this code on telegram ?

@fipso
Copy link
Author

fipso commented Oct 28, 2018

Never thought someone would ever use this. Pretty surprised that it still works.

@regalstreak
Copy link

@fipso how to use this

@ericshermann
Copy link

That's really cool! 😂
Anyone knows if this code will work for https://spacehuntgame.com/ ?

@kunjherem
Copy link

Not working for me , can someone tell how did they make it work

@fipso
Copy link
Author

fipso commented Apr 1, 2021

@kunjherem As u can see this code is 4 years old now, back in the days when it worked i used the code above to sign the score submission data with the key i found in the source from the Gamee Bot.

@kunjherem
Copy link

@fipso
Do you have any working code now??

@fipso
Copy link
Author

fipso commented Apr 2, 2021

@kunjherem nope

@FlamboyantDS
Copy link

How to run this code to gamee?

@mahboobi7
Copy link

Message me on telegram for hacking gamee
@gameehacker1

@uzbsardor1006
Copy link

Bros Who can teach me about hacking Stair Master 3D game in @Gamee

@FarhodWebDev
Copy link

how i can use it?

@6oni6
Copy link

6oni6 commented Oct 31, 2023

Братаны, кто может научить меня взлому игры Stair Master 3D в@Gamee

@Najoviks
Copy link

Najoviks commented Nov 17, 2023

Who can help hack @Gamee pirate solitaire?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment