Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 12:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Autoit Memory suchen lassen

Discussion on Autoit Memory suchen lassen within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,622
Received Thanks: 2,070
Autoit Memory suchen lassen

Hi Com,

habe mal in einem script von pingui gesehen, dass er eine Funktion namens _searmemory angewandt hat.

Nun wollte ich fragen ob jemand diese kennt, und mir diese geben könnte?

Leider antwortet er mir nicht.


Weil ich würde Probieren einen Autoupdate für meinen Trainer zu adden.

Danke.
freehuntx is offline  
Old 10/04/2010, 22:50   #2
 
CroSSiie's Avatar
 
elite*gold: 205
Join Date: Jun 2010
Posts: 264
Received Thanks: 686
mal ne doofe frage...
was willste mit memoryfunktionen wenn nen updater haben willst?
CroSSiie is offline  
Old 10/04/2010, 23:32   #3
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
er will das die speicheradressen automatisch geupdated werden.
hierzu wäre es empfehlenswert das file nach binary snipets zu durchsuchen, und so die adressen relativ zur module base zu bestimmen.
lolkop is offline  
Old 10/05/2010, 19:11   #4
 
PenGuin :O's Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 1,778
Received Thanks: 1,222
Code:
;==================================================================================
; Function:         _MemoryScan($ah_Handle, $pattern [, $after[, $iv_addrStart, [$iv_addrEnd]]])
; Description:      Finds the address of the first occurance of a pattern in a process.
; Parameter(s):     $ah_Handle - An array containing the Dll handle and the handle
;                                of the open process as returned by _MemoryOpen().
;                   $pattern - The pattern you want to find. Provide the pattern
;                              as a String of hex values. You may use the '.' as wildcard.
;                              Any other character as '0123456789ABCDEFabcdef.' is ignored.
;                              Example: "55 8B .. 83"
;                   $after - (optional) Set to FALSE by default.
;                            If set to TRUE, the method will return the address
;                            after the pattern, else the method returns the address
;                            of the pattern itself.
;                   $iv_addrStart - (optional) Set to 0x00400000 by default.
;                                   This is the address where the method begins to scan
;                                   for the pattern. It must be in hex format (0x00000000).
;                   $iv_addrEnd - (optional) Set to 0X00FFFFFF by default.
;                                 This is the address where the method stops to scan
;                                 for the pattern. It must be in hex format (0x00000000).
; Requirement(s):   None.
; Return Value(s):  On Success - Returns the address of the first occurance of the pattern
;                                ($after = FALSE) or the address after the first occurance
;                                of the pattern ($after = TRUE). The address is in
;                                hexadecimal format.
;                   On Failure - Returns -1
;                   @Error - 0 = No error.
;                            1 = Invalid $ah_Handle.
;                            2 = Invalid $pattern.
; Author(s):        Luzifer42
; Note(s):          The default scan range will be completed in less than one second.
;==================================================================================

Func _MemoryScan($ah_Handle, $pattern, $after=false, $iv_addrStart=0x00400000, $iv_addrEnd=0X00FFFFFF, $step=51200)
	If Not IsArray($ah_Handle) Then
		SetError(1)
        Return -1
	EndIf
	$pattern=StringRegExpReplace($pattern, "[^0123456789ABCDEFabcdef.]", "")
	IF StringLen($pattern)=0 Then
		SetError(2)
        Return -2
	EndIf
	For $addr=$iv_addrStart To $iv_addrEnd Step $step-(StringLen($pattern)/2)
		StringRegExp(_MemoryRead($addr, $ah_Handle, "byte[" & $step & "]"), $pattern, 1, 2)
		If Not @Error Then
			If $after Then
				return StringFormat("0x%.8X", $addr+((@Extended-2)/2))
			Else
				return StringFormat("0x%.8X", $addr+((@Extended-StringLen($pattern)-2)/2))
			EndIf
		EndIf
	Next
	Return -3
EndFunc
Bitte.

EDIT: Wann hast du mich mal angeschrieben? O.o
PenGuin :O is offline  
Thanks
2 Users
Old 10/05/2010, 19:18   #5
 
Nico001's Avatar
 
elite*gold: 297
Join Date: Mar 2009
Posts: 646
Received Thanks: 171
Mach deinen autoupdater mit
Visual basic
gib einfach bei youtube ein:
visual basic downloader

Was du dafür brauchst:
Visual basic
und eine eigene hompage
Nico001 is offline  
Old 10/05/2010, 19:22   #6
 
lolkop's Avatar
 
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
Quote:
Originally Posted by Nico001 View Post
Mach deinen autoupdater mit
Visual basic
gib einfach bei youtube ein:
visual basic downloader

Was du dafür brauchst:
Visual basic
und eine eigene hompage
sauber. es wird gefragt wie man in einer speziellen sprache den speicher von programmen durchsuchen kann, und du erzählst ihm was von ner anderen sprache und ner homepage.
lolkop is offline  
Old 10/05/2010, 19:23   #7
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
omer36 is offline  
Old 10/07/2010, 08:24   #8
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,622
Received Thanks: 2,070
Oops ^^ danke euch allen.

Pinguin ich habe dich wie gesagt leider mit jemanden vertauscht in skype xD dachte du bist das ^^
freehuntx is offline  
Old 10/07/2010, 18:56   #9


 
Al Kappaccino's Avatar
 
elite*gold: 179
Join Date: Oct 2009
Posts: 7,853
Received Thanks: 8,558
Mit der Pattern Search Technik, könnte man auch eine art "Simple Cheat Engine" erstellen, wobei natürlich die Leistung fürn A**** ist
Al Kappaccino is offline  
Reply


Similar Threads Similar Threads
AutoIT]Values Suchen lassen?
09/27/2010 - S4 League - 14 Replies
HI, geht das, dass AutoIT nach der texture ... in S4 league sucht und alles was dann kommt in etwas anderes umendert in 1 z.B ? Also nicht so wie jetzt das man die adresse bracuuht sondern einfach nach 1 suchen lassen alles was er findet zu 2 ändern
D2NT nach ip suchen lassen?
06/01/2010 - Diablo 2 - 6 Replies
kann man den bot eingentlich so einstellen, das er bei einer bestimmten ip in die er joint drin bleibt?



All times are GMT +1. The time now is 12:36.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.