• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 5 of 5
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Shadoninja's Avatar
      Join Date
      Apr 2013
      Location
      Fort Collins, CO
      Posts
      36
      Thanks (-->)
      5
      Thanks (<--)
      1

      [C++ DLL Injection] Getting the starting point of my process

      John Kittz
      This is the code Fleep uses to access the starting point of Assault Cube.

      Code:
      MyProcess[0].MainModule.BaseAddress.ToInt32() + 0x000E4E08;
      He needs this information because the enemy base pointer is referenced from the start of the program, instead of a simple static address.

      I am working on a hack in C++ and I am curious if I should be going about this in a similar fashion. My current code is a derivative of Fleep's dll tutorial which means (I think) that my dll does not know where the start of the program is. Any hints?

    2. #2
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Shadoninja's Avatar
      Join Date
      Apr 2013
      Location
      Fort Collins, CO
      Posts
      36
      Thanks (-->)
      5
      Thanks (<--)
      1
      Its been about a week and I am leaving town tomorrow so BUMP

    3. #3
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Code:
      DWORD base = (DWORD)GetModuleHandle("program.exe");
      [C++ DLL Injection] Getting the starting point of my process

    4. #4
      Global Moderator
      give me my colorz back
      FeelsBadMan
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340
      Quote Originally Posted by Shadoninja View Post
      This is the code Fleep uses to access the starting point of Assault Cube.

      Code:
      MyProcess[0].MainModule.BaseAddress.ToInt32() + 0x000E4E08;
      He needs this information because the enemy base pointer is referenced from the start of the program, instead of a simple static address.

      I am working on a hack in C++ and I am curious if I should be going about this in a similar fashion. My current code is a derivative of Fleep's dll tutorial which means (I think) that my dll does not know where the start of the program is. Any hints?
      Retrieving the base address is no necessary at all since AssaultCube's baseaddress is always 400000 (default). You only need to add 0xE4E08 to 0x400000 (=40E4E08)

    5. #5
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      Shadoninja's Avatar
      Join Date
      Apr 2013
      Location
      Fort Collins, CO
      Posts
      36
      Thanks (-->)
      5
      Thanks (<--)
      1
      Cheats'n'Trainers
      Quote Originally Posted by till0sch97 View Post
      Retrieving the base address is no necessary at all since AssaultCube's baseaddress is always 400000 (default). You only need to add 0xE4E08 to 0x400000 (=40E4E08)
      I would much rather learn methods that I can apply to all games for future projects! But I did not make that connection so thank you.

      Quote Originally Posted by c5 View Post
      Code:
      DWORD base = (DWORD)GetModuleHandle("program.exe");
      Looks solid. I will give it a try when I am at my computer.

    Similar Game Hacker Threads

    1. [Help] Read Process Memory from Process + mono.dll
      By ranseier in forum C#
      Replies: 2
      Last Post: 09-26-2015, 07:26 AM
    2. Starting Your Journey Into Hacking
      By Crazywink in forum Hacking Help
      Replies: 13
      Last Post: 06-24-2015, 09:41 AM
    3. Point Blank Garena - Multihacks V1
      By BaroQuE in forum Other Game Hacks
      Replies: 1
      Last Post: 06-06-2015, 08:50 AM
    4. Point Addresses Manual vs Pointer Scans
      By mepath in forum Hacking Help
      Replies: 5
      Last Post: 09-05-2012, 06:21 PM

    Tags for this Thread