Guest User

Untitled

a guest
Nov 21st, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #include <NomadMemory2.au3>
  2. #include <Array.au3>
  3.  
  4. ;Process ID
  5. $PID = ProcessExists("client.exe")
  6.  
  7. ;The static address / Pointer
  8. $pointer = 0x00D49B4C
  9.  
  10. ;Offset on Hexadecimal
  11. Dim $offset[6] = [0x00D49B4C,0x3B8,0x10,0x0,0x5C,0x9C]
  12.  
  13. ;open the process and get the handle
  14. $handle = _MemoryOpen($PID)
  15.  
  16. ;close the open process
  17. $value = _MemoryPointerRead($pointer, $handle, $offset)
  18.  
  19. ;close the open process
  20. _MemoryClose($handle)
  21.  
  22. ;display the value and the destination address
  23. ConsoleWrite("The value is: " & $value)
  24. ;BreackLine
  25. ConsoleWrite(@CRLF);
Add Comment
Please, Sign In to add comment