|
You last visited: Today at 18:23
Advertisement
[Source]Auto Login
Discussion on [Source]Auto Login within the Kal Hacks, Bots, Cheats & Exploits forum part of the Kal Online category.
07/01/2009, 17:53
|
#31
|
elite*gold: 0
Join Date: Jun 2009
Posts: 22
Received Thanks: 1
|
funny
|
|
|
07/04/2009, 00:21
|
#32
|
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
|
Quote:
Originally Posted by cheater-.-
du darfst
als "überschrift" nicht vergessen sonst gibt es bei mir auch nen fehler..
btw: ich erhalte immer nach ca 2 stunden ein
wieso?
|
wegen der dll ;P --> recvhook
//weg
|
|
|
07/11/2009, 15:49
|
#33
|
elite*gold: 0
Join Date: Jul 2009
Posts: 19
Received Thanks: 2
|
bloodx hat irgendwie echt langeweile^^ aba nette sache kombiniert mitn bot xD bei meiner leitung ganz toll^^
|
|
|
07/13/2009, 12:39
|
#34
|
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
|
oder für wlan user XD
|
|
|
08/04/2009, 18:38
|
#35
|
elite*gold: 0
Join Date: Jul 2009
Posts: 87
Received Thanks: 3
|
Hmm, got problem.
I am not getting 0x09 packet when choosing server.
PHP Code:
if (packet[2] == 0x09)
{
printf("hello");
}
There is no hello. :/
I cant run autologin script.
|
|
|
08/04/2009, 19:05
|
#36
|
elite*gold: 20
Join Date: Jul 2007
Posts: 1,979
Received Thanks: 270
|
thats recv,
sendpacket is 0x09 :P
|
|
|
02/11/2011, 20:36
|
#37
|
elite*gold: 0
Join Date: Mar 2009
Posts: 112
Received Thanks: 13
|
reupload plz
|
|
|
02/11/2011, 23:13
|
#38
|
elite*gold: 0
Join Date: Sep 2007
Posts: 347
Received Thanks: 211
|
Quote:
Originally Posted by zawadzki
reupload plz
|
last message 08-04-2009, 20:05
wtf is in your mind?
|
|
|
02/12/2011, 09:35
|
#39
|
elite*gold: 0
Join Date: Mar 2009
Posts: 112
Received Thanks: 13
|
maybe he still ahve the source , and now stfu
|
|
|
02/12/2011, 15:32
|
#40
|
elite*gold: 0
Join Date: Dec 2010
Posts: 1,196
Received Thanks: 681
|
it still worked a few months ago 
dont know whether it still works.
but here is the source.
PHP Code:
/* Auto Login by SoniKk69 via system.ini */ #include <iostream> #include <fstream> #include <stdio.h> #include <io.h> #include <fcntl.h> #include <iomanip> #include <math.h> #include <string> #include <time.h> #include <stdlib.h> #include <windows.h> #include <process.h> #pragma pack(1)
using namespace std;
#define ASM void __declspec(naked) #define EXPORT __declspec(dllexport) __cdecl #define THREAD DWORD WINAPI #define Naked __declspec( naked ) #define INST_NOP 0x90 #define INST_CALL 0xe8 #define INST_JMP 0xe9 #define INST_BYTE 0x00 #define SHORT_JZ 0x74 #define MAXWAIT 100000 #define _DWORD DWORD #define _WORD WORD #define _BYTE BYTE
LPVOID MemcpyEx(DWORD lpDest, DWORD lpSource, int len) { DWORD oldSourceProt,oldDestProt=0; VirtualProtect((LPVOID)lpSource,len,PAGE_EXECUTE_READWRITE,&oldSourceProt); VirtualProtect((LPVOID)lpDest,len,PAGE_EXECUTE_READWRITE,&oldDestProt); memcpy((void*)lpDest,(void*)lpSource,len); VirtualProtect((LPVOID)lpDest,len,oldDestProt,&oldDestProt); VirtualProtect((LPVOID)lpSource,len,oldSourceProt,&oldSourceProt); return (LPVOID)lpDest; };
DWORD Intercept(int instruction, DWORD lpSource, DWORD lpDest, int len) { DWORD realtarget; LPBYTE buffer = new BYTE[len]; memset(buffer,0x90,len);
if (instruction != INST_NOP && len >= 5) { buffer[(len-5)] = instruction; DWORD dwJMP = (DWORD)lpDest - (lpSource + 5 + (len-5)); memcpy(&realtarget,(void*)(lpSource+1),4); realtarget = realtarget+lpSource+5; memcpy(buffer + 1 + (len-5),&dwJMP,4); } if (instruction == SHORT_JZ) { buffer[0]=instruction; buffer[1]=(BYTE)lpDest; } if (instruction == INST_BYTE) { buffer[0]=(BYTE)lpDest; } MemcpyEx(lpSource, (DWORD) buffer, len); delete[] buffer; return realtarget; }
DWORD SearchPattern(char* pattern,DWORD start_offset ,DWORD ende) { DWORD offset=start_offset; DWORD start=offset; DWORD backoffset=0; DWORD size =strlen(pattern)-1; DWORD foundoffset=0; char * pEnd=pattern; while(1) { char &myposition=*(char*)offset; if ((pEnd[1]!='x')) { char temp=(char)strtoul(pEnd, &pEnd, 0x10); if (temp==myposition) { if (foundoffset==0) { foundoffset=offset; } } else { pEnd=pattern; if (foundoffset != 0) offset=foundoffset; foundoffset=0; } } else { pEnd=&pEnd[2]; } offset++; if (((DWORD)pEnd-(DWORD)pattern>=size)||(offset>=ende)) break; } return foundoffset; } HINSTANCE hLThis = 0; HINSTANCE hL = 0; FARPROC p[332] = {0}; void GetLogin(void* pParams); DWORD sendadr_ = SearchPattern("55 8B EC 83 EC 18 83 3D x x x x 00 74 07 33 C0 E9 x x x x 8A 45 08 A2 x x x 00 83 3D x x x 00 01 75 0C" ,0x00400000,0x007FFFFF); DWORD sendadr = sendadr_+ 0x06;
__declspec(naked) int __cdecl Send_To_Server (BYTE type , LPCSTR format , ... ) { __asm { push ebp mov ebp, esp sub esp, 0x18 jmp sendadr } }
char Login_ID[255]; char Login_PW[255]; char Login_PW_Second[255]; void Send_SecondPW() { Sleep(200); Send_To_Server(0x88,"bs",0,Login_PW_Second); Sleep(100); } void Send_Login() { Send_To_Server(0x02,"ss",Login_ID,Login_PW); Sleep(500); Send_SecondPW(); }
void CommandHandler() { for (int i = 0;i<10;i++) { Send_To_Server(0x15,"bbb",226,0,0); } Beep(500,500); }
void GetLogin(void* pParams) {
DWORD destSize; destSize=100; GetPrivateProfileString("Auto_Login","ID","NULL",Login_ID,destSize,".\\system.ini"); GetPrivateProfileString("Auto_Login","PW","NULL",Login_PW,destSize,".\\system.ini"); GetPrivateProfileString("Auto_Login","2PW","NULL",Login_PW_Second,destSize,".\\system.ini"); Sleep(100); Send_Login(); }
void Load_Auto_Login(void* start_parameter) { Sleep(10000); GetLogin(0); Sleep(30000); CommandHandler(); }
|
|
|
08/27/2021, 20:28
|
#41
|
elite*gold: 0
Join Date: Nov 2007
Posts: 14
Received Thanks: 0
|
Quote:
Originally Posted by RunzelEier
it still worked a few months ago 
dont know whether it still works.
but here is the source.
PHP Code:
/*
Auto Login by SoniKk69 via system.ini
*/
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <io.h>
#include <fcntl.h>
#include <iomanip>
#include <math.h>
#include <string>
#include <time.h>
#include <stdlib.h>
#include <windows.h>
#include <process.h>
#pragma pack(1)
using namespace std;
#define ASM void __declspec(naked)
#define EXPORT __declspec(dllexport) __cdecl
#define THREAD DWORD WINAPI
#define Naked __declspec( naked )
#define INST_NOP 0x90
#define INST_CALL 0xe8
#define INST_JMP 0xe9
#define INST_BYTE 0x00
#define SHORT_JZ 0x74
#define MAXWAIT 100000
#define _DWORD DWORD
#define _WORD WORD
#define _BYTE BYTE
LPVOID MemcpyEx(DWORD lpDest, DWORD lpSource, int len)
{
DWORD oldSourceProt,oldDestProt=0;
VirtualProtect((LPVOID)lpSource,len,PAGE_EXECUTE_READWRITE,&oldSourceProt);
VirtualProtect((LPVOID)lpDest,len,PAGE_EXECUTE_READWRITE,&oldDestProt);
memcpy((void*)lpDest,(void*)lpSource,len);
VirtualProtect((LPVOID)lpDest,len,oldDestProt,&oldDestProt);
VirtualProtect((LPVOID)lpSource,len,oldSourceProt,&oldSourceProt);
return (LPVOID)lpDest;
};
DWORD Intercept(int instruction, DWORD lpSource, DWORD lpDest, int len)
{
DWORD realtarget;
LPBYTE buffer = new BYTE[len];
memset(buffer,0x90,len);
if (instruction != INST_NOP && len >= 5)
{
buffer[(len-5)] = instruction;
DWORD dwJMP = (DWORD)lpDest - (lpSource + 5 + (len-5));
memcpy(&realtarget,(void*)(lpSource+1),4);
realtarget = realtarget+lpSource+5;
memcpy(buffer + 1 + (len-5),&dwJMP,4);
}
if (instruction == SHORT_JZ)
{
buffer[0]=instruction;
buffer[1]=(BYTE)lpDest;
}
if (instruction == INST_BYTE)
{
buffer[0]=(BYTE)lpDest;
}
MemcpyEx(lpSource, (DWORD) buffer, len);
delete[] buffer;
return realtarget;
}
DWORD SearchPattern(char* pattern,DWORD start_offset ,DWORD ende)
{
DWORD offset=start_offset;
DWORD start=offset;
DWORD backoffset=0;
DWORD size =strlen(pattern)-1;
DWORD foundoffset=0;
char * pEnd=pattern;
while(1)
{
char &myposition=*(char*)offset;
if ((pEnd[1]!='x'))
{
char temp=(char)strtoul(pEnd, &pEnd, 0x10);
if (temp==myposition)
{
if (foundoffset==0)
{
foundoffset=offset;
}
}
else
{
pEnd=pattern;
if (foundoffset != 0)
offset=foundoffset;
foundoffset=0;
}
}
else
{
pEnd=&pEnd[2];
}
offset++;
if (((DWORD)pEnd-(DWORD)pattern>=size)||(offset>=ende))
break;
}
return foundoffset;
}
HINSTANCE hLThis = 0;
HINSTANCE hL = 0;
FARPROC p[332] = {0};
void GetLogin(void* pParams);
DWORD sendadr_ = SearchPattern("55 8B EC 83 EC 18 83 3D x x x x 00 74 07 33 C0 E9 x x x x 8A 45 08 A2 x x x 00 83 3D x x x 00 01 75 0C"
,0x00400000,0x007FFFFF);
DWORD sendadr = sendadr_+ 0x06;
__declspec(naked) int __cdecl Send_To_Server (BYTE type , LPCSTR format , ... )
{
__asm
{
push ebp
mov ebp, esp
sub esp, 0x18
jmp sendadr
}
}
char Login_ID[255];
char Login_PW[255];
char Login_PW_Second[255];
void Send_SecondPW()
{
Sleep(200);
Send_To_Server(0x88,"bs",0,Login_PW_Second);
Sleep(100);
}
void Send_Login()
{
Send_To_Server(0x02,"ss",Login_ID,Login_PW);
Sleep(500);
Send_SecondPW();
}
void CommandHandler()
{
for (int i = 0;i<10;i++)
{
Send_To_Server(0x15,"bbb",226,0,0);
}
Beep(500,500);
}
void GetLogin(void* pParams)
{
DWORD destSize;
destSize=100;
GetPrivateProfileString("Auto_Login","ID","NULL",Login_ID,destSize,".\\system.ini");
GetPrivateProfileString("Auto_Login","PW","NULL",Login_PW,destSize,".\\system.ini");
GetPrivateProfileString("Auto_Login","2PW","NULL",Login_PW_Second,destSize,".\\system.ini");
Sleep(100);
Send_Login();
}
void Load_Auto_Login(void* start_parameter)
{
Sleep(10000);
GetLogin(0);
Sleep(30000);
CommandHandler();
}
|
with which program i have to compile it? thx
|
|
|
 |
|
Similar Threads
|
Wie Speichert man die Login daten und macht nen Auto Login
07/15/2010 - Metin2 Private Server - 5 Replies
Souh ma wieder ne "Blöde Frage"... wie speichert man die login daten und macht nen autologin für den client wie es hier gemacht worden ist: http://www.elitepvpers.com/forum/metin2-pserver-dis cussions-questions/616285-my-new-client.html
Über ne antwort würde ich mich freuen...
|
Login Error (5165 Source)
06/29/2010 - CO2 Private Server - 2 Replies
So, I picked up a random source. followed the guide. got it turned on.. Went to login & it loads then freeze's & then it directly opens up the source & go's to this line giving an error.
|
need help with login in CoEmu v2 source :D
06/27/2009 - CO2 Private Server - 14 Replies
hey all i used the CoEmu v2 source (thx andy :D) and every thing is great except iam the only one that can login :( when any one else tries to login he either gets a login freeze and i think i fixed that but now he gets failed to connect to the server and that is what i get in the login server and the game server http://img188.imageshack.us/img188/3281/erorw.png so can any one help me fix it plz :D (note: if u have nothing nice to say dont say any thing pls)
|
All times are GMT +1. The time now is 18:23.
|
|