Hey gibt es eine Udf mit der es möglich ist, die Informationen der Memory Regions eines Prozesses auszulesen?
Bei Cheat engine gibt es ja die Funktion.
Müsste das in Autoit machen.
Ist nicht das was ich brauche.
Wie man Memory ausliest und beschreibt weis ich doch, aber nicht wie ich informationen aus Memory Regionen bekomme.
Beispielsweise welches Modul in welcher Memory Region seinen Platz hat oder welche rechte die region hat. (Execute/Read/Write)
Ist nicht das was ich brauche.
Wie man Memory ausliest und beschreibt weis ich doch, aber nicht wie ich informationen aus Memory Regionen bekomme.
Beispielsweise welches Modul in welcher Memory Region seinen Platz hat oder welche rechte die region hat. (Execute/Read/Write)
die solltest du dir mal genauer anschauen.
setzen kannst du sie einfach mit den und funktionen.
über die funktion kannst du dann noch die setzen, über welche du dann genauere infos zu deinem module bekommst
For $i = 1 To 1499 If $Base > 0x7ffe0001 Then $Addresses[0][0] = $i-1 ExitLoop EndIf $Region = _ProcessMemoryVirtualQuery($pid,$Base+$Size)
if IsArray($Region) Then $Base = $Region[0] $Size = "0x"&Hex($Region[3]) $Addresses[$i][0] = $Region[0] $Addresses[$i][1] = GetMappedFileName($pid,$Region[0])
EndIf Next
_ArrayDisplay($Addresses)
Func GetMappedFileName($PID, $Address) Local Const $PROCESS_QUERY_INFORMATION=0x0400 Local Const $PROCESS_VM_READ=0x0010 Local $hprocess $Psapi = DllOpen("Psapi.dll")
$hProcess=_WinAPI_OpenProcess(BitOR($PROCESS_QUERY_INFORMATION,$PROCESS_VM_READ),False,$PID) If Not $hProcess Then Return 0
Func _ProcessMemoryVirtualQuery($PID,$pAddress,$iInfo=-1) $_COMMON_KERNEL32DLL = DllOpen("Kernel32.dll") Local $hProcess = _WinAPI_OpenProcess(0x400,False,$PID) If Not IsPtr($hProcess) Or Ptr($pAddress)=0 Or $iInfo>6 Then Return SetError(1,0,-1)
Local $aRet,$stMemInfo=DllStructCreate("ptr;ptr;dword;ulong_ptr;dword;dword;dword"),$iStrSz=DllStructGetSize($stMemInfo)
If $iInfo<0 Then Dim $aMemInfo[7] For $i=0 To 6 $aMemInfo[$i]=DllStructGetData($stMemInfo,$i+1) Next Return $aMemInfo EndIf Return DllStructGetData($stMemInfo,$iInfo+1) EndFunc
AutoIT Memory 2 04/23/2012 - AutoIt - 2 Replies Kann mir wer die Memory 2 schicken also ihr wisst schon
# include Memory 2 das ding =)
[Help]Memory Read with Autoit 01/22/2011 - AutoIt - 4 Replies Im trying to do a program that reads a memory from one aplication and send a comand depending on memory value from the aplication.
The problem is that Im not expert interpreting the memory value, and I dont know how to filter them.
Here are some printscreens from the memory value changing...
http://img80.imageshack.us/img80/5039/ce1.png
http://img593.imageshack.us/img593/2386/ce2.png
AutoIT Memory Functions 11/14/2009 - AutoIt - 2 Replies Hi^^
Also, ich bin im moment nen bisschen dabei mit AutoIT rumzuspielen, da ich noch keinen wirklichwn Plan hab was ich damit anfangen will :P (zu viel Noob für Bots, bzw. Hacks)
Allerdings hatte ich jetz ma die Idee das ich für Cs nen kleinen Memory Bot erstell ;)
Der soll per Hotkey die Munition im Magazin auf dem maximalen stand halten ;)
Funzt auch alles prima^^
Nur jetz hab ich das Probelm, dass ich nur einmal Funktion ausführen kann :(
Memory Read in autoit 01/02/2009 - CO2 Programming - 2 Replies Something is wrong when I use this macro. AutoIt alwais get a positive answer for every memory read, even if the answer is negative. #include <NomadMemory.au3>
$paused1 = 1
While $paused1 = 1
$pos2 = MouseGetPos()
$sleep = 350
$Mem_Answer1 = 0x0168DFBC
$Mem_Answer2 = 0x0168E0F4
$Mem_Answer3 = 0x0168E22C
$Mem_Answer4 = 0x0168E364
$Process1 = WinGetProcess("")