Results 1 to 4 of 4
  1. #1
    n0bekre is offline Member
    Join Date
    Jun 2010
    Posts
    1
    Rep Power
    0

    Default Grabbing info from Java game

    Howdy,

    I've been trying to "hack" into a game called Darkfall for quite some time but I always hit a wall.
    I'm not trying to do anything illegal within the game itself like speedhacking, wallhacking or anything like that. I just want to be able to retrieve information, not write anything and according to the Devs they don't really care about 3rd party tools as long as they aren't hacks.

    I have tried doing it two ways using several methods.
    First I tried getting a DirectX api hook because I figured most of the information I wanted was being drawn on screen at some point, therefore reading the parameters for the functions that DirectX uses could work but I couldn't really get this method to work and realised that there's a lot more information hidden so decided to move on to another way.

    Second attempt was trying out to get inside the Java, I decompiled the class loader but couldn't really get anything useful out of it. I tried using VisualVM and checking the heap dump and found out most classes are obfuscated with names like Fbd Agv.
    I have tried with JVMTI but without any success. I can't seem to get what I want.

    So basically what I'm trying to ask is how should I go in order to just hook a dll into the game and grab some info? My objective would be to retrieve the string right after the program decrypts it and then I could do whatever I wanted with it.

    Googling around I have found 0 tutorials or helpful links regarding to Java game hooking which is why I'm asking here.

    Thanks.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    Sounds too system internals for java. Try native code.

  3. #3
    dinosoep is offline Senior Member
    Join Date
    Nov 2009
    Posts
    150
    Rep Power
    5

    Default

    how about injecting bytecode at some methods and see what you get through?

  4. #4
    JvlShz is offline Member
    Join Date
    Jun 2010
    Posts
    26
    Rep Power
    0

    Default

    use visualvm to find the object pointer name which is displayed onscreen. from there, you can go ahead and backwards-trace the bytecode calls.

Similar Threads

  1. Replies: 1
    Last Post: 12-02-2009, 03:39 PM
  2. grabbing text from JTextField and replace it.
    By jimmy-lin in forum New To Java
    Replies: 1
    Last Post: 11-16-2009, 09:09 AM
  3. [SOLVED] Java not fill in all info for text file
    By gotenks05 in forum New To Java
    Replies: 0
    Last Post: 05-24-2009, 05:17 PM
  4. Need info abt Java certification
    By kavitha2005 in forum New To Java
    Replies: 14
    Last Post: 12-18-2008, 01:28 PM
  5. grabbing an item from an arraylist.
    By newtojava7 in forum New To Java
    Replies: 1
    Last Post: 03-17-2008, 08:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •