• 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 4 of 4
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      r0man's Avatar
      Join Date
      Jul 2013
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0

      memory hack help

      John Kittz
      Hi,

      I'm trying to do simple mem hack that uses writeprocessmemory but im stuck.

      Well, firstly I've scanned for a pointer and thats what i have:

      Attachment 2044

      as you can see i have 4 offsets (i think), and
      TLoad.exe + 00ACB194

      this tload.exe ... is entrypoint or what? how can i write something to that entrypoint? If i'm wrong tell me what should i do, and give me some code example if you could.


      Thanks in advance, im newb.

    2. #2
      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 r0man View Post
      Hi,

      I'm trying to do simple mem hack that uses writeprocessmemory but im stuck.

      Well, firstly I've scanned for a pointer and thats what i have:

      Attachment 2044

      as you can see i have 4 offsets (i think), and
      TLoad.exe + 00ACB194

      this tload.exe ... is entrypoint or what? how can i write something to that entrypoint? If i'm wrong tell me what should i do, and give me some code example if you could.


      Thanks in advance, im newb.
      tload.exe is actually where the module starts in memory. The entrypoint is something else, which, in this case, you won't need.

      You should do it in this order (as long as you don't do it internally, then just call GetCurrentProcess and then directly call WPM)
      Enumerate process (EnumerateProcess()) -> Get your process ID -> Call OpenProcess -> Call WriteProcessMemory -> CloseHandle....

      BOOL WINAPI WriteProcessMemory(
      _In_ HANDLE hProcess,
      _In_ LPVOID lpBaseAddress,
      _In_ LPCVOID lpBuffer,
      _In_ SIZE_T nSize,
      _Out_ SIZE_T *lpNumberOfBytesWritten
      );

      As HANDLE in WriteProcessMemory you use the retrieved handle through OpenProcess, the LPVOID BaseAddress is the address you want to write to, the Buffer can be a pointer to e.g. a value you defined. nSize is the number of bytes you're writing (for int it's 4) and as the last argument just make 0



      Btw you could just use the C++ trainer class I released which can deal with your pointer+offset problems:
      https://guidedhacking.com/showthread...-Trainer-Class

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      r0man's Avatar
      Join Date
      Jul 2013
      Posts
      13
      Thanks (-->)
      0
      Thanks (<--)
      0
      Quote Originally Posted by till0sch97 View Post


      Enumerate process (EnumerateProcess()) -> Get your process ID -> Call OpenProcess -> Call WriteProcessMemory -> CloseHandle....
      I've used something like
      FindWindow>GetWindowThreadProcessId>OpenProcess> then write to memory and then CloseHandle (i've reinstalled my system and forgot to copy my codes //fail)

      https://guidedhacking.com/showthread...-Trainer-Class[/QUOTE]
      thanks for this, gonna check it as fast as i install msvs and shits on my computer

      and regarding to the topic again, i wasn't sure what lpBaseAddress exactly is since im not familiar with offsets and shit.

      Anyways thanks, but don't close this thread, because probaly i'll ask something new soon I believe

    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
      Cheats'n'Trainers
      Quote Originally Posted by r0man View Post
      I've used something like
      FindWindow>GetWindowThreadProcessId>OpenProcess> then write to memory and then CloseHandle (i've reinstalled my system and forgot to copy my codes //fail)
      Yes you can also do it with FindWindow and GetWindowThreadProcessId. Or even both, process name and window title. The trainer class only supports process name though.

    Similar Game Hacker Threads

    1. [Help] Dumping a whole region of memory somewhere to trick a memory check
      By windows.h in forum Hacking Help
      Replies: 6
      Last Post: 02-18-2016, 09:28 AM
    2. [Help] Coding a simple memory hack
      By KneeGrow in forum Hacking Help
      Replies: 5
      Last Post: 09-06-2015, 06:39 PM
    3. [Help] How to make Memory hack works online?
      By Jolyana in forum Hacking Help
      Replies: 6
      Last Post: 10-16-2014, 06:21 PM
    4. Replies: 7
      Last Post: 07-27-2014, 04:49 AM
    5. Need a help in my first memory hack
      By Galhali in forum Hacking Help
      Replies: 4
      Last Post: 01-17-2013, 01:42 PM

    Tags for this Thread