Not really useful but who cares



Home » Posts filed under All Hacks
Posted by bL4cK_m0p on Wednesday, January 26, 2011
Posted by bL4cK_m0p on Friday, August 13, 2010
#include
#include
#include
#include "inireader.h"
#include "colors.cpp"
using namespace std;
DWORD GetPID (char* proc);
void EnableDebugPriv();
DWORD GetDLL (char* DllName, DWORD tPid);
#define write(addr, ...) __write(addr, __VA_ARGS__, -1)
void __write(DWORD addr, ...);
int main(void)
{
EnableDebugPriv();
bool bPressed[4] = {false, false, false, false}; //Whoop, don't trigger multiple times
SetConsoleTitle("TyranO's TimeHack (LongLoad) for 1.24e");
DWORD Address = 0x60A33F;
CIniReader iniReader(".\\config.ini");
int sleep = iniReader.ReadInteger("Settings", "sleep", 270000);
if (GetPID("war3.exe") == 0)
{
cout << "WC3 Not found." << endl << endl; system("Pause"); exit(0); } else { SetColor(9); cout << "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||"; cout << "|||||||| ||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||"; SetColor(11); cout << "|||||||||||| |||||||| |||||| |||||||||||||||||||||||||||||||||| ||||| |||||||||"; cout << "|||||||||||| |||||||| |||| |||| |||||||| |||||||| |||| |||| ||||||| ||||||||"; SetColor(10); cout << "|||||||||||| ||||||||| ||||| |||| | ||||||| ||| |||| ||||||| ||||||||"; cout << "|||||||||||| ||||||||||| ||||||| |||||| ||| |||||| | ||| |||| ||||||| ||||||||"; SetColor(12); cout << "|||||||||||| ||||||||||| ||||||| ||||| ||||| || || |||| ||||||| ||||||||"; cout << "|||||||||||| ||||||||||| ||||||| |||| ||||||| |||| ||| | ||||| ||||| |||||||||"; SetColor(-1); cout << "|||||||||||| ||||||||||| ||||||| ||| ||||||||| ||| |||| |||||| ||||||||||"; cout << "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||" << endl; SetColor(-3); cout << "Press F4 to pause loading for "; cout << sleep/1000; cout << " seconds (Automatic). PRESS F4 only ONCE." << endl << "F4 mode cannot be stopped until timer is over. Default is 4 min 30 sec." << endl << endl; cout << "Press F5 to pause loading. " << endl << endl; cout << "Press F6 to stop longload. " << endl << endl; for(;;) { SetColor(-5); if(GetAsyncKeyState(VK_F4) && GetAsyncKeyState(VK_F4) && !bPressed[0]){ bPressed[0] = true; write (Address,0x00); cout << "TimeHack (automatic) is ON. It will be off in "; cout << sleep/1000; cout << " seconds."; Sleep(sleep); write (Address,0x01); cout << "TimeHack is now OFF." << endl << endl; } else if (!GetAsyncKeyState(VK_F4)) bPressed[0] = false; if(GetAsyncKeyState(VK_F5) && GetAsyncKeyState(VK_F5) && !bPressed[1]){ bPressed[1] = true; write (Address,0x00); cout << "TimeHack (manual) is ON."<< endl << endl; } else if (!GetAsyncKeyState(VK_F5)) bPressed[1] = false; if(GetAsyncKeyState(VK_F6) && GetAsyncKeyState(VK_F6) && !bPressed[2]){ bPressed[2] = true; write (Address,0x01); cout << "TimeHack is OFF."<< endl << endl; } else if (!GetAsyncKeyState(VK_F6)) bPressed[2] = false; } } } DWORD GetPID (char* proc) { BOOL working=0; PROCESSENTRY32 lppe= {0}; DWORD targetPid=0; HANDLE hSnapshot=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS ,0); if (hSnapshot) { lppe.dwSize=sizeof(lppe); working=Process32First(hSnapshot,&lppe); while (working) { if (_stricmp(lppe.szExeFile,proc)==0) { targetPid=lppe.th32ProcessID; break; } working=Process32Next(hSnapshot,&lppe); } } CloseHandle( hSnapshot ); return targetPid; } void EnableDebugPriv() { HANDLE hToken; LUID sedebugnameValue; TOKEN_PRIVILEGES tkp; OpenProcessToken( GetCurrentProcess( ), TOKEN_ADJUST_PRIVILEGES |TOKEN_QUERY, &hToken ); LookupPrivilegeValue( NULL, SE_DEBUG_NAME, &sedebugnameValue ); tkp.PrivilegeCount = 1; tkp.Privileges[0].Luid = sedebugnameValue; tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; AdjustTokenPrivileges( hToken, false, &tkp, sizeof( tkp ), NULL, NULL ); CloseHandle( hToken ); } DWORD GetDLL(char* DllName, DWORD tPid) { HANDLE snapMod; MODULEENTRY32 me32; if (tPid == 0) return 0; snapMod = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, tPid); me32.dwSize = sizeof(MODULEENTRY32); if (Module32First(snapMod, &me32)){ do{ if (strcmp(DllName,me32.szModule) == 0){ CloseHandle(snapMod); return (DWORD) me32.modBaseAddr; } }while(Module32Next(snapMod,&me32)); } CloseHandle(snapMod); return 0; } //Darimus' write function (takes care of base, protection attributes and byte lenght) void __write(DWORD addr, ...) { DWORD GameDLL = GetDLL("Game.dll",GetPID("war3.exe")); HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, false, GetPID("war3.exe")); addr += GameDLL; va_list vl; DWORD arg; DWORD prot; unsigned char byte = 0; va_start(vl, addr); arg = va_arg(vl, DWORD); while (arg < 0x100) { byte = arg; VirtualProtectEx((void*)hProc,(void*)addr, 1, PAGE_EXECUTE_READWRITE, &prot); WriteProcessMemory(hProc, (void*)addr, &byte, 1, 0); VirtualProtectEx((void*)hProc,(void*)addr, 1, prot, &prot); arg = va_arg(vl, DWORD); ++addr; } va_end(vl); }
Posted by bL4cK_m0p on Saturday, July 17, 2010
Posted by bL4cK_m0p on Friday, July 9, 2010
Posted by bL4cK_m0p
Posted by bL4cK_m0p on Tuesday, June 29, 2010
Posted by bL4cK_m0p on Friday, June 18, 2010
Posted by bL4cK_m0p on Saturday, June 5, 2010
Posted by bL4cK_m0p on Friday, June 4, 2010
Posted by bL4cK_m0p on Saturday, May 29, 2010
Posted by bL4cK_m0p
Posted by bL4cK_m0p on Thursday, May 27, 2010
Posted by bL4cK_m0p on Wednesday, May 19, 2010
Posted by bL4cK_m0p on Monday, May 17, 2010
Features:Downloads :
* Reveal units
* Remove fog (full or partitial)
* Manabars
* TP-reveal
* Safe-Click
* Reveal abilitys of enemy units.
* Different hp-bar color for non-own units.
* Show move speed of hero units in tooltip
* Press tab to show player resources box.
* Ingame maphack settings menu (Game menu --> Options --> Maphack)
* Anti-Detection code
How To:
* Extract all files from the zip archive to your Warcraft root directory.
* Close Warcraft if already running
* Run WUtil_Loader.exe and wait until Warcraft 3 launches.
Can I get banned for using this?
Currently not. There is some code to hide the hack from Warden. But as always, I can't guarantee anything so use it on your own risk.
Note:
It is intended to work only with newest official Warcraft client on Battle.net. So no support for Garena or similar.
Posted by bL4cK_m0p on Friday, May 14, 2010
Posted by bL4cK_m0p on Monday, May 10, 2010
Posted by bL4cK_m0p on Sunday, May 9, 2010
Posted by bL4cK_m0p on Saturday, May 8, 2010
Posted by bL4cK_m0p
Posted by bL4cK_m0p on Friday, May 7, 2010
Copyright © 2011 Zenanga Blox All Rights Reserved - Design by aQn
Home | About | Contact | Privacy Policy | Sitemap | RSS Feed