Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 20:26

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

Advertisement



[AutoIT]Injector?

Discussion on [AutoIT]Injector? within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 301
Received Thanks: 980
[AutoIT]Injector?

Hallo habe mal eine kleine frage
kann man in autoit einen injector und eine .dll erstellen? weil ich wollte
einen 32 bit 4story hack machen und dafür muss ich deinen injector
haben^^ fals ja sagt mir wie wen nicht habe ich pech und muss c++
lernen
"DarkDöner" is offline  
Old 08/07/2010, 23:55   #2
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
Injektor geht, aber Dll gehen nicht.
Shadow992 is offline  
Old 08/08/2010, 01:16   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 301
Received Thanks: 980
Hmm aber man braucht doch eine .dll also der injector injectet doch zur .dll oder nicht?
"DarkDöner" is offline  
Old 08/08/2010, 09:41   #4
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
Quote:
Originally Posted by EmoStyler009 View Post
Hmm aber man braucht doch eine .dll also der injector injectet doch zur .dll oder nicht?
Jop...
Shadow992 is offline  
Old 08/08/2010, 11:02   #5
 
elite*gold: 0
Join Date: Jun 2010
Posts: 301
Received Thanks: 980
Hmm misst
"DarkDöner" is offline  
Old 08/08/2010, 14:55   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
Würde das nicht gehen ,
Dlls mit C++ erstellen und einen Injector mit AutoIt machen und die Dlls die man mit C++ gemacht hat mit AutoIt injecten ? xD
v0lle is offline  
Old 08/08/2010, 15:02   #7
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
Quote:
Originally Posted by volle14 View Post
Würde das nicht gehen ,
Dlls mit C++ erstellen und einen Injector mit AutoIt machen und die Dlls die man mit C++ gemacht hat mit AutoIt injecten ? xD
Klar würde das gehen, aber das macht fast keiner.
Shadow992 is offline  
Old 08/08/2010, 15:27   #8
 
elite*gold: 0
Join Date: Jun 2010
Posts: 301
Received Thanks: 980
Hmm hört sich aber sehr schwer an xD aber wäre geil das zu machen dan
kann man in 4story endlich wieder 32 bit hacken^^
"DarkDöner" is offline  
Old 08/08/2010, 17:57   #9
 
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
DllStructCreate ( "Struct" [,Pointer] )

Erzeugt eine Struktur im C/C++-Stil die mit DllCall genutzt werden kann.

Hab ich in der Hilfe gefunden ...
v0lle is offline  
Old 08/08/2010, 18:22   #10
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
Quote:
Originally Posted by volle14 View Post
DllStructCreate ( "Struct" [,Pointer] )

Erzeugt eine Struktur im C/C++-Stil die mit DllCall genutzt werden kann.

Hab ich in der Hilfe gefunden ...
Schaust du:
PHP Code:
Func _InjectDll($hWnd$dllpath)
    ;
make sure the user passed valid parameters
    
If IsHWnd($hWnd) = 0 then 
        SetError
(-1)
        Return 
False
    
ElseIf StringLen($dllpath) <= Or StringRight($dllpath4) <> ".dll" Then
        SetError
(-2)
        Return 
False
    
