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; | |
} | |
}; |
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
Message me on telegram for hacking gamee
@gameehacker1