Created
November 19, 2016 12:58
-
-
Save fipso/d70f26c14ff1cdde12c269b6250069ab to your computer and use it in GitHub Desktop.
Hacking Telegram Games ( @Gamee Bot )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; | |
} | |
}; |
That's really cool! 😂
Anyone knows if this code will work for https://spacehuntgame.com/ ?
Not working for me , can someone tell how did they make it work
@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.
@fipso
Do you have any working code now??
@kunjherem nope
How to run this code to gamee?
Message me on telegram for hacking gamee
@gameehacker1
Bros Who can teach me about hacking Stair Master 3D game in @Gamee
how i can use it?
Братаны, кто может научить меня взлому игры Stair Master 3D в@Gamee
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
@fipso how to use this