Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <Windows.h>
- #include <string.h>
- #include <string>
- int Exodus;
- int ptr;
- using namespace std;
- int main()
- {
- SetConsoleTitle((LPCWSTR)"Exodus");
- system("Color 7A");
- DWORD ptr = (DWORD)GetModuleHandle((LPCWSTR)"Log.dll") + 0x00041B0C + 0x1B0 + 0x1C0 + 0x70;
- HWND windowProgram = FindWindow(NULL, L"ROBLOX");
- GetCurrentProcessId();
- if (GetCurrentProcessId > 0){
- clog << "Roblox Player Beta found!" << endl;
- cout << "Edit Fog\n";
- }
- else{
- }
- loop:
- scanf_s("%d", &Exodus);
- ////////////////////////////////////////
- if (windowProgram == 0){
- cerr << "Roblox Player Client was not found!" << endl;
- }
- /////////////////////////////////////
- else{}
- DWORD processID;
- GetWindowThreadProcessId(windowProgram, &processID);
- HANDLE handleProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, processID);
- int memoryEdit = WriteProcessMemory(handleProcess, (LPVOID)(ptr), &Exodus, (DWORD)sizeof(Exodus), NULL);
- ///////////////////////////////////////////
- if (!handleProcess == 0){
- cerr << "Unable to handle Process: " << handleProcess << endl;
- }
- ////////
- CloseHandle(handleProcess);
- {
- cin.sync(),
- cin.ignore();
- goto loop;
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement