Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > S4 League > S4 League Hacks, Bots, Cheats & Exploits
You last visited: Today at 00:39

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

Advertisement



-Release- Autoinjector dll and how to do it

Discussion on -Release- Autoinjector dll and how to do it within the S4 League Hacks, Bots, Cheats & Exploits forum part of the S4 League category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 362
Received Thanks: 165
Thumbs up -Release- Autoinjector dll and how to do it

Hi elitepvpers i want to share with you a way to make your own injector guaranted with no viruses.

Lets start

You only need autoit > Download it from here..

And the code:

Quote:
#Region dll injector
Func _InjectDll($ProcessId, $DllPath)
If $ProcessId == 0 Then Return SetError(1, "", False)
If Not(FileExists($DllPath)) Then Return SetError(2, "", False)
If Not(StringRight($DllPath, 4) == ".dll") Then Return SetError(3, "", False)

$Kernel32 = DllOpen("kernel32.dll")
If @error Then Return SetError(4, "", False)

$DLL_Path = DllStructCreate("char[255]")
DllCall($Kernel32, "DWORD", "GetFullPathNameA", "str", $DllPath, "DWORD", 255, "ptr", DllStructGetPtr($DLL_Path), "int", 0)
If @error Then Return SetError(5, "", False)

$hProcess = DllCall($Kernel32, "DWORD", "OpenProcess", "DWORD", 0x1F0FFF, "int", 0, "DWORD", $ProcessId)
If @error Then Return SetError(6, "", False)

$hModule = DllCall($Kernel32, "DWORD", "GetModuleHandleA", "str", "kernel32.dll")
If @error Then Return SetError(7, "", False)

$lpStartAddress = DllCall($Kernel32, "DWORD", "GetProcAddress", "DWORD", $hModule[0], "str", "LoadLibraryA")
If @error Then Return SetError(8, "", False)

$lpParameter = DllCall($Kernel32, "DWORD", "VirtualAllocEx", "int", $hProcess[0], "int", 0, "ULONG_PTR", DllStructGetSize($DLL_Path), "DWORD", 0x3000, "int", 4)
If @error Then Return SetError(9, "", False)

DllCall("kernel32.dll", "BOOL", "WriteProcessMemory", "int", $hProcess[0], "DWORD", $lpParameter[0], "str", DllStructGetData($DLL_Path, 1), "ULONG_PTR", DllStructGetSize($DLL_Path), "int", 0)
If @error Then Return SetError(10, "", False)

$hThread = DllCall($Kernel32, "int", "CreateRemoteThread", "DWORD", $hProcess[0], "int", 0, "int", 0, "DWORD", $lpStartAddress[0], "DWORD", $lpParameter[0], "int", 0, "int", 0)
If @error Then Return SetError(11, "", False)

DllCall($Kernel32, "BOOL", "CloseHandle", "DWORD", $hProcess[0])
DllClose($Kernel32)

Return SetError(0, "", True)
EndFunc
#endregion
Just copy and paste the code to your script or download the script and add to your includes C:\Program Files\AutoIt3\Include\

Like in the second Example:


Quote:
#include <Dll_inject.au3>

ToolTip("Waiting for injection",0,0)
_InjectDll(ProcessWait("S4Client.exe"),"your dll path goes here")



if not @error Then
MsgBox(0,"Success","Succesful injected",2)
Else
MsgBox(0,"Error","Injection failed")
EndIf

#CS
_InjectDll($ProcessId,$DllPath)
$ProcessId must be expressed with processwait("yourProcess.exe")
$DllPath for Example if your dll is in the same folder of your injector you can type this @ScriptDir & "\thefucking.dll"

so with those examples we get
_InjectDll(ProcessWait("yourProcess.exe"), @ScriptDir & "\thefucking.dll")

or if we want another one
_InjectDll(ProcessWait("yourProcess.exe"), @ScriptDir & "\thefucking.dll2")
#CE
i think this will help someone who only trust on things homemade

VT:


Those who have never use autoit and want to learn something don't be affraid of asking any doubts

Press Thanks if it helped
Attached Files
File Type: rar Dll_inject.au3 + example.rar (1.2 KB, 316 views)
elmarcia is offline  
Thanks
6 Users
Old 02/18/2013, 21:58   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 7
Received Thanks: 1
n1 !!
Gusanos is offline  
Old 02/18/2013, 22:38   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 32
Received Thanks: 2
Now make a bypass
Beasting is offline  
Old 02/18/2013, 22:55   #4
 
