|
You last visited: Today at 04:49
Advertisement
Olly + AuotIt + Me = o.O
Discussion on Olly + AuotIt + Me = o.O within the AutoIt forum part of the Coders Den category.
07/19/2010, 01:29
|
#1
|
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
|
Olly + AuotIt + Me = o.O
Hi ho E*pvp,
Hab immer noch das Problem....
Ich machs kurz...
Source:
Code:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Solitär [Addy Logger]", 231, 79, 202, 194)
GUISetFont(9, 800, 0, "MS Sans Serif")
GUISetBkColor(0x000000)
$Label1 = GUICtrlCreateLabel("Score", 16, 16, 37, 17)
GUICtrlSetColor(-1, 0x00FF00)
$Label2 = GUICtrlCreateLabel("0x000000", 64, 16, 59, 17)
GUICtrlSetColor(-1, 0x00FF00)
$Label3 = GUICtrlCreateLabel("Solitär nicht gefunden!", 48, 32, 133, 17)
GUICtrlSetColor(-1, 0x00FF00)
$Label4 = GUICtrlCreateLabel("Bitte starte Solitär", 72, 48, 106, 17)
GUICtrlSetColor(-1, 0x00FF00)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
call("start")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func start()
$1 = run("sol.exe")
if $1 = true Then
guictrlsetdata($LAbel3,"Solitär gefunden")
guictrlsetdata($LAbel4,"Searching Addy!")
EndIf
call("search")
EndFunc
Func search()
$Byte = "\x89\x46\x30\x5E\xE8\x00\x00\x00\x00"
$Mask ="xxxxx????"
$start = 0x1001000
$end = 0x6000
[COLOR="Red"]$find =
;hier zu such ich die func!
;AutoIt soll von der start bis zu end size Die byte + mask suchen und die Addy finden[/COLOR]
$write = guictrlsetdata($label2,$find)
EndFunc
hoffe ihr könnt mir helfen.
TY
|
|
|
07/19/2010, 12:03
|
#2
|
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
|
#push
immer nioch kiene idee?
|
|
|
07/19/2010, 13:18
|
#3
|
elite*gold: 0
Join Date: Mar 2008
Posts: 1,524
Received Thanks: 285
|
erklär uns was nicht funktioniert und pushen darfst du nur im black market
|
|
|
07/19/2010, 15:49
|
#4
|
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
|
aso^^ kk, na wie beim addy logger in c++ memorysearch($start, $end"Byte", "mask")
also nur in autoIt
|
|
|
07/19/2010, 16:11
|
#5
|
elite*gold: 100
Join Date: Oct 2007
Posts: 738
Received Thanks: 485
|
du hast den C++ Code dazu und kannst es nicht portieren?
Eigentlich sollte ich es dir nicht geben aber:
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 -1
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 -1
EndFunc
|
|
|
07/19/2010, 19:09
|
#6
|
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
|
thx^^ aber wie immer, funtzt es net so wie ich will^^
Quote:
#include <NomadMemory.au3>
$ah_Handle = _MemoryOpen(ProcessExists ("sol.exe"))
$pattern="\x89\x46\x30\x5E\xE8\x00\x00\x00\x00"
$pattern=StringReplace($pattern,"\x"," ")
$pattern=StringReplace($pattern,"00","..")
$find=_MemoryScan($ah_Handle, $pattern)
$N_SECTION_D_POSX = _MemoryRead($find+2, $ah_Handle) ;
$POSX = Round(_MemoryRead($N_SECTION_D_POSX, $ah_Handle, "float"), 0)
msgbox(0, "Found", "Found: " & $find & @LF & "Address: " & Hex($N_SECTION_D_POSX) & " Value: " & $POSX)
Func _MemoryScan($ah_Handle, $pattern, $after=false, $iv_addrStart=0x1001000, $iv_addrEnd=0x6000, $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
|
ich krieg immer nur -3 ^^
ty
|
|
|
07/19/2010, 20:17
|
#7
|
elite*gold: 100
Join Date: Oct 2007
Posts: 738
Received Thanks: 485
|
Wo kriegst du -3 raus?
Vllt hast du ein Patter für mehrere Stellen, oder es ist falsch, oder, oder, oder.... bitte mehr Informationen.
|
|
|
07/19/2010, 22:42
|
#8
|
elite*gold: 0
Join Date: May 2009
Posts: 634
Received Thanks: 794
|
-3 0x00000 0 steht da
|
|
|
07/20/2010, 13:29
|
#9
|
elite*gold: 100
Join Date: Oct 2007
Posts: 738
Received Thanks: 485
|
Patter existiert nicht.
|
|
|
 |
Similar Threads
|
Olly Help
12/08/2009 - Dekaron - 0 Replies
I remember seeing this somewhere in Lena's tutorial, but I don't remember what it is, or where exactly I saw it.
What I'm trying to do is attach olly to 2moons and then kill a mob in a higher map than I should be in. So, how do I make olly follow the code as I'm doing this? I thought it was a hotkey like f9 or something, but I don't remember...
|
Need a little help with Olly
12/08/2009 - Mabinogi - 16 Replies
Why are the addresses in my IDA different from the ones in my Olly?
Same DLL, but I cant find the adress NOR the unicode in my Olly that I see in front of my in my IDA.
Any suggestions?
Edit: Using IDA 64 bit and normal OllyDbg
|
Auotit Angelbot Hilfe
11/30/2009 - Metin2 - 8 Replies
Ich hoffe mal ich bin hier richtig.
Ich habe das folgende Problem:
Mein AngelBot soll erst dann anfangen, wenn das Metin Fenster aktiviert ist.
Aber wenn es aktiviert ist passiert nichts.
Bin ziemlich neu in Autoit und kenn mich noch nicht so gut damit aus.
Das ist mein Code:
HotKeySet("{ESC}", "Terminate")
WinWaitActive("METIN2","",3) ; warten bis Metin2 ausgewählt ist
|
SnD Olly
07/29/2009 - General Coding - 13 Replies
While searching for a way to unpack Themida, i stumbled across a great suite of tools gathered around a modified version of the famous OllyDbg, assembled by the group "Seek n' Destroy".
The package is about 78Mb huge and features alot of plugins for olly and other tools you could need for your general reverse engineering needs.
This package is still in beta and has some downsides, which are for example:
1) lots of stuff in olly is now in leetspeak...
screenshot:...
|
Olly DGB to run
01/26/2009 - World of Warcraft - 2 Replies
Hey, quick question, I was talking with one of my old buddies recently and we hada discussion about how we could get olly debugger or something of the likes to run alongside with WoW. Or any other dbg program. Thanks!
|
All times are GMT +1. The time now is 04:52.
|
|