How would you go about doing it?
It's an HTML5 game with obfuscated source. They use that thing by google that makes all of the variable names letters and stuff, and just generally makes it human-unreadable.
So how would you go about making bots or hacks for an HTML5 game?
Results 1 to 7 of 7
Thread: Hacking an HTML5 game.
- 16 Jul. 2013 04:09pm #1
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 2.12
Hacking an HTML5 game.
- 16 Jul. 2013 11:17pm #2
- 17 Jul. 2013 12:11am #3
Figure out what the variables are, then edit them.
"That thing by Google" is Closure Compiler Service.
You can run it through a de-obscurifier, but the variable names will still be lost. It will help with reading chunks of code, though, if you want to map out ho the program is executing in your head to deduce what the variables are yourself.
- 17 Jul. 2013 04:38am #4
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 0.59
- 17 Jul. 2013 06:21am #5
Ctrl-F for strings relevant to what you're looking for. Obviously not variable names, but say the game says "Gold: X." The variable containing X that you want to modify likely wouldn't be called gold, since it's compressed, but you can Ctrl-F for the string "Gold:" to find the variable name listed right afterward.
- 17 Jul. 2013 01:37pm #6
- Join Date
- Apr. 2010
- Location
- When freedom is outlawed only outlaws will be free
- Posts
- 5,113
- Reputation
- 195
- LCash
- 0.85
- 19 Jul. 2013 08:43pm #7
what game o.o