- Katılım
- 22 May 2021
- Mesajlar
- 1,475
- Beğeniler
- 333
Bu Gün Sizler ile c++ ile growtopia hile yapıcağız
Nasıl Kullanılır ?
1) Kodu kopyalayın
2) Boş bir c++ projesi yapın
3) Bir .cpp kaynak dosyası ekleyin
4) Kodu yapıştırın
5) İlk 2 satırı kaldırın
6) Proje özelliklerine gidin ve yapılandırma türünü .exe'den .dll'ye değiştirin, çünkü bu lanet bir dahili.
7) Gelişmişe gidin ve Karakter setini 'Unicode Karakter Setini Kullan'dan 'Çok Baytlı Karakter Setini Kullan'a değiştirin
8) Serbest bırakma ve x64'e koyun
9) Bitti.
How to use ?
1) Copy the code
2) Make an empty c++ project
3) Add a .cpp source file
4) Paste the code
5) Remove the first 2 lines
6) Go to project properties and change the config type from .exe to .dll because this is a damn internal.
7) Go to Advanced and change the Character set from 'Use Unicode Character Set' to 'Use Multibyte Character Set'
8) Release and put on x64
9) Done.
Code:
Nasıl Kullanılır ?
1) Kodu kopyalayın
2) Boş bir c++ projesi yapın
3) Bir .cpp kaynak dosyası ekleyin
4) Kodu yapıştırın
5) İlk 2 satırı kaldırın
6) Proje özelliklerine gidin ve yapılandırma türünü .exe'den .dll'ye değiştirin, çünkü bu lanet bir dahili.
7) Gelişmişe gidin ve Karakter setini 'Unicode Karakter Setini Kullan'dan 'Çok Baytlı Karakter Setini Kullan'a değiştirin
8) Serbest bırakma ve x64'e koyun
9) Bitti.
How to use ?
1) Copy the code
2) Make an empty c++ project
3) Add a .cpp source file
4) Paste the code
5) Remove the first 2 lines
6) Go to project properties and change the config type from .exe to .dll because this is a damn internal.
7) Go to Advanced and change the Character set from 'Use Unicode Character Set' to 'Use Multibyte Character Set'
8) Release and put on x64
9) Done.
Code:
- #include "menu.h"
- #include "Engine.h"
- #include <string.h>
- #include <string>
- #include <windows.h>
- #include <iostream>
- #include <fstream>
- #include <d3d9.h>
- #include <time.h>
- #include <cstdlib>
-
- using namespace std;
-
- void saveLog() {
-
- ofstream myfile;
- myfile.open("log.txt");
- myfile << "loaded menu";
- myfile.close();
- }
- void HelloWorld()
- {
- MessageBox(0, "Grabb Internal\nThanks for downloading...\nHirako Shiniji", "Grabb - Beta", MB_ICONINFORMATION);
- }
- void clear() {
- // CSI[2J clears screen, CSI[H moves the cursor to top-left corner
- std::cout << "\x1B[2J\x1B[H";
- }
- void memSpray(long address,BYTE* offsets) {
- //Internal Memory Hack secure asf
- LPVOID entry = (LPVOID)((uintptr_t)GetModuleHandle(NULL) + address);
- HANDLE a = GetCurrentProcess();
- WriteProcessMemory(a, entry, offsets, 2, NULL);
-
- }
- bool mfly = false;
- bool av = false;
-
- FILE *fDummy;
- DWORD WINAPI LoopFunction(LPVOID lpParam)
- {
- while (2) {
- RECT rectx;
- HDC wdc = GetWindowDC(NULL);
- GetClientRect(NULL, &rectx);
- SetTextColor(wdc, RGB(44, 33, 55));
- SetBkMode(wdc, TRANSPARENT);
- rectx.left = 40;
- rectx.top = 10;
- DrawText(wdc, "GRABB INTERNAL (HIRAKO SHINIJI)", -1, &rectx, DT_SINGLELINE | DT_NOCLIP);
- BYTE btLdrLoadDll[] = { 0x90,0x90 };
-
- memSpray(0x1C40A5, btLdrLoadDll);
- BYTE mflyON[] = { 0x90,0x90 };
- BYTE mflyOFF[] = { 0x84,0xC0 };
- BYTE avON[] = { 0x90,0x90 };
- BYTE avOFF[] = { 0x75,0x10 };
- RECT rect = { NULL };
- if (GetWindowRect(GetConsoleWindow(), &rect)) {
-
- }
-
-
- if (GetAsyncKeyState(VK_F1)) {
-
- if (mfly == true) {
-
-
- memSpray(0x2D28F5, mflyON);
- freopen_s(&fDummy, "CONIN$", "r", stdin);
- freopen_s(&fDummy, "CONOUT$", "w", stderr);
- system("cls");
- std::cout << "Mod fly > ON" << std::endl;
-
- mfly = false;
- }
- else if (mfly == false) {
- memSpray(0x2D28F5, mflyOFF);
- system("cls");
- std::cout << "Mod fly > OFF" << std::endl;
-
-
- mfly = true;
- }
- else if (GetAsyncKeyState(VK_F2)) {
-
- if (av == true) {
-
-
- memSpray(0x2D313A, avON);
- freopen_s(&fDummy, "CONIN$", "r", stdin);
- freopen_s(&fDummy, "CONOUT$", "w", stderr);
- system("cls");
- std::cout << "Antibounce > ON" << std::endl;
-
- av = false;
- }
- else if (av == false) {
- memSpray(0x2D313A, avOFF);
- system("cls");
- std::cout << "Antibounce > OFF" << std::endl;
-
-
- av = true;
- }
-
-
- }
- }
- }
- //some CPU relief
- Sleep(200);
- return 0;
- }
- void CreateConsole()
- {
- if (!AllocConsole()) {
- // Add some error handling here.
- // You can call GetLastError() to get more info about the error.
- return;
- }
-
- // std::cout, std::clog, std::cerr, std::cin
- FILE* fDummy;
- freopen_s(&fDummy, "CONOUT$", "w", stdout);
- freopen_s(&fDummy, "CONOUT$", "w", stderr);
- freopen_s(&fDummy, "CONIN$", "r", stdin);
- std::cout.clear();
- std::clog.clear();
- std::cerr.clear();
- std::cin.clear();
-
- // std::wcout, std::wclog, std::wcerr, std::wcin
- HANDLE hConOut = CreateFile(("CONOUT$"), GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
- HANDLE hConIn = CreateFile(("CONIN$"), GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
- SetStdHandle(STD_OUTPUT_HANDLE, hConOut);
- SetStdHandle(STD_ERROR_HANDLE, hConOut);
- SetStdHandle(STD_INPUT_HANDLE, hConIn);
- std::wcout.clear();
- std::wclog.clear();
- std::wcerr.clear();
- std::wcin.clear();
-
-
-
- }
- void Check(long address ,BYTE*scan) {
- LPVOID entry = (LPVOID)((uintptr_t)GetModuleHandle(NULL) + address);
- HANDLE a = GetCurrentProcess();
- BYTE byte[2];
- ReadProcessMemory(a, entry, byte, sizeof(byte), NULL);
-
- if ((char)scan != (char)byte) {
- std::cout << "Hacks Not Patched!"<< std::endl;
-
- }
- else {
- std::cout << "Hacks Patched!" << std::endl;
-
- }
-
- }
- #define MST (-7)
- #define UTC (0)
-
- #define CCT (+8)
- BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwAttached, LPVOID lpvReserved)
- {
- time_t rawtime;
- struct tm * ptm;
-
- time(&rawtime);
-
-
- if (dwAttached == DLL_PROCESS_ATTACH) {
- CreateThread(NULL, 0, &LoopFunction, NULL, 0, NULL);
-
- saveLog();
- HelloWorld();
-
-
- system("COLOR 11");
- system("Title Grabb Internal - Version 0.28.11b");
- std::cout << "Internal Menu for skids by (Hirako Shiniji)" << std::endl;
- printf("Hack Inject Time : %2d:%02d\n", rawtime);
- std::cout << "------------------------" << std::endl;
- std::cout << "F1 >> Mod Fly" << std::endl;
- std::cout << "F2 >> Antibounce" << std::endl;
- std::cout << "------------------------" << std::endl;
- BYTE mflyOFF[] = { 0x84,0xC0 };
- Check(0x2D28F5, mflyOFF);
-
-
- }
- return 1;
- }