EMO Style ForumPro - Hos Geldiniz
Patching A Processes Memory Without Injecting Uyeols10

Join the forum, it's quick and easy

EMO Style ForumPro - Hos Geldiniz
Patching A Processes Memory Without Injecting Uyeols10
EMO Style ForumPro - Hos Geldiniz
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Giriş yap

Şifremi unuttum

Istatistikler
Toplam 203 kayıtlı kullanıcımız var
Son kaydolan kullanıcımız: crayzboy76

Kullanıcılarımız toplam 1186 mesaj attılar bunda 862 konu
Tarıyıcı
 Kapı
 Indeks
 Üye Listesi
 Profil
 SSS
 Arama
Arama
 
 

Sonuç :
 


Rechercher çıkıntı araştırma

RSS akısı


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


Anahtar-kelime

kutu  pointer  loot  

Kimler hatta?
Toplam 11 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 11 Misafir

Yok

[ Bütün listeye bak ]


Sitede bugüne kadar en çok 217 kişi C.tesi Tem. 29, 2017 1:46 am tarihinde online oldu.
En son konular
» İnternetten Para Kazandıran Oyun ! Ödeme Alt Limiti Yok ! DEV KONU
Patching A Processes Memory Without Injecting I_icon_minitimeCuma Ağus. 29, 2014 8:33 am tarafından Hello EMO

» goldenchase.net maden yaparak para kazanma
Patching A Processes Memory Without Injecting I_icon_minitimeCuma Ağus. 29, 2014 8:18 am tarafından Hello EMO

» etichal hacker görsel egitim seti
Patching A Processes Memory Without Injecting I_icon_minitimeÇarş. Ağus. 06, 2014 4:57 am tarafından Hello EMO

» KO TBL Source C#
Patching A Processes Memory Without Injecting I_icon_minitimePtsi Ara. 09, 2013 6:36 am tarafından Hello EMO

» x86 Registers
Patching A Processes Memory Without Injecting I_icon_minitimeC.tesi Ağus. 24, 2013 5:02 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de WYD
Patching A Processes Memory Without Injecting I_icon_minitimeÇarş. Tem. 10, 2013 7:25 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de CS Metodo²
Patching A Processes Memory Without Injecting I_icon_minitimeÇarş. Tem. 10, 2013 7:23 am tarafından Hello EMO

» [Tutorial] Aprendendo basico deASM OLLYDBG
Patching A Processes Memory Without Injecting I_icon_minitimeÇarş. Tem. 10, 2013 7:22 am tarafından Hello EMO

» Basic C# DLL injector
Patching A Processes Memory Without Injecting I_icon_minitimePtsi Tem. 08, 2013 7:48 am tarafından Hello EMO

Reklam

Patching A Processes Memory Without Injecting

Aşağa gitmek

Patching A Processes Memory Without Injecting Empty Patching A Processes Memory Without Injecting

Mesaj tarafından Hello EMO Perş. Ara. 09, 2010 6:14 am

[QUOTE=sAtAn;254535]Small Tutorial On Patching A Processes Memory Without Injecting A Dll:
Kod:

ReadProcessMemory(
      hProcess,          // handle to the process which you want to patch
      (void*)0x[b]OffsetHere[/b],      // offset to the function you want to read
      (void*)Pointer,         // pointer to get the function offset e.g. origin function
      4,            // size to read most of the time this is 4 or 6 the sizeof(DWORD)
      0 );            // number bytes read not really needed
This code is used to read the function out the memory and save the offset so we can call it later.
It is really not needed cause you can make a pointer directly if you like.
Kod:

// [b]Typedef Calling[/b]
typedef int ( *FuncPtr ) ( void );
FuncPtr Org_Pointer = ( FuncPtr ) ( 0xOffsetHere );    
// Nows hold the original function
Org_Pointer( );                               
// So calling from the hooked is easy which so it doesn't [i]crash the process[/i]

// [b]Indirect Calling[/b]
DWORD * dwPointer = ( DWORD* ) ( 0xOffsetHere );    
DWORD dwOrg_Pointer = NULL;
// Set [i]dwOrg_Pointer[/i] as a [i]reference[/i] to [b]dwPointer[/b]
dwOrg_Pointer = *dwPointer;
// This is a bit more confusing a [b]Indirect Pointer[/b] to the function which can be called via inline assemble
_asm
{
   call dwPointer // Must be called inside the hooked function
}
// Now if the function you are hooking has Arguments and you want to use the [b]Indirect Pointer[/b] you must
// push these Arguments on to the stack before calling the function
_asm
{
   push argumentC
   push argumentB
   push argumentA
   call ArgumentFunction
}
// Since the stack is Last In First Out( LIFO ) you have push the arguments on backwards e.g.
// Say this is [b]ArgumentFunction[/b]
void ArgumentFunction ( int argumentA, int argumentB, int argumentC );
// Pushing the Arguments goes like so
push argumentC
push argumentB
push argumentA
OK! All the calling methods have been covered now for patching Smile.
Kod:

WriteProcessMemory(
      hProcess,       // handle to the process which you want to patch
      (void*)0x[b]OffsetHere[/b],    // offset to the function you which was read or the address you want
      (void*)Pointer,    // pointer to the hooked function
      4,          // size to read most of the time this is 4 or 6 the sizeof(DWORD)
      0 );         // number bytes read not really needed
// This method is more likly to be used with [b]Typedef Calling[/b] and not [b]Indirect Calling[/b].
// But still isn't needed at all if you know alot aboput pointer's. Since everything is covered now i'm done
// [b]Indirect Calling[/b] Patch
dwPointer = &Hooked_Function;
// Pie?

- RetarT -[/QUOTE]

Hello EMO
Hello EMO
EMO Team
EMO Team

Cinsiyet : Erkek
Burçlar : Yay
Yılan
Mesaj Sayısı : 935
Puan : 384443
Rep Puanı : 18
Doğum tarihi : 28/11/89
Kayıt tarihi : 21/07/09
Yaş : 34
Nerden : EMO WorlD
İş/Hobiler : RCE Student / Game Hacking / Learn Beginner C#,C++,Delphi
Lakap : EMO

https://emostyle.yetkinforum.com

Sayfa başına dön Aşağa gitmek

Sayfa başına dön

- Similar topics

 
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz