|
You last visited: Today at 04:43
Advertisement
Admin Console Trainer [Source]
Discussion on Admin Console Trainer [Source] within the S4 League Hacks, Bots, Cheats & Exploits forum part of the S4 League category.
03/13/2015, 12:31
|
#16
|
elite*gold: 225
Join Date: Sep 2014
Posts: 334
Received Thanks: 460
|
Quote:
Originally Posted by arkade
Yo, i wana share a simple example of Admin Console Trainer in S4League
Only Source!
dllmain.cpp
Code:
// dllmain.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#include "CCFunction.h"
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
LoadConsole();
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
CCFunction.cpp
Code:
#include "stdafx.h"
#include "CCFunction.h"
#include <detours.h>
void __declspec(naked) hkReadCom()
{
_asm
{
mov eaxadd, eax //Put the address contain in eax in eaxadd (DWORD var)
mov eax, [ebp - 0x04]
mov ebpadd, eax //Put the address contain in eax to ebpadd (DWORD var too)
}
char Command[20];
ReadProcessMemory(GetCurrentProcess(), (LPVOID)eaxadd, &Command, 20, NULL);//Just read the 20 first bytes of eaxadd and put in Command var
//Call my func with Command to parameter
ParseCommand(Command);
_asm
{
mov eax, [ebpadd]
mov [ebp - 0x04], eax
mov eax, [eaxadd]
push eax
mov ecx, [ebp - 0x04]
call addr//Call addr (DWORD var)
jmp RD_COM_Back//Jump to RD_COM_Back
}
}
_declspec(naked) void hkWriteResp()
{
_asm mov tmpResp, offset[MyResponse]
DWORD adr;
ReadProcessMemory(GetCurrentProcess(), (LPVOID)tmpResp, &adr, sizeof(int), NULL);
_asm {
mov eax, adr
push eax
push TypeResp
mov ecx, [ebp - 0x000001E8]
jmp RW_RES_Back
}
}
typedef int (__fastcall* typeCallResponse)(unsigned char, char*);
void ParseCommand(char* pCommand)
{
DWORD old = 0;
if(!strcmp(pCommand, "/infsp"))
{
if(!infsp)
{
VirtualProtect((LPVOID)0x00492AD2, 4, PAGE_EXECUTE_READWRITE, &old);
memcpy((void*)0x00492AD2, "\xDB\x45", 2);
VirtualProtect((LPVOID)0x00492AD2, 4, old, NULL);
ChangeResponse(" {CB-255,128,0,255}Infinite Sp Activated ! ", Response::Answer);
infsp = true;
}
else
{
VirtualProtect((LPVOID)0x00492AD2, 4, PAGE_EXECUTE_READWRITE, &old);
memcpy((void*)0x00492AD2, "\xD9\x45", 2);
VirtualProtect((LPVOID)0x00492AD2, 4, old, NULL);
ChangeResponse(" {CB-255,128,0,255}Infinite Sp Deactivated ! ", Response::Answer);
infsp = false;
}
}
else if(!strcmp(pCommand,"/help"))
{
/*typeCallResponse writResp = (typeCallResponse)0x00BE33B0;
writResp(1, " -testline1");*/
}
else
{
ChangeResponse(" {CB-255,255,255,255}Unknown Command! ", Response::Error);
}
}
void ChangeResponse(char* pResponse, Response::ResponseType resp)
{
MyResponse = pResponse;
TypeResp = resp;
}
void Activate()
{
DWORD old = 0;
VirtualProtect((LPVOID)0x00BE254A, 4, PAGE_EXECUTE_READWRITE, &old);
memcpy((void*)0x00BE254A, "\x75", 1);
VirtualProtect((LPVOID)0x00BE254A, 4, old, NULL);
}
int __fastcall hkWriteResponse(void *typ, char* command)
{
MessageBoxA(0, command, "", 0);
return mWriteResponse(typ, command);
}
void LoadConsole()
{
//Detours
DetourFunction((PBYTE)0x00BE25B3, (PBYTE)hkReadCom);
DetourFunction((PBYTE)0x00BE2ECA, (PBYTE)hkWriteResp);//display answer visualy
//mWriteResponse = (tWriteResponse)DetourFunction((PBYTE)0x00BE33B0, (PBYTE)hkWriteResponse);
Activate();
}
CCFunction.h
Code:
#include <Windows.h>
#include <string>
class Response {
public:
enum ResponseType: int
{
Answer = 01,
Error = 02,
Request = 03
};
};
static int __fastcall hkWriteResponse(void *typ, char* command);
typedef int (__fastcall *tWriteResponse)(void *typ, char* command);
static tWriteResponse mWriteResponse;
static char* MyResponse = "Unknown command ;<";
static int TypeResp = 01;
void LoadConsole();
//bool hkCallResp(char* arg01, int arg02);
void ParseCommand(char* pCommand);
void ChangeResponse(char* pResponse, Response::ResponseType resp);
void WriteResponse(char* pResponse, Response::ResponseType resp);
void Activate();
static DWORD hkCall = 0x00BE33B0;
static DWORD tmpResp = 0;
static DWORD eaxadd = 0;
static DWORD ebpadd = 0;
static DWORD addr = 0x00BE2D90;
static DWORD RD_COM_Back = 0x00BE25BC;
static DWORD ResponseConsole = 0;
static DWORD typeMsg = 0;
static DWORD RW_RES_Back = 0x00BE2ED3;
static bool infsp = false;
|
mhm, the hook is shxt!
every ac would detect it, detours is shxt you should use other hooking methods but anyways thanks for sharing..
Quote:
Originally Posted by arkade
i commented the same XDDD
|
really funny, fag xd.
|
|
|
03/13/2015, 12:46
|
#17
|
elite*gold: 0
Join Date: Jan 2013
Posts: 2,450
Received Thanks: 1,880
|
"Arkade turned into a noob?" - Never thought that it might happen.
|
|
|
03/13/2015, 13:55
|
#18
|
elite*gold: 15
Join Date: Jun 2011
Posts: 570
Received Thanks: 2,757
|
Arkade and killer were in the same team so u know, unless he got killer skype pass.
|
|
|
03/13/2015, 14:55
|
#19
|
elite*gold: 0
Join Date: Jul 2014
Posts: 272
Received Thanks: 252
|
-_- *Sigh* The Annyoing thing is that he is denying what he did wen he knows he did it.
I wonder if ur going to church on sunday Mr.Arkade.
|
|
|
03/13/2015, 15:19
|
#20
|
elite*gold: 130
Join Date: Apr 2012
Posts: 1,173
Received Thanks: 670
|
|
|
|
03/13/2015, 18:08
|
#21
|
elite*gold: 0
Join Date: Feb 2011
Posts: 282
Received Thanks: 492
|
Quote:
Originally Posted by arkade
i commented the same XDDD
|
Oh that's funny...
Well i think everything is said, it's leeched, nothing more.
|
|
|
03/13/2015, 19:38
|
#22
|
elite*gold: 1371
Join Date: Apr 2010
Posts: 13,779
Received Thanks: 15,041
|
Quote:
Originally Posted by arkade
i commented the same XDDD
|
#closed
|
|
|
 |
