Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding > Coding Tutorials
You last visited: Today at 02:58

  • 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   #1
 
elite*gold: 20
Join Date: Apr 2010
Posts: 51
Received Thanks: 29
(tutorial) d3d hacking mit c++

so ich werde hier mal ein tutorial über d3d hacken reinstellen

Voraussetzungen sind eigentlich nur c++ Grundkentnise und logisches denken

als Entwicklungsumgebung würde ich visual c++ empfehlen
links zum downloaden aller programme die wir brauchen sind im tuorial enthalten

dazu noch etwas kaltes zu trinken und schon kann es losgehen


Inhalt:

[+] Einleitung
[+] Vorraussetzungen
[+] Die DLL Coden
[+] Rechtecke && Schrift Zeichnen
[+] Memoryhacks aus der DLL heraus
[+] Chams
[+] Noch mehr Funktionen



kein Password



Viel Spaß beim lernen!!!
djleitno22 is offline  
Thanks
26 Users
Old 06/13/2010, 07:21   #2
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
nice, aber warum stellst du es nicht einfach hierrein, sondern als dl?
Jay Niize is offline  
Old 06/13/2010, 11:40   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 747
Received Thanks: 245
Das tutorial sollte eigentlich hier schon recht bekannt sein.
Solltest vielleicht noch bei schreiben das es nicht von dir ist.
Akorn is offline  
Old 07/27/2010, 22:06   #4
 
elite*gold: 0
Join Date: May 2010
Posts: 977
Received Thanks: 304
Ich finde die EndScene Adresse nicht.
mosesmai is offline  
Old 08/05/2010, 00:23   #5
 
König Elessar's Avatar
 
elite*gold: 27
Join Date: Mar 2009
Posts: 208
Received Thanks: 14
also ich kannte das tut nicht... ich bin vor 3 minuten auf e*pvp gekommen, um zu kukken, ob ich was zum thema dll und d3d finde, weil ich auch gerne mal nan hack schreiben würde *gg*

also ich find den thread gut gib auf jeden nen thx, was das tut taugt wird sich zeigen : )
König Elessar is offline  
Old 08/05/2010, 14:01   #6
 
Gianotti's Avatar
 
elite*gold: 20
Join Date: Mar 2008
Posts: 1,455
Received Thanks: 140
Quote:
Originally Posted by König Elessar View Post
also ich kannte das tut nicht... ich bin vor 3 minuten auf e*pvp gekommen, um zu kukken, ob ich was zum thema dll und d3d finde, weil ich auch gerne mal nan hack schreiben würde *gg*

also ich find den thread gut gib auf jeden nen thx, was das tut taugt wird sich zeigen : )
schönes tut aber schon aaaaalt o.0


@könig elessar skype fail man wie geil XDDDDD
Gianotti is offline  
Old 08/06/2010, 23:02   #7
 
Chatoholics's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 3,144
Received Thanks: 1,565
mit was öffnet man nochmal pdf-dateien?
Chatoholics is offline  
Old 08/07/2010, 00:56   #8


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,904
Received Thanks: 25,394
MrSm!th is offline  
Old 08/07/2010, 08:43   #9
 
Jay Niize's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 4,851
Received Thanks: 3,417
Nett

könntests ja auch mal bei mehreren Hostern hochladen, weil Rapidshare spackt öfters mal ab!

#Added to List
Jay Niize is offline  
Old 08/07/2010, 13:17   #10
 
elite*gold: 0
Join Date: Mar 2008
Posts: 747
Received Thanks: 245
Quote:
Originally Posted by Jusikid View Post
Nett

könntests ja auch mal bei mehreren Hostern hochladen, weil Rapidshare spackt öfters mal ab!

#Added to List
Dan gib einfach in google "d3d9 hooking tutorial". Der dritte treffer verweist schon auf die original seite wo das tutorial eigentlich her kommt.
Akorn is offline  
Old 01/03/2011, 16:10   #11
 
elite*gold: 0
Join Date: Jan 2011
Posts: 4
Received Thanks: 2
Hallo zusammen !

