Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > .NET Languages
You last visited: Today at 18:06

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

Advertisement



Memory Modul IntPtr Handle

Discussion on Memory Modul IntPtr Handle within the .NET Languages forum part of the Coders Den category.

Reply
 
Old   #1
 
Waller66's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 1,548
Received Thanks: 333
Memory Modul IntPtr Handle

Hallo ich suche nach einer Methode womit ich später auf die Adresse aus einem Dll Modul eines Prozesses zugreifen kann.

Wie bezieht man das auf eine dll datei ?
Dim p As New Process ' erstellt zuvor den prozess meiner wahl
Dim pID As IntPtr = p.Handle
Dim underhandle As IntPtr = p.Modules("modul.DLL").BaseAddress ' würde das klappen ???
Dim base As IntPtr = p.MainModule.BaseAddress ' also das klappt aber bringt mir nichts

klappt natürlich nicht ^^

ich bedanke mich schonmal im vorraus für eure hilfe
will halt nen pointer mit offsets eines moduls auslesen können

Public Function RetBase(ByVal ProcName As String, ByVal ModuleName As String) As Integer
Dim P As Process() = Process.GetProcessesByName(ProcName)
If (P.Length <> 0) Then
Dim pMod As ProcessModuleCollection = P(0).Modules
For i As Integer = pMod.Count - 1 To 0 Step -1
If pMod.Item(i).FileName.EndsWith(ModuleName) Then
Return pMod.Item(i).BaseAddress.ToInt32
End If
Next i
End If
Return 0
End Function

Private Sub readoutpointer()
' I'm assuming p is a Process object that represents the game process.

Dim p = Process.GetProcessesByName("processname")(0)
MsgBox(p.Modules.ToString)
Dim pID As IntPtr = p.Handle
Dim underhandle As IntPtr = RetBase("processname", "test.dll")
Dim base As IntPtr = p.MainModule.BaseAddress
'MsgBox(base.ToString)

' And our offsets...
Dim offsets() As IntPtr = {&H8C, &H0, &HBC, &H1C, &H20}
Dim addr As IntPtr = FindAddress(pID, base, underhandle, offsets)
' MsgBox(addr.ToString)


End Sub

klappt leider nicht :/
Waller66 is offline  
Old 01/12/2016, 11:32   #2
 
Biesi's Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 182
Received Thanks: 185
Quote:
Originally Posted by Waller66 View Post
klappt natürlich nicht ^^
Ist ja eine genaue Beschreibung deines Problems.. Was willst du mit der base address denn machen?
Biesi is offline  
Old 01/12/2016, 19:45   #3
 
elite*gold: 0
The Black Market: 229/0/0
Join Date: Mar 2014
Posts: 2,790
Received Thanks: 6,655
In VB.NET selbst kann man keine DLL schreiben, die dann in ein anderes Programm injiziert wird, weil die VB-DLL eine Assembly mit IL-Code ist und keine native DLL.

Also.. NEIN es geht nicht in VB.
Schau mal bei C++ ^^

MFG #Lucas#
anonymous-29742 is offline  
Old 01/15/2016, 01:33   #4


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
Quote:
Originally Posted by #Lucas# View Post
In VB.NET selbst kann man keine DLL schreiben, die dann in ein anderes Programm injiziert wird, weil die VB-DLL eine Assembly mit IL-Code ist und keine native DLL.

Also.. NEIN es geht nicht in VB.
Schau mal bei C++ ^^

MFG #Lucas#
Wollen wir wetten, dass ich dir eine managed DLL über kleine Umwege auch in einen nativen Prozess bekomme?
Requi is offline  
Old 01/16/2016, 10:38   #5
 
elite*gold: 585
Join Date: Jul 2011
Posts: 268
Received Thanks: 104
how to read dll base address from foreign process

Teste mal die Funktion "" aus der WinAPI.
das Feld "lpBaseOfDll" aus der MODULEINFO enthält dann "The load address of the module.".
0ptimist is offline  
Reply


Similar Threads Similar Threads
[C#] C Dll call. IntPtr to string marshal
08/31/2015 - .NET Languages - 5 Replies
Ich bekomme von meiner dll einen string zurück der so aussehen kann: 54738cru488vuwevu8null7943n50m8j934cm3u53n45u34nm uvnull Die dll returned einen char*. den char* kann ich dank compiler in meinem code als IntPtr marshallen. public static extern IntPtr beispiel(int beispiel);
Quick Memory Editor - Alternative Memory Hacking Software
11/21/2009 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 11 Replies
This might be detected or not by GameGuard, I have not tested this on Official servers however it worked perfectly fine on other private servers. http://imagenic.net/images/x0jxwzwpg2zxmkdtcf36.p ng This is just an alternative memory editing tool. Press thanks if this helps. Remember, scan before using this. Cause its 5.5MB.
Gm modul?
07/17/2009 - Metin2 Private Server - 3 Replies
Hey leute... Gibt es eigentlich ein GMmodul zur eingabe von Values? Weil die normalen benutzer können das ja nicht benutzen... Aber da die Pserverfiles ja langsam PUB sind könnte ja evtl. das GMmodul in diesen sachen stecken... Weiss jemand bescheid darüber? Mfg
Fragen Zur Memory!!!(Auslesen von Spawn/Memory)
12/31/2008 - Guild Wars - 3 Replies
hey leute, ich wollte mal einen bot schreiben und nun bin ich ganz verwirrt. könnte mir jmd bitte schritt für schritt erklären wie das mit Memory auslesen, benutzen und der Spawnpointer funktioniert. Ich wär sehr dankbar wenn jmd kontakt mit mir aufnehmen würde... und sobald der bot fertig ist bekommt der ihn natürlicherweise umsonst:D ICQ: 481799773 oder hier im forum
Sample of memory search in PW for memory bot learner
02/25/2008 - Perfect World - 6 Replies
im learning how to make a memory bot as of know.. im expirience in pixel botin but the mob seacrh for it is quite slow.. ill be using au3 and the include nomadmemory.au3 from nomad in au3 forum. credits to him... this is my sample of my memory script: it will be good for who wants to learn memory botin and has no available bot in their respective server #include <Memory.au3> Global $Pointer = d pointer in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes...



All times are GMT +1. The time now is 18:06.


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.