Skip to content

Instantly share code, notes, and snippets.

@fipso
Created November 19, 2016 12:58
Show Gist options
  • 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;
}
};
@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