elite*gold: 0
Join Date: Apr 2011
Posts: 362
Received Thanks: 165
Quote:
Originally Posted by Beasting View Post
Now make a bypass
-.- its more easy to say that doing it , you people think of asking asking asking for one, but have you ever think of doing one but yourself or maybe learn how to... i won't make a bypass cause i don't know how to, but i will learn with time
elmarcia is offline  
Old 02/19/2013, 00:16   #5
 
bagnz0r's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 14
Received Thanks: 4
Kudos for voluntarily sharing source code.
bagnz0r is offline  
Old 02/19/2013, 08:00   #6
 
elite*gold: 0
Join Date: May 2011
Posts: 93
Received Thanks: 21
Ok, I dont kno anything about AutoIT, How can i make a own hack? How to get adresses..
kempi123 is offline  
Old 02/19/2013, 10:04   #7
 
Hell_AimGTX's Avatar
 
elite*gold: 0
Join Date: Feb 2013
Posts: 15
Received Thanks: 1
work???
Hell_AimGTX is offline  
Old 02/19/2013, 15:29   #8
 
elite*gold: 0
Join Date: Apr 2011
Posts: 362
Received Thanks: 165
Quote:
Originally Posted by kempi123 View Post
Ok, I dont kno anything about AutoIT, How can i make a own hack? How to get adresses..
i will make you an example of a script just check your private messages inbox

Quote:
Originally Posted by Hell_AimGTX View Post
work???
yeah just edit if you want the process and the path of the dlls and follow the instructions of the post press f5 to start or f7 to compile when you are ready
elmarcia is offline  
Old 02/19/2013, 15:41   #9
 
elite*gold: 0
Join Date: Jan 2013
Posts: 355
Received Thanks: 2,574
Work... Thanks
LuchoTrolling is offline  
Old 02/19/2013, 17:09   #10
 
elite*gold: 0
Join Date: Feb 2013
Posts: 2
Received Thanks: 0
video plis not understanding
necroboy12 is offline  
Old 02/19/2013, 19:00   #11
 
elite*gold: 0
Join Date: Apr 2011
Posts: 362
Received Thanks: 165
For those who don't know how to use autoit or have a simple knowledge please download this Tutorial for newbies.rar i make it by myself
VT:

You need autoit to launch it F5 to compile but first read it....
Attached Files
File Type: rar Tutorial for newbies.rar (4.1 KB, 44 views)
elmarcia is offline  
Old 02/19/2013, 19:25   #12
 
elite*gold: 0
Join Date: May 2011
Posts: 93
Received Thanks: 21
Quote:
Originally Posted by elmarcia View Post
i will make you an example of a script just check your private messages inbox
Okii ;D

Line 11 eoor

Line 11 error now
kempi123 is offline  
Old 11/06/2017, 08:41   #13
 
elite*gold: 0
Join Date: Oct 2014
Posts: 2
Received Thanks: 0
that crash any game with you injector
CPLNet is offline  
Old 11/06/2017, 14:13   #14

 
Iegendary's Avatar
 
elite*gold: 133
The Black Market: 182/0/0
Join Date: Aug 2017
Posts: 1,230
Received Thanks: 242
Quote:
Originally Posted by CPLNet View Post
that crash any game with you injector
Look at the post's release date.... don't push it..
Iegendary is offline  
Old 11/06/2017, 15:15   #15
 
Xyner's Avatar
 
elite*gold: 0
Join Date: Nov 2015
Posts: 630
Received Thanks: 196
Quote:
Originally Posted by ZenonEZ View Post
Look at the post's release date.... don't push it..
ehh it's *only* 4 years ago
Xyner is offline  
Thanks
1 User
Reply

Tags
anygame, auto, dll, injector, work


Similar Threads Similar Threads
[Release] AutoInjector
01/05/2011 - S4 League Hacks, Bots, Cheats & Exploits - 27 Replies
Hallu! Ich bins mal wieder, der Pinki :eek:. Was bringt euch der Pinki denn heute wieder? Einen Injector! Aber es gibt doch schon genug Injectoren :confused: Dieser hier arbeitet aber anders. Zunächst startet er den S4 Patcher und wartet dann auf S4Client.exe, sobald diese gestartet ist wartet er kurz und injectet die AInject.dll welche dann alle DLL Dateien im Ordner "BGM"(Welcher im S4 Ordner ist) lädt. Das heißt ihr müsst nich umständlich ständig jede einzelne DLL auswählen die...



All times are GMT +1. The time now is 00:39.


Powered by vBulletin®
Copyright ©2000 - 2023, 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 ©2023 elitepvpers All Rights Reserved.