Ich weiß, das Thema ist alt, ich wollte aber kein neues erstellen. Ich hab mir das Tutorial mal angeschaut und habe es (glaube ich) soweit ganz gut verstanden. Dann wollte ich es mit dem Spiel Call Of Duty 4 ausprobieren. Allerdings sah ich keine Effekt. Es stellte sich heraus, dass die Methode "hkEndScene" garnicht aufgerufen wird.
Kann mir jemand helfen ?

MfG.
---------------- is offline  
Old 01/03/2011, 16:38   #12
 
.BritainAndy's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,385
Received Thanks: 1,006
funktioniert eh nicht mehr mit hardcoded addressen ;(
bzw funzt noch, unter glück auf win xp.
Poste doch auch mal dein source pls
.BritainAndy is offline  
Old 01/03/2011, 16:57   #13
 
elite*gold: 0
Join Date: Jan 2011
Posts: 4
Received Thanks: 2
Okay, habe den sozusagen 1:1 übernommen und nur die D3D-Adresse geändert:

Code:
#include <Windows.h>
#include <cstdio>
#include <d3d9.h>
#include <d3dx9.h>

void InitHook(void);
void *DetourFunc(BYTE *src, const BYTE *dst, const int len);
void DrawRect (LPDIRECT3DDEVICE9 Device_t, int X, int Y, int L, int H, D3DCOLOR color);
HRESULT __stdcall hkEndScene(LPDIRECT3DDEVICE9 pDevice);

const D3DCOLOR txtPink = D3DCOLOR_ARGB(255, 255, 0, 255);
typedef HRESULT(__stdcall* EndScene_t)(LPDIRECT3DDEVICE9);
EndScene_t pEndScene;

int WINAPI DllMain(HINSTANCE hInst,DWORD reason,LPVOID reserved)
{
	switch(reason)
	{
	case DLL_PROCESS_ATTACH:
		{
			CreateThread(0, 0, (LPTHREAD_START_ROUTINE) InitHook, 0, 0, 0);
			break;
		}
	}

	return true;
}

HRESULT __stdcall hkEndScene(LPDIRECT3DDEVICE9 pDevice)
{
	MessageBoxA(0, "hkEndScene", 0, 0);
	DrawRect (pDevice, 10, 10, 200, 200, txtPink);
	return pEndScene(pDevice);
}

void InitHook()
{
	HMODULE hModule = NULL;
	while( !hModule )
	{
		hModule = GetModuleHandleA( "d3d9.dll" );
		Sleep( 100 );
	}
	MessageBoxA(0, "InitHook", 0, 0);

	pEndScene = ( EndScene_t )DetourFunc((PBYTE) 0x7542CE09,(PBYTE)hkEndScene, 5);
}

void *DetourFunc(BYTE *src, const BYTE *dst, const int len)
{
	BYTE *jmp = (BYTE*)malloc(len+5);
	DWORD dwback;
	VirtualProtect(src, len, PAGE_READWRITE, &dwback);
	memcpy(jmp, src, len); jmp += len;
	jmp[0] = 0xE9;
	*(DWORD*)(jmp+1) = (DWORD)(src+len - jmp) - 5;
	src[0] = 0xE9;
	*(DWORD*)(src+1) = (DWORD)(dst - src) - 5;
	VirtualProtect(src, len, dwback, &dwback);

	return (jmp-len);
}

void DrawRect (LPDIRECT3DDEVICE9 Device_t, int X, int Y, int L, int H, D3DCOLOR color)
{
	MessageBoxA(0, "DrawRect", 0, 0);
	D3DRECT rect = {X, Y, X+L, Y+H};
	Device_t->Clear(1, &rect, D3DCLEAR_TARGET, color, 0, 0);
}
Die MessageBoxen habe ich nur, damit ich sehe ob und wann was aufgerufen wird...

MfG
---------------- is offline  
Old 01/04/2011, 17:44   #14
 
.BritainAndy's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,385
Received Thanks: 1,006
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?
.BritainAndy is offline  
Old 01/04/2011, 19:24   #15
 
elite*gold: 0
Join Date: Jan 2011
Posts: 4
Received Thanks: 2
Ich hätte ICQ und Skype im Angebot, was möchtest du ?
ICQ ist schonmal: 467-336-022

MfG
---------------- 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 02:58.


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.