EndIf
    
    
Local $pid$pHandle$pLibRemote$modHandle$LoadLibraryA$hThread
    
    
;open dll that we'll be using
    Local $kernel32 = DllOpen("kernel32.dll")
    
    ;get the pid from the window provided
    $pid = DllCall("user32.dll", "int", "GetWindowThreadProcessId", "hwnd", $hWnd, "int*", 0)
    If IsArray($pid) Then
        $pid = $pid[2]
    Else
        SetError(-3)
        Return False
    EndIf
    
    ;open the process for writing
    $pHandle = DllCall($kernel32, "int", "OpenProcess", "int", 0x1F0FFF, "int", 0, "int", $pid)
    If IsArray($pHandle) And $pHandle[0] > 0 Then
        $pHandle = $pHandle[0]
    Else
        SetError(-4)
        Return False
    EndIf
    
    $pLibRemote = DllCall($kernel32, "int", "VirtualAllocEx", "int", $pHandle, "short", 0, "int", 0x1000, "int", 0x1000, "int", 4)
    If IsArray($pLibRemote) Then
        If $pLibRemote[0] > 0 Then
            ;debug
            ConsoleWrite("0x" & Hex($pLibRemote[0], 8) & @CR)
            $pLibRemote = $pLibRemote[0]
        Else
            SetError(-5)
            Return False
        EndIf
    Else
        SetError(-6)
        Return False
    EndIf
    
    For $i = 0 To StringLen($dllpath)
        $ret = DllCall("kernel32.dll", "int", "WriteProcessMemory", "int", $pHandle, "int", $pLibRemote + $i, "int_ptr", Asc(StringMid($dllpath, $i + 1, 1)), "int", 1, "int", 0)
        If IsArray($ret) Then
            If $ret[0] = 0 Then
                SetError(-7)
                Return False
            EndIf
        Else
            SetError(-8)
            Return False
        EndIf
    Next
    
    $modHandle = DllCall($kernel32, "long", "GetModuleHandle", "str", "kernel32.dll")
    If IsArray($modHandle) Then
        If $modHandle[0] > 0 Then
            $modHandle = $modHandle[0]
        Else
            SetError(-9)
            Return False
        EndIf
    Else
        SetError(-10)
        Return False
    EndIf
    
    $LoadLibraryA = DllCall($kernel32, "long", "GetProcAddress", "long", $modHandle, "str", "LoadLibraryA")
    If IsArray($LoadLibraryA) Then
        If $LoadLibraryA[0] > 0 Then
            $LoadLibraryA = $LoadLibraryA[0]
        Else
            SetError(-11)
            Return False
        EndIf
    Else
        SetError (-12)
        Return False
    EndIf
    
    $hThread = DllCall($kernel32, "int", "CreateRemoteThread", "int", $pHandle, "int", 0, "int", 0, "long", $LoadLibraryA, "long", $pLibRemote, "int", 0, "int", 0)
    If IsArray($hThread) Then
        ConsoleWrite($hThread[0] & @CR)
        If $hThread[0] > 0 Then
            $hThread = $hThread[0]
        Else
            SetError(-13)
            Return False
        EndIf
    Else
        SetError(-14)
        Return False
    EndIf
    
    DllCall($kernel32, "int", "VirtualFreeEx", "int", $pHandle, "int", $pLibRemote, "int", 0x1000, "int", 0x8000)
    DllCall($kernel32, "int", "CloseHandle", "int", $hThread)
    DllCall($kernel32, "int", "CloseHandle", "int", $pHandle)
    
    DllClose($kernel32)
    
    Return True
EndFunc 
Quelle:


Oder alternativ:
Shadow992 is offline  
Old 08/08/2010, 19:02   #11
 
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
Die UDF funkzt bei mir nit ._.
Der will die UDF nicht includen -.-
v0lle is offline  
Old 08/08/2010, 19:21   #12
 
elite*gold: 0
Join Date: Jun 2010
Posts: 301
Received Thanks: 980
Ok thx an euch beiden^^
"DarkDöner" is offline  
Reply


Similar Threads Similar Threads
Suche Funktioniernden Injector (Search for a working injector) CA EU
09/08/2010 - Combat Arms - 13 Replies
Kann Jemand einen Link von einem Funktionierenden Injector geben außer PerX suche schon ewig aba find keinen Can somebody give me a link for a working Injector i search every time but still nothing found^^ pleas give link but no perx sorry for bad english thx schon ma im vorraus
Xinject-Multi DLL.Injector {Better then OMFGZ DLL Injector.} Rep+Thank.(leeach)
01/09/2010 - Soldier Front Hacks, Bots, Cheats & Exploits - 5 Replies
Hi Welcome to X1nject The Best Multi DLL injector. Xinject-Multi DLL.Injector {Better then OMFGZ DLL Injector.} What this dose? Injects Any "X" amount off DLL'S into a Program. Stable+Trust Worthy. Easily Inject Your Faviroute Hacks. Steps:Click Here For Mediafire Download Link + GzP Attachment Availble



All times are GMT +1. The time now is 20:26.


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.