| View previous topic :: View next topic |
| Author |
Message |
AticAtac Newbie cheater
Reputation: 0
Joined: 24 Mar 2008 Posts: 17 Location: 127.0.0.1
|
Posted: Tue Mar 25, 2008 5:54 am Post subject: Reading values from Java-based Browser Games |
|
|
Hi,
this is not really hacking what i am looking for but reading some values from a browser based java game.
Is there something special i have to consider ?
I am looking for pool ball positions in a pool game.
I only want to read them, don't want to change their positions.
Actually, i am not interested in the screen position but in their "real" float/double position.
I already tried the "Unknown value" method and "changed/unchanged" method by changing ball position but somehow it didn't work.
Anyone here has experience with such a task ?
|
|
| Back to top |
|
 |
Demian Advanced Cheater
Reputation: 0
Joined: 28 Sep 2007 Posts: 56 Location: Finland
|
Posted: Tue Mar 25, 2008 6:07 am Post subject: |
|
|
| All I know about hacking Java games is that for example 100 is 1, 200 is 2 and so on. Dunno about positions.
|
|
| Back to top |
|
 |
AticAtac Newbie cheater
Reputation: 0
Joined: 24 Mar 2008 Posts: 17 Location: 127.0.0.1
|
Posted: Tue Mar 25, 2008 7:19 am Post subject: |
|
|
Hmm, thats not always the case.
I was already able to read scores and other "simple" values, they were stored as normal integers.
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Mar 25, 2008 9:38 am Post subject: |
|
|
It depends on how it was programmed,what you will find.
For this game, can you find a pointer to anything at all.
Close the app, start it again and still have a good pointer?
I dont think you will, so reading from and address will be a different one each time possibly. Not really worth the bother to scan each time you want to read from it.
Now if it is a good address, each time then you can find something worth using to read from.
|
|
| Back to top |
|
 |
AticAtac Newbie cheater
Reputation: 0
Joined: 24 Mar 2008 Posts: 17 Location: 127.0.0.1
|
Posted: Tue Mar 25, 2008 4:33 pm Post subject: |
|
|
Do you think there is a way to decompile the java code ?
It could at least help to understand how the values are stored.
Also, as for changing pointer, i am sure there is way to trace them back to a code where it stays constant. So in worst case kind of runtime-code-check could help to find new adresses.
But as a first step i would be happy to find those values in a session, even if it will be different in another session.
My approach with changed/unchanged values + unknown values wasn't very successfull, still too many adress are left. I need to find a new way to approach this.
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Mar 25, 2008 6:10 pm Post subject: |
|
|
You got to mix up your methods.
Like make a change then scan and dont make a change and scan.
I really have never tried to scan a java game. But i think it should be the same as anything else.
|
|
| Back to top |
|
 |
AticAtac Newbie cheater
Reputation: 0
Joined: 24 Mar 2008 Posts: 17 Location: 127.0.0.1
|
Posted: Thu Mar 27, 2008 5:33 am Post subject: |
|
|
Are there methods/tools to retrieve (decompile) java code from applets ?
I know there are decompiler which can take class files and produce source code". But where do i find those class files which my browser executes ?
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Thu Mar 27, 2008 9:45 am Post subject: |
|
|
If you can get the .jar file, you can open it up. But some of the files inside can be encrypted.
1. game.jar
2. rename it to game.jar.zip
3. Use winzip or winrar to extract the contents.
|
|
| Back to top |
|
 |
Chaosis13 Master Cheater
Reputation: 0
Joined: 14 Aug 2007 Posts: 372
|
Posted: Mon Apr 07, 2008 7:55 pm Post subject: |
|
|
Thanks that helps me with something else... lol.
Also are you talking about Runescape? Give it up, it can't be hacked, well not without a team of losers with alot of time and no jobs or girlfriends.
|
|
| Back to top |
|
 |
|