EMO Style ForumPro - Hos Geldiniz
[KO] multiclient = iMore Uyeols10

Join the forum, it's quick and easy

EMO Style ForumPro - Hos Geldiniz
[KO] multiclient = iMore 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

pointer  loot  kutu  

Kimler hatta?
Toplam 4 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 4 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
[KO] multiclient = iMore I_icon_minitimeCuma Ağus. 29, 2014 8:33 am tarafından Hello EMO

» goldenchase.net maden yaparak para kazanma
[KO] multiclient = iMore I_icon_minitimeCuma Ağus. 29, 2014 8:18 am tarafından Hello EMO

» etichal hacker görsel egitim seti
[KO] multiclient = iMore I_icon_minitimeÇarş. Ağus. 06, 2014 4:57 am tarafından Hello EMO

» KO TBL Source C#
[KO] multiclient = iMore I_icon_minitimePtsi Ara. 09, 2013 6:36 am tarafından Hello EMO

» x86 Registers
[KO] multiclient = iMore I_icon_minitimeC.tesi Ağus. 24, 2013 5:02 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de WYD
[KO] multiclient = iMore I_icon_minitimeÇarş. Tem. 10, 2013 7:25 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de CS Metodo²
[KO] multiclient = iMore I_icon_minitimeÇarş. Tem. 10, 2013 7:23 am tarafından Hello EMO

» [Tutorial] Aprendendo basico deASM OLLYDBG
[KO] multiclient = iMore I_icon_minitimeÇarş. Tem. 10, 2013 7:22 am tarafından Hello EMO

» Basic C# DLL injector
[KO] multiclient = iMore I_icon_minitimePtsi Tem. 08, 2013 7:48 am tarafından Hello EMO

Reklam

[KO] multiclient = iMore

Aşağa gitmek

[KO] multiclient = iMore Empty [KO] multiclient = iMore

Mesaj tarafından Hello EMO Paz Haz. 06, 2010 9:04 am

Kod:
#include <cstdio>
#include <windows.h>
using namespace std;
STARTUPINFO si;
PROCESS_INFORMATION pi;
LPWSTR tmp;
size_t res;
UINT idpro=1;
DWORD exCode;
UINT ptr=0xDEADBEEF;
char *mxName;
void main(int argc,char **args){
        for(int i=1;i<argc;i++)
                printf("%s\n",args[i]);
        sscanf_s(args[3],"%X",&ptr);
        if (argc>4)
                sscanf_s(args[4],"%X",&idpro);
        size_t len=strlen(args[1])+1;
        tmp=new WCHAR[len];
        SIZE_T a;
        mbstowcs_s(&res,tmp,len, args[1],100 );
        mxName=new char[24];
        mxName[20]=0;
        CreateProcess(NULL,tmp,NULL,NULL,FALSE,NULL,NULL,NULL,&si,&pi);
        free(tmp);
        while(mxName[0]!='K' ||mxName[7]!='O' || mxName[9]!='L'){     
                GetExitCodeProcess(pi.hProcess,&exCode);
                if (exCode!=STILL_ACTIVE) return;
                ReadProcessMemory(pi.hProcess,(LPVOID)ptr,mxName,20,&a);
        }
        memcpy(mxName,args[2],strlen(args[2]));
        WriteProcessMemory(pi.hProcess, (LPVOID)ptr, mxName, strlen(mxName), NULL);
        Sleep(1000);
        if(SetProcessAffinityMask(pi.hProcess, idpro)==FALSE){
                printf("Error setting affinity\n");
                getchar();
        }
        return;
}

I had trouble checking for string "Knight OnLine Client" so i just check for K, O, L and instead of op patch i simply set affinity mask for newly created process
so then you can create a shortcut like :

Kod:
iMore.exe "C:\MgameJP\KO2\KnightOnline.exe -launch parameter-" "Knight OnLine Cliant" 0xB49244 2

"Knight OnLine Cliant" = new window name // rather use same lenght as original
0xB49244 = address of ascii text "Knight OnLine Client"
2 = affinity mask

Kod:
1 = 2^0 -> run on core 0
2 = 2^1 -> run on core 1
4 = 2^2 -> run on core 2
8 = 2^3 -> run on core 3
5 = 1+4 -> run on cores 0 and 2
if you try 4+ and you have only dualcore, it fails and printf("Error setting affinity\n"); ... runs on all cores
Hello EMO
Hello EMO
EMO Team
EMO Team

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

[KO] multiclient = iMore Empty Geri: [KO] multiclient = iMore

Mesaj tarafından Hello EMO Paz Haz. 06, 2010 9:05 am

main.cpp


Kod:
#include <cstdio>
#include <conio.h>
#include <windows.h>

using namespace std;

#define Location "C:\\MultiClient.ini"

STARTUPINFO si;
PROCESS_INFORMATION pi;

UINT idpro;
DWORD ptr;

DWORD mxName = NULL;
char WndName[255];
char LocationOfClient[255];
char CommandLine[255];
char Directory[255];

