Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 01:22

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

Advertisement



C++, Base Adress herausfinden, Befehl / Funktion

Discussion on C++, Base Adress herausfinden, Befehl / Funktion within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2012
Posts: 3
Received Thanks: 0
C++, Base Adress herausfinden, Befehl / Funktion

Hallo zusammen,

Ich bin auf der Suche nach einem Befehl / einer Funktion zur Bestimmung der Base Adress eines Prozesses.


Es handelt sich hierbei um eine nicht statische Base Adress, was heißt, das Ich diese wohl oder übel ... jedes mal neu bestimmen lassen muss.


Vielen Dank für eure Hilfe und eure Zeit.
duesentrieb45 is offline  
Old 03/28/2012, 17:13   #2
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736
Dr. Coxxy is offline  
Thanks
1 User
Old 03/28/2012, 17:37   #3
 
elite*gold: 0
Join Date: Mar 2012
Posts: 3
Received Thanks: 0
Danke.

Code:
	HMODULE test = GetModuleHandle("kernel32.dll");
	cout << test << endl;

Ich habe das mal so geschrieben. Mal davon abgesehen, das Ich bereits in mehreren anderen Foren lesen konnte, das dies nicht die beste Lösung ist ... habe Ich jetzt jedoch noch eine Frage:

Es funktioniert nun für .dll ... Wie müsste es für .exe aussehen? Mit Pfad oder ohne, was müsste sonst noch verändert werden?
duesentrieb45 is offline  
Old 03/28/2012, 17:45   #4
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736
GetModuleHandle(NULL);
Dr. Coxxy is offline  
Thanks
1 User
Old 03/28/2012, 17:53   #5
 
elite*gold: 9
Join Date: Dec 2009
Posts: 1,071
Received Thanks: 819
Quote:
GetModuleHandle(NULL);
So krieg ich doch nur das Handle vom eigenen Prozess... Kann man die Base also nur per Injection bekommen?
.Infinite is offline  
Old 03/28/2012, 18:12   #6
 
elite*gold: 50
Join Date: Mar 2010
Posts: 1,373
Received Thanks: 521
Quote:
Originally Posted by .Infinite View Post
So krieg ich doch nur das Handle vom eigenen Prozess... Kann man die Base also nur per Injection bekommen?
Nein,


jacky919 is offline  
Old 03/28/2012, 20:28   #7


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,904
Received Thanks: 25,394
Quote:
Originally Posted by Dr. Coxxy View Post
GetModuleHandle(NULL);
Nicht ganz korrekt, damit erhälst du die Base vom Modul, mit dem der Prozess erstellt wurde, er fragte aber generell nach ".exe".
Und wie schon gesagt wurde, natürlich geht das nur im eigenen Address-Space.

@duesentrieb:

Bis auf ein paar wenige andere APIs, die im Grunde intern alle dasselbe machen, ist es die einzige Lösung, da hat dir also jemand Quark erzählt.
MrSm!th is offline  
Old 03/29/2012, 10:47   #8
 
elite*gold: 0
Join Date: Mar 2012
Posts: 3
Received Thanks: 0
Danke, das beantwortet vorerst meine Fragen.
/kann geschlossen werden
duesentrieb45 is offline  
Reply


Similar Threads Similar Threads
PWBR Base Adress HEX
03/15/2011 - PW Hacks, Bots, Cheats, Exploits - 7 Replies
Could someone tell what the new base address in PWBR After upgrading to the key 107? tkz
BASE ADRESS FOR MY-EN PW
12/15/2010 - PW Hacks, Bots, Cheats, Exploits - 0 Replies
Could any people share a offset for MHS, PW- the legend of mermaid(my-en)? i find the whole forum & google but i still can't get it.. please help.. sorry for posting the rrequest..
Character Base Adress
11/16/2010 - CO2 Programming - 9 Replies
Well, me and haydz were trying to get this right as I have a speedhack I need this for. We have been playing around with cheat engine for quite some time(c++ was involved too) but neither I or he can get it right. I've been trying to get it out from mana, hp, cords etc, so we really need some assistance here. I have been doing it out of this; http://www.elitepvpers.com/forum/co2-programming/31 0667-find-char-base-address.html but I allways seem to get stuck at move 10, as there is nothing...
CMD/Shell Befehl zum herausfinden der Bitzahl?
07/06/2010 - Technical Support - 4 Replies
Hi Ich würde gerne den CMD/Shell befehl zum anzeigen der Bitzahl wissen. Wisst ihr wie er lautet? mfg algaten /Nein ich möchte hier nur den Befehl sonst nichts anderes!



All times are GMT +2. The time now is 01:22.


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