Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding > Coding Tutorials
You last visited: Today at 23:16

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

Advertisement



(tutorial) d3d hacking mit c++

Discussion on (tutorial) d3d hacking mit c++ within the Coding Tutorials forum part of the General Coding category.

Reply
 
Old 01/04/2011, 19:42   #16
 
elite*gold: 0
Join Date: Mar 2008
Posts: 747
Received Thanks: 245
Quote:
Originally Posted by .BritainAndy View Post
ja, die wird nicht aufgerufen weil außerhalb der dll main ist

zudem hast du relativ viele fehler in deinem Source. Hast du nen IM?
Du bist ja wohl die allerletzte person in diesem forum die zu diesem thema etwas sagen kann.
Akorn is offline  
Thanks
2 Users
Old 01/04/2011, 22:32   #17
 
elite*gold: 0
Join Date: Jan 2011
Posts: 4
Received Thanks: 2
Naja, und anscheinend auch die einzige Person, die überhaupt etwas sagt
Man freut sich doch über jede Hilfe...
---------------- is offline  
Thanks
2 Users
Old 01/24/2011, 15:31   #18
 
P-a-i-n's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 1,258
Received Thanks: 396
Quote:
Originally Posted by .BritainAndy View Post
ja, die wird nicht aufgerufen weil außerhalb der dll main ist

zudem hast du relativ viele fehler in deinem Source. Hast du nen IM?

Der Source würde gehen nur die MsgBoxen sind **** zudem mal ein kleiner Trick das es auch nach einem Systemneustart geht.

So wie ich das unten gezeigt habe dürfte es auf allen 64 Bit version von Win7 HomePremium laufen.

Der aufruf ist immer an der selben Stelle bei jedem Betriebssystem nur die Adresszahlen ändern sich.(natürlich hat jedes Betriebssystem sein eigenes Offset außer die O/S sind gleich dann klappts auch bei anderen)

Daher immer Adresse - Basesize = das Offset

HTML Code:
void InitHook()
{
	HMODULE hModule = NULL;
	while( !hModule )
	{
		hModule = GetModuleHandleA( "d3d9.dll" );
		Sleep( 100 );
	}
	pEndScene = ( EndScene_t )DetourFunc((PBYTE)hModule + 0x1ce09,(PBYTE)hkEndScene, 5);
}
aufruf in olly


aufruf in IDA
P-a-i-n is offline  
Thanks
1 User
Old 02/02/2011, 19:42   #19
 
germanhacker's Avatar
 
elite*gold: 0
Join Date: May 2010
Posts: 84
Received Thanks: 13
Ihr könnt die ganzen Funktionen auch dynamisch wie Gordon hooken.
Fügt einfach diese zwei Funktionen hinzu:
Code:
bool bDataCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
for(;*szMask;++szMask,++pData,++bMask)
if(*szMask=='x' && *pData!=*bMask )
return false;
return (*szMask) == NULL;
}
DWORD dwFindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
for(DWORD i=0; i < dwLen; i++)
if( bDataCompare( (BYTE*)( dwAddress+i ),bMask,szMask) )
return (DWORD)(dwAddress+i);
return 0;
}
Und dann einfach per VMT:

Code:
void InitHook()
{
HMODULE hModule = NULL;
while(!hModule)
{
hModule = GetModuleHandleA("d3d9.dll");
Sleep(100);
}
DWORD* VTableStart = 0;
DWORD FoundByGordon = dwFindPattern((DWORD)hModule, 0x128000,
(PBYTE)"\xC7\x06\x00\x00\x00\x00\x89\x86\x00\x00\x00\x00\x89\x86", "xx????xx????xx");
memcpy(&VTableStart, (void*)(FoundByGordon+2), 4);
dwDrawIndexedPrimitive = (DWORD)VTableStart[82]; // für mehr: blick in die d3d9.h werfen!
dwEndScene = (DWORD)VTableStart[42];
pEndScene = ( EndScene_t )DetourFunc((PBYTE)hModule + 0x1ce09,(PBYTE)hkEndScene, 5);
}
So funktionierts zumindest bei mir perfekt !
germanhacker is offline  
Old 03/02/2011, 14:14   #20
 
elite*gold: 0
Join Date: Sep 2009
Posts: 21
Received Thanks: 0
ich finds gut auch wenn es nicht von dir ist!!

mfg

Buphx
Buphy is offline  
Old 03/03/2011, 12:56   #21
 
elite*gold: 0
Join Date: Nov 2009
Posts: 343
Received Thanks: 45
copy&paste könnt ihr ja schon mal! dann habt ihr den "hack" ja auch schnell
yihaaa is offline  
Old 03/07/2011, 21:25   #22
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,098
Received Thanks: 198
Habe meinen Fehler gefunden.
i4mSoH34Vy is offline  
Old 07/14/2012, 06:39   #23
 
elite*gold: 0
Join Date: Jun 2012
Posts: 7
Received Thanks: 0
Heiii ehmm bin erst so zur sagen seid 2wochen am injectors coden habe schon 5 stück gemacht und so langsam lerne ich was auswendig dazu

also mein problem ist ich brauche ne base also es wäre sehr lieb wenn du mich in skype addest heiße ------> K1ngPr0G4mer <------ also ich wollte ne base coden dazu ein tutorial von dir wäre ne eher ^^ :P also ne base für operation7
K1ngPr0g4mer is offline  
Old 02/25/2013, 14:37   #24
 
elite*gold: 0
Join Date: Feb 2013
Posts: 2
Received Thanks: 0
Pls reupload
Numb3er is offline  
Old 08/22/2013, 11:43   #25
 
ouka's Avatar
 
elite*gold: 226
Join Date: Apr 2008
Posts: 630
Received Thanks: 241
link is down.
ouka is offline  
Reply


Similar Threads Similar Threads
[Tutorial] Basic Packet Hacking
12/23/2017 - Coding Tutorials - 100 Replies
Basic Packet Hacking In diesem kleinen Tutorial, will ich euch zeigen wie man Packete snifft, analysiert und editiert. #Inhalt: -]Voraussetzungen & Programme
Pserver fun hacking [TUTORIAL]
02/16/2011 - Dekaron PServer Hacks, Bots, Cheats & Exploits - 20 Replies
This is a small tutorial on how to have a short time fun on any private server Warning: this is not any kind of productive hacking, with this tut you don't gain lvl faster you only get to piss staff off ;) Requirements: Cheat Engine Google Internet Dekaron pserver
suche Java Hacking Tutorial!
03/19/2010 - Main - 7 Replies
Hi, Ich suche ein Tutorial über Java hacking! (Programmiersprache Java nicht java programme hacken.) Danke im Vorraus! Für Tutorial als auch Video hinweise wo ein gutes ist gibt ein Fettes THX :handsdown:
[Tutorial] Hacking Etiquette
01/10/2010 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 71 Replies
I see so many stupid hackers out there doing stupid things so I am going to make a list of tips for you "no common sense" type people. Number 1 on the list and most important imo: WALLHACK 1. Clean up behind yourself. Do not leave a mess. You antagonize non hackers and bring unnecessary attention to yourself and all of us. 2. Put bosses back if you need to leave and haven't killed them. Number one hacker complaint on my server is Oread missing and that causes the non hackers to band...
DEKARON EU HACKING TUTORIAL
04/11/2009 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 2 Replies
This is a tutorial how to hack in dekaron eu. I made it as simple as possible. I saw bunch of hackers in 2moons so i have decided to find some offsets to apply same hacks to Dekaron EU since im not playing either of those two. Well here we go. first u need to download these files



All times are GMT +2. The time now is 23:16.


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.