Results 1 to 9 of 9

Thread: Memory location, one for the experts

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    837

    Memory location, one for the experts

    is there any way to list all memory locations that are being used for another program (one i did not create)?
    The human brain cannot hold all of the knowledge that exists in this world, but it can hold pointers to that knowledge.

  2. #2
    Registered User
    Join Date
    May 2001
    Location
    taizhou zheziang china
    Posts
    17

    Phycal or Virtual

    Do u want to EDIT other process memory that OS distributed?

    I only care a process virtual memory.

    you can use
    CreateToolhelp32Snapshot,Process32First,Process32Next
    functions to get other process ID.
    and use OpenProcess to get process handle,
    last two functions:ReadProcessMemory and WriteProcessMemory,using them to read and write a process virtual memory.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    837
    maybe there are a few things i need to learn because i don't understand what you just said

    what i want to do is see the value for alll variables being used in a game while its running. basically i just wanna check those values to find out whats going on internally and then change the values as the programs running, as a way of cheating
    The human brain cannot hold all of the knowledge that exists in this world, but it can hold pointers to that knowledge.

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    You could use the ASM debugger if you have Visual C++.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  5. #5
    Registered User
    Join Date
    May 2001
    Location
    taizhou zheziang china
    Posts
    17

    sproll

    I know your intention.
    I don't know there's suck game cheater in your country.
    But there are in mine.
    I have wrote a game cheater(only cheating in a specifed game),just use these fuction i said.
    I first use common game cheater(in our country,they are FPE,Game Master,ect)find the memory position,and then use functions to change them.
    Know more about Memroy functions ,look into MSDN.

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    May 2001
    Posts
    837
    k, thanks everyone
    The human brain cannot hold all of the knowledge that exists in this world, but it can hold pointers to that knowledge.

  7. #7
    New Member
    Join Date
    Aug 2001
    Posts
    5
    hey sproll. I have a question regarding readprocessmemory. I have gotten the pid of the program and I used openprocess with it but when I use readprocessmemory it always gets the very beginning of memory not the beggining of memory of the program I want. What am I doing wrong and how do I get the memory of the program? Thanks..

  8. #8
    Registered User
    Join Date
    May 2001
    Location
    taizhou zheziang china
    Posts
    17

    sproll

    Hello,Bryan.
    It's API Viewer's bug,like RegQueryValueEx function declaration.

    Here is right declaration.

    Public Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Long, lpBuffer As Integer, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long
    Public Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Long, lpBuffer As Integer, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long

    We really need a new API Viewer.

  9. #9
    New Member
    Join Date
    Aug 2001
    Posts
    5
    Thanks for the info but how exactly do you use that? How do you get the output from it?

Posting Permissions

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



Click Here to Expand Forum to Full Width