Skip to content

Instantly share code, notes, and snippets.

@Skynes
Created July 28, 2017 22:29
Show Gist options
  • Save Skynes/6ee5a4add737f92686034bdc11200882 to your computer and use it in GitHub Desktop.
Save Skynes/6ee5a4add737f92686034bdc11200882 to your computer and use it in GitHub Desktop.
Telegram Games Hack (@Gamee) by DevStorm
Change [PUT YOUR COUNT] on your score and enter to brouser console
var url = window.location.pathname,
username = gameeUI.user,
timestamp = (new Date).getTime(),
dataId = $("#dataId").data(),
hash = CryptoJS.AES.encrypt(JSON.stringify({
score: [PUT YOUR COUNT],
timestamp: timestamp
}), dataId.id, {
format: CryptoJSAesJson
}).toString(),
sData = {
score: [PUT YOUR COUNT],
url: url,
play_time: gameeUI.playTime,
hash: hash,
username: username,
anonymous_id: gameeUI.anonymous_id
};
if (isFacebook()) {
var fbUserData = FacebookUserData.getUserData();
sData["app_scoped_user_id"] = fbUserData.app_scoped_user_id;
sData["user_id"] = fbUserData.user_id
}
gameeUI.sendScoreData(sData)
@GitHubAssAssIn
Copy link

game ui not defined

@FarhodWebDev
Copy link

gameUI not define(

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