Jump to content

Falkor

Members
  • Posts

    5
  • Joined

  • Last visited

Falkor's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Took a while for me to find it as well, I've included a unedited copy attached onto this post. NomadMemory.au3
  2. I will persist longer in future but I hope my post becomes some use to someone else in the future thats just starting out.
  3. Solved I was trying to read the memoryopen+pid value which of course is useless! After some carefull thinking / research I came up with the following code which proberly demonstrates the basic memory reading with AutoITv3 #include <NomadMemory.au3> #RequireAdmin SetPrivilege("SeDebugPrivilege", 1) $pid = ProcessExists("MyProgram.exe") ;get process ID $mem_Open = _MemoryOpen($pid) ;open memory for read/write $mem_Read = _MemoryRead("0x63043C", $Mem_Open) ;read the memory MsgBox(0, "Output", $mem_Read) ;display memory _MemoryClose($mem_Open) ;close the memory
  4. Addtional Notes: I've added #RequireAdmin to the top of this script and this has no effect. I have noticed that when notepad.exe is closed I get the PID 0 and when its open I get a blank PID in the msgbox...
  5. #include <NomadMemory.au3> SetPrivilege("SeDebugPrivilege", 1) $pid = _MemoryOpen(ProcessExists("notepad.exe")) MsgBox(0, "PID", $pid) _MemoryClose($pid) Hey all, I'm pretty new to AutoIT but a fast learner I've been trying to figure out memory reading and starting off by simple trying to get the PID from the current notepad.exe process. Running the above code presents a blank msgbox, I've tried everything I can think of but its either the code or the fact im running Windows 7 x64. Any replys would be much appreiciated and I apologise if its a really really simple mistake!.
×
×
  • Create New...