void main(int argc,char **args){

        int NrMc;

        printf("Podaj mc: ");
        scanf("%d",&NrMc);
       
        ptr = GetPrivateProfileIntA( "All" , "Pointer" , 0xa54ec4 , Location );
        printf("Pointer = %X",ptr);

        idpro = GetPrivateProfileIntA( "All" , "AffinityMask" , 0 , Location );
        printf("\nAffinityMask = %d",idpro);

        GetPrivateProfileString( "All" , "WndName" , "Knight OnLine Client" , WndName , 255 , Location );
        printf("\nWindowName = %s",WndName);
       
        switch(NrMc)
        {
                case 1 : 
                        GetPrivateProfileString( "MC1" , "Location" , "Knight OnLine Client" , LocationOfClient , 255 , Location );
                        GetPrivateProfileString( "MC1" , "Name" , "1" , WndName , 255 , Location );
                        GetPrivateProfileString( "MC1" , "Directory" , "C:\\KNIGHTY\\KO1\\" , Directory , 255 , Location );
                        break;
                case 2 :
                        GetPrivateProfileString( "MC2" , "Location" , "Nie Odnaleziono" , LocationOfClient , 255 , Location );
                        GetPrivateProfileString( "MC2" , "Name" , "2" , WndName , 255 , Location );
                        GetPrivateProfileString( "MC2" , "Directory" , "C:\\KNIGHTY\\KO2\\" , Directory , 255 , Location );
                        break;
                case 3 :
                        GetPrivateProfileString( "MC3" , "Location" , "Nie Odnaleziono" , LocationOfClient , 255 , Location );
                        GetPrivateProfileString( "MC3" , "Name" , "3" , WndName , 255 , Location );
                        GetPrivateProfileString( "MC3" , "Directory" , "C:\\KNIGHTY\\KO3\\" , Directory , 255 , Location );
                        break;
                case 4 :
                        GetPrivateProfileString( "MC4" , "Location" , "Nie Odnaleziono" , LocationOfClient , 255 , Location );
                        GetPrivateProfileString( "MC4" , "Name" , "4" , WndName , 255 , Location );
                        GetPrivateProfileString( "MC4" , "Directory" , "C:\\KNIGHTY\\KO4\\" , Directory , 255 , Location );
                        break;
                case 5 :
                        GetPrivateProfileString( "MC5" , "Location" , "Nie Odnaleziono" , LocationOfClient , 255 , Location );
                        GetPrivateProfileString( "MC5" , "Name" , "5" , WndName , 255 , Location );
                        GetPrivateProfileString( "MC5" , "Directory" , "C:\\KNIGHTY\\KO5\\" , Directory , 255 , Location );
                        break;
                case 6 :
                        GetPrivateProfileString( "MC6" , "Location" , "Nie Odnaleziono" , LocationOfClient , 255 , Location );
                        GetPrivateProfileString( "MC6" , "Name" , "6" , WndName , 255 , Location );
                        GetPrivateProfileString( "MC6" , "Directory" , "C:\\KNIGHTY\\KO6\\" , Directory , 255 , Location );
                        break;

                default : return;

        }
       
        printf("\nClient [MC%d]\nLocation: %s",NrMc,LocationOfClient);
        printf("\nName of MC : %s",WndName);

        GetPrivateProfileString( "All" , "CmdLine" , "KnightOnLine.exe /USA_KnightOnLine" , CommandLine , 255 , Location );
        printf("\nCommand Line : %s",CommandLine);

        printf("\nDirectory: %s",Directory);

        CreateProcess(LocationOfClient,CommandLine,NULL,NULL,NULL,NULL,NULL,Directory,&si,&pi);
       
        while( mxName == NULL)
        {
                ReadProcessMemory(pi.hProcess,(LPVOID)ptr,&mxName,4,NULL);
        }
                               
        BYTE ZeroTableB[] = { 0 , 0 , 0 , 0 , 0 ,
                                                  0 , 0 , 0 , 0 , 0 ,
                                                  0 , 0 , 0 , 0 , 0 ,
                                                  0 , 0 , 0 , 0 , 0 ,
                                                };
                               
        WriteProcessMemory(pi.hProcess, (LPVOID)ptr, ZeroTableB, 20, NULL);
        WriteProcessMemory(pi.hProcess, (LPVOID)ptr, WndName, strlen(WndName) , NULL);

       
        if(! SetProcessAffinityMask(pi.hProcess, idpro) )
        {     
                printf("\nSetting AffinityMask failed");
                _getch();
        }

        return;
}

multiclient.ini


Kod:
[All]
Pointer = 0xa54ec4
WndName = "Knight OnLine Client"
AffinityMask = 1
CmdLine = "KnightOnline.exe USA_KnightOnLine"

[MC1]
Name = "rin1"
Location = "C:\\KNIGHTY\\KO1\\KnightOnLine.exe"
Directory= "C:\\KNIGHTY\\KO1\\"

[MC2]
Name = "rin2"
Location = "C:\\KNIGHTY\\KO2\\KnightOnline.exe"
Directory= "C:\\KNIGHTY\\KO2\\"

[MC3]
Name = "rin3"
Location = "C:\\KNIGHTY\\KO3\\KnightOnline.exe"
Directory= "C:\\KNIGHTY\\KO3\\"

[MC4]
Name = "rin4"
Location = "C:\\KNIGHTY\\KO4\\KnightOnline.exe"
Directory= "C:\\KNIGHTY\\KO4\\"

[MC5]
Name = "MAGE"
Location = "C:\\KNIGHTY\\KO5\\KnightOnline.exe"
Directory= "C:\\KNIGHTY\\KO5\\"

[MC6]
Name = "kuktas4"
Location = "C:\\KNIGHTY\\KO6\\KnightOnline.exe"
Directory= "C:\\KNIGHTY\\KO6\\"
Hello EMO
Hello EMO
EMO Team
EMO Team

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