EMO Style ForumPro - Hos Geldiniz
pointer - [ASM] Pointer Updater Uyeols10

Join the forum, it's quick and easy

EMO Style ForumPro - Hos Geldiniz
pointer - [ASM] Pointer Updater 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 13 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 13 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
pointer - [ASM] Pointer Updater I_icon_minitimeCuma Ağus. 29, 2014 8:33 am tarafından Hello EMO

» goldenchase.net maden yaparak para kazanma
pointer - [ASM] Pointer Updater I_icon_minitimeCuma Ağus. 29, 2014 8:18 am tarafından Hello EMO

» etichal hacker görsel egitim seti
pointer - [ASM] Pointer Updater I_icon_minitimeÇarş. Ağus. 06, 2014 4:57 am tarafından Hello EMO

» KO TBL Source C#
pointer - [ASM] Pointer Updater I_icon_minitimePtsi Ara. 09, 2013 6:36 am tarafından Hello EMO

» x86 Registers
pointer - [ASM] Pointer Updater I_icon_minitimeC.tesi Ağus. 24, 2013 5:02 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de WYD
pointer - [ASM] Pointer Updater I_icon_minitimeÇarş. Tem. 10, 2013 7:25 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de CS Metodo²
pointer - [ASM] Pointer Updater I_icon_minitimeÇarş. Tem. 10, 2013 7:23 am tarafından Hello EMO

» [Tutorial] Aprendendo basico deASM OLLYDBG
pointer - [ASM] Pointer Updater I_icon_minitimeÇarş. Tem. 10, 2013 7:22 am tarafından Hello EMO

» Basic C# DLL injector
pointer - [ASM] Pointer Updater I_icon_minitimePtsi Tem. 08, 2013 7:48 am tarafından Hello EMO

Reklam

[ASM] Pointer Updater

Aşağa gitmek

pointer - [ASM] Pointer Updater Empty [ASM] Pointer Updater

Mesaj tarafından Hello EMO Cuma Haz. 03, 2011 2:21 pm

[quote name='KaosDevelopment' timestamp='1297548242' post='3285']
Kod:
unsigned char CharRelatedBaseBytes[] = {0x83, 0x3D, '?', '?', '?', 0x00, 0x00, 0x74, 0x31, 0x8b, 0x06, 0x8B, 0xCE, 0xFF, 0x50, 0x1C, 0x83, 0xF8, 0x0A};

Kod:

 unsigned long CharAddy = FindPattern((unsigned char*)CharRelatedBaseBytes, "xx???xxxxxxxxxxxxx", 0);

Then to get the pointer, you'll have to do something like this Smile

Kod:
CharAddy = *(DWORD*)(CharAddy + 2);

Kod:
bool Check(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
    for(; *szMask; ++szMask, ++pData, ++bMask)
        if(*szMask == 'x' && *pData != *bMask )
            return false;
   
    return (*szMask) == NULL;
}

//Find Address
DWORD FindPattern(BYTE *bMask, char* szMask, DWORD dwOffset)
{
    DWORD dwAddress = 0x00400000;
    DWORD dwLen        = 0x01FFFFFF;

    for(DWORD i=0; i < dwLen; i++)
        if( Check ((BYTE*)( dwAddress + i ), bMask, szMask) )
            return (DWORD)(dwAddress + i + dwOffset);

    MissingAddy = true;
    return 0x00400000;
}
[/quote]
Hello EMO
Hello EMO
EMO Team
EMO Team

Cinsiyet : Erkek
Burçlar : Yay
Yılan
Mesaj Sayısı : 935
Puan : 374543
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

pointer - [ASM] Pointer Updater Empty Geri: [ASM] Pointer Updater

Mesaj tarafından Hello EMO Cuma Haz. 03, 2011 2:22 pm

[quote name='twostars' timestamp='1306657853' post='11134']
What exactly are you stuck on? This is the programming section, not the leeching section. If you can't implement sample code, either ask for help in doing so or reconsider your attempt in the first place.

Requesting is forbidden. Consider this a verbal warning.

PS: The above example looks like it could be simplified a lot - theoretically, you could get away with using the one pattern, as how often is '?' (0x3F) going to crop up, and then produce a false positive with the rest of the entire pattern? It's very unlikely that could happen, as the rest of the pattern would have to be well, not unique (which, as a pattern, it shouldn't be in the first place).

I propose something like the following:

Kod:
bool isPatternMatch(const BYTE* pData, const BYTE *bPattern, DWORD patternLength)
{
    // Loop through the entire pattern
    for (int i = 0; i < patternLength; i++, pData++, bPattern++)
    {
        // If the pattern isn't up to a dynamic byte (represented by ?, 0x3F), make sure it matches (otherwise it doesn't have to).
        if (*bPattern != '?' && *pData != *bPattern)
            return false;
    }

    // We didn't return false to indicate a mismatch, so it must match.
    return true;
}

DWORD FindPattern(BYTE *bPattern, DWORD patternLength)
{
    DWORD dwAddress    = 0x00400000;
    DWORD dwLen    = 0x01FFFFFF;

    for (DWORD i = 0; i < dwLen; i++)
    {
        if (isPatternMatch((BYTE*)(dwAddress + i), bPattern, patternLength))
                        return (DWORD)(dwAddress + i);
    }

    return NULL;
}

...

BYTE patternCharPtr[] = { 0x83, 0x3D, '?', '?', '?', 0x00, 0x00, 0x74, 0x31, 0x8b, 0x06, 0x8B, 0xCE, 0xFF, 0x50, 0x1C, 0x83, 0xF8, 0x0A };
DWORD addrCharPtr = FindPattern((BYTE*)patternCharPtr, sizeof(patternCharPtr));

However, then it's still scanning byte-by-byte. Perhaps it could be devised so that it doesn't need to scan starting from every byte for the pattern - that'd be faster, although I'd have to think a little more about how that would be achieved without potentially losing valid matches (by scanning over it). Thoughts?
[/quote]
Hello EMO
Hello EMO
EMO Team
EMO Team

Cinsiyet : Erkek
Burçlar : Yay
Yılan
Mesaj Sayısı : 935
Puan : 374543
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