Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <Windows.h>
- #include <string>
- using namespace std;
- int main()
- {
- system("COLOR 0C");
- SetConsoleTitle("Whitelist");
- string username;
- string password;
- int tries = 0;
- cout << "Welcome to (INSERT EXPLOIT NAME)\n";
- User:
- cout << "Username: ";
- cin >> username;
- cout << "\n";
- if (username == "Pixenova" || username == "theguywhohacks")
- {
- cout << "Correct Username\n";
- goto Pass;
- }
- else
- {
- cout << "Incorrent Username\n";
- goto User;
- }
- do {
- Pass:
- cout << "Password: ";
- cin >> password;
- if (password == "v3rmillion")
- {
- cout << "Correct Password\nEntering the Exploit\n";
- goto Exploit;
- }
- else
- {
- cout << "Incorrect Password\n";
- tries = (tries + 1);
- cout << "You have " << (5 - tries) << " tries left\n";
- }
- } while (tries < 5);
- cout << "You have entered the incorrect password too many times";
- Sleep(2000);
- exit(EXIT_FAILURE);
- Exploit:
- Sleep(2000);
- cout << "Welcome to (INSERT EXPLOIT NAME)\n";
- system("PAUSE");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement