N3 [C++] Membuat Address Logger

Discussion in 'N3 Source Codes dan Tutorials' started by rcd, May 5, 2012.

Discuss [C++] Membuat Address Logger in the N3 Source Codes dan Tutorials area at Nyit-Nyit.Net

  1. viperghost TK 0 Kecil Level 1

    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    bang numpang beljar jg neh, :sweet:
    btw fungsi FindPattern sndiri apa aja yah?
     

    Gunakan jasa Rekber N3 untuk menjamin jual beli anda atau menghindari penipuan dengan meng klik disini
  2. LeakN3 1 SD Level 2

    Messages:
    227
    Likes Received:
    44
    Trophy Points:
    53
    Untuk Mencari address Pada suatu Game

    #setau saya itu , jika salah mohon maaf
     
  3. Trainers TK 0 Kecil Level 1

    Messages:
    91
    Likes Received:
    7
    Trophy Points:
    33
    Code:
    #include <fstream>
    #include <Windows.h>
    #include <stdio.h>
    LPTSTR dwModule = "Audition.exe";
    DWORD dwStartAddress, ResultAOB =0;
    
    void MEMwrite(void *adr, void *ptr, int size)
    {
    DWORD OldProtection;
    VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);
    memcpy(adr,ptr,size);
    VirtualProtect(adr,size,OldProtection, &OldProtection);
    }
    
    bool Match(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 Pattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask){
    for(DWORD i=0; i < dwLen; i++)
    if( Match( (BYTE*)( dwAddress+i ),bMask,szMask) )
    return (DWORD)(dwAddress+i);
    return 0;
    }
    int __stdcall PFON(void){
    dwStartAddress = 0x400000;
    do {
    dwStartAddress = (DWORD)GetModuleHandle(dwModule);
    Sleep(50);
    }while(!dwStartAddress);
    DWORD dwSize = 0x500000;
    DWORD PFNORMAL = Pattern(dwStartAddress,dwSize,(PBYTE)"\x7D\x3F\x33\x33\x73\x3F\x9A\x99","xxxxxx");
    DWORD GetADR = PFNORMAL - dwStartAddress;
    MEMwrite((void*)GetADR, (PBYTE)"\x00",1 );
    return 0;
    }
    DWORD WINAPI Loopely(LPVOID param){
    while(1){
    if(GetAsyncKeyState(VK_F3)&1){
    PFON();
    MessageBeep(MB_ICONINFORMATION);
    }
    Sleep(50);
    }
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    if (dwReason == DLL_PROCESS_ATTACH)
    {
    DisableThreadLibraryCalls(hDll);
    if(dwReason == DLL_PROCESS_ATTACH){
    MessageBeep(MB_ICONINFORMATION);
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Loopely, 0, 0, 0);
    }
    else if(dwReason == DLL_PROCESS_DETACH)
    {
    }
    }
    return TRUE;
    }
    
    Pada waktu tekan hotkey = langsung DC game nya...


    pencerahan gan.
     
  4. ryan_aditya 2 SD Level 2

    Messages:
    301
    Likes Received:
    28
    Trophy Points:
    53
    cba ini om

    Code:
    #include <fstream>
    #include <Windows.h>
    #include <stdio.h>
    LPTSTR dwModule = "Audition.exe";
    DWORD dwStartAddress, ResultAOB =0;
    
    void MEMwrite(void *adr, void *ptr, int size)
    {
    DWORD OldProtection;
    VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &amp;OldProtection);
    memcpy(adr,ptr,size);
    VirtualProtect(adr,size,OldProtection, &amp;OldProtection);
    }
    
    bool Match(const BYTE* pData, const BYTE* bMask, const char* szMask){
    for(;*szMask;++szMask,++pData,++bMask)
    if(*szMask=='x' &amp;&amp; *pData!=*bMask )
    return false;
    return (*szMask) == NULL;
    }
    DWORD Pattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask){
    for(DWORD i=0; i < dwLen; i++)
    if( Match( (BYTE*)( dwAddress+i ),bMask,szMask) )
    return (DWORD)(dwAddress+i);
    return 0;
    }
    
    DWORD WINAPI Loopely(LPVOID param){
    DWORD PFNORMAL = Pattern(0x400000,0x500000,(PBYTE)"\x7D\x3F\x33\x33\x73\x3F\x9A\x99","xxxxxx");
    while(1){
    if(GetAsyncKeyState(VK_F3)&amp;1){
    MEMwrite((void*)PFNORMAL, (PBYTE)"\x00",1 );
    MessageBeep(MB_ICONINFORMATION);
    }
    Sleep(50);
    }
    return 0;
    }
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    if (dwReason == DLL_PROCESS_ATTACH)
    {
    DisableThreadLibraryCalls(hDll);
    if(dwReason == DLL_PROCESS_ATTACH){
    MessageBeep(MB_ICONINFORMATION);
    CreateThread(0, 0, (LPTHREAD_START_ROUTINE)Loopely, 0, 0, 0);
    }
    else if(dwReason == DLL_PROCESS_DETACH)
    {
    }
    }
    return TRUE;
    }
    
     
  5. rcd 3 SD Level 2

    Messages:
    452
    Likes Received:
    535
    Trophy Points:
    121
    Game:
    Tidak Ada
    Pasti ada yang salah.

    1. dwSize melebihi besar size target coba aja ganti ke 0x80000

    2. Hasil pattern yang salah sehingga menyebabkan logging mengembalikan nilai 0x0 dan ente menggunakan memwrite hasil logging (0x0) maka terjadilah crash

    3. Invalid Address pada patching
     
  6. Darkgasper TK 0 Kecil Level 1

    Messages:
    64
    Likes Received:
    3
    Trophy Points:
    33
    kalo menurut wa yg salah ada pada jumlah mask nya,
    harusnya 'x' nya 8 bukan 6, karena jumlah AOB nya jga ada 8,

    coba ubah menjadi :
    DWORD PFNORMAL = Pattern(dwStartAddress,dwSize,(PBYTE)"\x7D\x3F\x33\x33\x73\x3F\x9A\x99","xxxxxxxx");
     
  7. ibranet Pra TK Level 1

    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    27
    salam kenal ka saya warga baru mau blajar ..minta bimbingannya..terimakasih
     
  8. Barubelajar Belum Sekolah Level 0

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Game:
    Dota 2
    Region:
    Depok
    [​IMG][/IMG]

    kalo kaya gini yang static yang mana spasi semua
     
  9. sarka500 Belum Sekolah Level 0

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Game:
    Point Blank
    Region:
    Bandung
    hallo gan ada yang bisa bantu ,saya mau tanya bagai mana cara mencari AOB point blank via ollydbg atau IDA
    terimakasih gan
     
  10. ventox890 Belum Sekolah Level 0

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    26
    Game:
    Point Blank
    Region:
    Kepulauan Riau
    gan numpang nanya , kok ane bikin autologger setelah di inject keluar ginian ya
    [​IMG]

    Ane make function WriteLog gan, kayaknya ada masalah di situnya, mohon bimbingannya :D
     
  11. Febirianto Pra TK Level 0

    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    32
    Game:
    Argo
    Region:
    United Kingdom
    kalau mau membuat Address Logger di game PB gimana yah ???
    kok saya masih bingung dengna OllyDbg ???
    mohon solusinya om :)
     
  12. SilitBurik TK 0 Besar Level 1

    Messages:
    180
    Likes Received:
    24
    Trophy Points:
    43
    Game:
    RF
    Region:
    Bekasi
    Cukup simple dan mudah di pelajari, sangat membantu sekali untuk menemukan Address yang ingin kita cari :)
     
  13. ZaichiKaito Belum Sekolah Level 1

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    28
    gak ada update :'v ? sigmaker support gak ya buat 64 bit ? #level1nya masih prosses :'v
     
  14. syh1st Pra TK Level 0

    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    33
    Game:
    Point Blank
    Region:
    Bandung
    Om RCD Atau Siapa yang paham
    Saya mau tanya. Bagaimana mencari sygnature
    cara yang lebih detail.
    Saya mohon dengan sangat informasi nya

    Terima kasih:)
     
  15. syh1st Pra TK Level 0

    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    33
    Game:
    Point Blank
    Region:
    Bandung
    Open File apa di Olly nya
     
  16. Febirianto Pra TK Level 0

    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    32
    Game:
    Argo
    Region:
    United Kingdom
    gan mau tanya dong ini FindPattern gimana yah ??

    0075E9C4 6A 00 PUSH 0
    0075E9C6 8B0D 7C6DD800 MOV ECX,DWORD PTR DS:[D86D7C]
    0075E9CC E8 9F1E0200 CALL 00780870
    0075E9D1 6A 0C PUSH 0C


    CALL 00780870

    yang di panggil itu om 0x780870
     

Share This Page