|
Similar Threads
|
Admin Console mit CE
01/10/2012 - Last Chaos - 1 Replies
N'abend, da ich ich diesbezüglich nichts mit der Sufu gefunden habe, würd ich gern wissen, ob es möglich ist mit Cheat Engine eine Admin Console zu erstellen.
Vielen Dank schon mal im vorraus.
|
Help with admin console plz
05/18/2011 - Last Chaos - 5 Replies
Hello for aweryone, i am from russian last chaos server , who can help me? how to find admin console adress? after the resresh client this funcktion isnt work(((( Help plz
|
Admin Console
01/13/2011 - Last Chaos - 1 Replies
Hallo Leute !!!
Gibt es eigentlich zur Zeit eine Admin Tool für die GER Version ???
Meine sowas ähnlichen wie Offensivkiller für die US gemacht hat ?
|
Admin-Console
07/31/2010 - Last Chaos - 2 Replies
Hi,
wollte mal fragen ob es ne möglichkeit gibt das die admin-console funk.
anscheind hat das gamigo gefixt =/
|
Admin console
04/28/2010 - Last Chaos - 13 Replies
Also da mann ja mit der admin consoe mit der taste : ^ . ein eingabe fester öfnen kann habe ich mal aus spass da einfach maal ein wenig rumgedrückt und auf einmal kamen comandos. wenn mann das auf hat und die taste under dem :^ drückt dann kommen diese verschiedenen comandos und bei einem comando kann mann daten speichern lassen die man in seinem lc ordner findet !
1. wer kann mir sagen wofür das gut ist ?
2. Kann mann da vlt was mit anstellen oder raus greifen infos oder anderes?
|
All times are GMT +1. The time now is 04:44.
|
|