Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- #include <stdio.h>
- #include <string>
- #include <vector>
- #include <cstdlib>
- // Made by Chitoge Kirisaki - Contact me on v3rmillion if you need help ^.^ Credit to [FaZe] Undyne for the source code of the console window ;D
- void Init();
- using namespace std;
- BOOL WINAPI AllocConsole(void);
- void Init() {
- AllocConsole(); // Display a console.
- freopen("conin$", "r", stdin); // Allows input (commands, for example)
- freopen("conout$", "w", stdout); // Displays output (like printing "Hello World")
- freopen("conout$", "w", stderr); // Error handling.
- // Insert code here, do stuff, breakdance, etc...
- SetConsoleTitle(L"Mysterious Exploit v1.0");
- cout << "Mysterious Exploit v1.0 ; Made by Mysterious" << endl;
- printf("Authorizing. . .\n")
- ;string a;
- printf("Enter Username.\n")
- ;putchar('>');
- cin >> a;
- if (a == "username"){ // Replace V3rm with the username you'd like.
- printf("Enter Password.\n");
- }
- else{
- ; printf("Wrong Username.\n")
- ; printf("Shutting Down...\n");
- exit(0);
- }
- ; string b;
- ; putchar('>');
- cin >> b;
- if (b == "password") // Replace v3rm123 with the password you'd like.
- printf("Authorized. Enjoy :D\n");
- Sleep(1000);
- cout << "Welcome" << a << "\n";
- // Currently making a ID whitelist which should be pretty simple, I just haven't had the time to update the source code...
- do
- {
- cout << ">";
- string i;
- getline(cin, i);
- if (i == "cmds")
- {
- cout << "jp - Jump Power Increase.\n"
- cout << "ws - Walk Speed Increase.\n"
- cout << "mh - Max Health\n"
- }
- if (i == "jp")
- {
- int test1 = 1751607620
- ; WriteProcessMemory(GetCurrentProcess(), (void *)0x00438CE1, &test1, sizeof(test1), NULL);
- }
- if (i == "ws")
- {
- int test2 = 1952867652
- ; WriteProcessMemory(GetCurrentProcess(), (void *)0x004390A1, &test2, sizeof(test2), NULL);
- }
- if (i == "maxhealth")
- {
- int test3 = 1936879428
- ; WriteProcessMemory(GetCurrentProcess(), (void *)0x00438EC, &test3, sizeof(test3), NULL);
- }
- if (i == "ID")
- {
- int ID;
- ReadProcessMemory(GetCurrentProcess(), (LPVOID)0x016537A8, &ID, sizeof(ID), NULL);
- cout << ID << endl;
- if (ID == 1){
- cout << "I don't really know what to put here...";
- }
- else{
- cout << "...";
- }
- }
- } while (true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement