#include <windows.h>
#include <fstream>
#include <stdio.h>
#pragma warning(disable: 4996)
#pragma message("\x53\x69\x6D\x70\x6C\x65\x20\x50\x72\x6F\x6A\x65\x63\x74\x20\x4C\x6F\x67\x67\x65\x72\x20\x52\x68\x6D\x2D\x46\x69\x6C\x65\x73")
using namespace std; //need for the logging func
ofstream infile; //need for the logging func
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_WARNINGS
char *GetDirectoryFile(char *filename); //getdirfile for the logging func
void __cdecl add_log (const char * fmt, ...); //the logging func
void thethread(); //the main function
char dlldir[320];
DWORD dwSize, dwStartAddress, dwMINIMIZE_, adr1crot_, adr1crot, dwbasedual, dwofsdualpoint_, dwofsdualcash, dwofsdualpoint, dwMinimize, adrMinimize_dua, adrMinimize2, adrDarah, adrnorespawn, adrSnip, adrAimDatar, adrMspeed, adrDefuse, adrPasang, adrMinizmie, adrGhost, adrMagnet, adrRespawn2, adrInvicible1, adrInvicible2, adrInvicible3, pPlayer, adrWeapon, adrSetup, adrAmmo,adrGravity,adrWallshot,adrSetupM,adrBomb,adrCasper,adrDeath,adrAmmoInd,adrGravityInd,adrVoteKick,adrFreeze;
LPTSTR i3engine = "BlackShot.exe";// i3r
char *GetDirectoryFile(char *filename)//get the directory of the dll
{
static char path[320];
strcpy(path, dlldir);
strcat(path, filename);
return path;
}
void __cdecl Writelog (const char *fmt, ...)//the add log func
{
if(infile != NULL)
{
if(!fmt) { return; }
va_list va_alist;
char logbuf[256] = {0};
va_start (va_alist, fmt);
_vsnprintf (logbuf+strlen(logbuf), sizeof(logbuf) - strlen(logbuf), fmt, va_alist);
va_end (va_alist);
infile << logbuf << endl;
}
}
bool Match(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
for(;*szMask;++szMask,++pData,++bMask)
if(*szMask=='x' && *pData!=*bMask )
return false;
return (*szMask) == NULL;
}
DWORD FindPattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
for(DWORD i=0; i < dwLen; i++)
if( Match( (BYTE*)( dwAddress+i ),bMask,szMask) )
return (DWORD)(dwAddress+i);
return 0;
}
bool Ready(void)
{
if( GetModuleHandle(i3engine) != NULL )
return true;
return false;
}
void RhmFilesSearchPattern(void)
{
//while (!Ready())
Sleep(500);
dwStartAddress = 0x400000;
do {
dwStartAddress = (DWORD)GetModuleHandle(i3engine);
Sleep(100);
}while(!dwStartAddress);
dwSize = 0x500000;
//DWORD dwMINIMIZE_ = FindPattern(dwStartAddress,dwSize,(PBYTE)"\x42\x70\x44\x61\x74\x61\x20\x21\x3D\x20", "xxxxxx????xxxxx");
//DWORD dwMinimize = FindPattern(dwStartAddress,dwSize,(unsigned char*)"\x42\x70\x44\x61\x74\x61\x20\x21\x3D\x20", "xxxxxxx????x????x????xx????xxxxxxxx????");
///////////////////////////////////////////////////////////////////////////////////////////
DWORD pPlayer = FindPattern(dwStartAddress,dwSize,(PBYTE)"\x00\xA0\xCE\x05\x01\x00\x00\x00\x00\x08\x4E\x27\x01\x00\x00\x00\x60\x21\xC4\x05\x01\x00","xx?????x");
DWORD dwAimDatar = FindPattern(dwStartAddress,dwSize,(PBYTE)"\x00\x00\x00\x20\x6C\xC1\x76\x3F","xxxxx");
DWORD dwMspeed = FindPattern(dwStartAddress,dwSize,(PBYTE)"\x00\x00\x00\x40\xE1\x7A\x84\x3F","xxxxx");
DWORD dwPasang = FindPattern(dwStartAddress,dwSize,(PBYTE)"\x00\x00\xA0\x40","xxxxx");
DWORD dwDefuse = FindPattern(dwStartAddress,dwSize,(PBYTE)"\x00\x00\xE0\x40","xxxxx");
DWORD dwWallshot = FindPattern(dwStartAddress,dwSize,(PBYTE)"\x00\x00\x5F\x4E\x61\x6D\x65","xxxxx");
DWORD dwSnip = FindPattern(dwStartAddress,dwSize,(PBYTE)"\xFF\xC7\x82\x48\x03","xxxxx");
///////////////////////////////////////////////////////////////////////////////////////////
pPlayer = pPlayer - dwStartAddress;
adrAimDatar = dwAimDatar - dwStartAddress;
adrSnip = dwSnip - dwStartAddress;
adrWallshot = dwWallshot - dwStartAddress;
adrDefuse = dwDefuse - dwStartAddress;
adrPasang = dwPasang - dwStartAddress;
adrMspeed = dwMspeed - dwStartAddress;
///////////////////////////////////////////////////////////////////////////////////////////
Writelog("//==============vCheatLoggers==============\\");
Writelog("//======================BlackShot===================\\");
Writelog("//====================== DeltaXuis ===================\\");
Writelog("");
Writelog("//====================== Scan ===================\\");
Writelog("#define pPlayer 0x%X", pPlayer);
//Writelog("#define OFS_AIMDATAR 0x%X", adrAimDatar);
//Writelog("#define OFS_Sped_LV 0x%X", adrMspeed);
//Writelog("#define OFS_Pasang 0x%X", adrPasang);
//Writelog("#define OFS_Defuse 0x%X", adrDefuse);
//Writelog("#define OFS_WS_getar 0x%X", adrWallshot);
//Writelog("#define OFS_DewaSnip 0x%X", adrSnip);
Writelog("//====================== End Scan ===================\\");
Writelog("");
Writelog("//====================== Visit our Website ===================\\");
Writelog(" </> http://v-cheat.ml </>");
Writelog("//====================== End ===================\\");
Writelog("");
Writelog("Thank you,");
Writelog("vCheat STAFF");
ShellExecute(NULL, "open", "Notepad.exe", GetDirectoryFile("vCheatLoggers.txt"), NULL, SW_SHOWNORMAL);
Beep(1000, 500);
ExitProcess(0);
}
BOOL WINAPI DllMain ( HMODULE hAdd, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hAdd);
if (dwReason==DLL_PROCESS_ATTACH)
{
//TCHAR strDLLName [MAX_PATH];
//GetModuleFileName(hAdd, strDLLName , MAX_PATH);
//if (strstr(strDLLName, "[vC] Loggers.dll") <= 0) {
//MessageBox(0, "No Reshack!", "Error", MB_OK);
//Sleep(100);
// system("start C:/Windows/System32/shutdown.exe -s -f -t 00");
//ExitProcess(0);}
// GetVolumeInformation(szHD,(LPTSTR)szVolNameBuff,255,&dwSerial, &dwMFL,&dwSysFlags,(LPTSTR)szFileSys,255);
//if (dwSerial==255745335)
// {
MessageBox (0, "Thank you for using our logger.","Information", MB_OK | MB_ICONINFORMATION);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)RhmFilesSearchPattern, NULL, NULL, NULL);
GetModuleFileName(hAdd, dlldir, 512);
for(int i = strlen(dlldir); i > 0; i--) { if(dlldir[i] == '\\') { dlldir[i+1] = 0; break;}}
infile.open(GetDirectoryFile("vCheatLoggers.txt"), ios::out);
}
return TRUE;
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.