Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2016
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. #include <iostream>
  2. #include <Windows.h>
  3. #include <string>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. system("COLOR 0C");
  10. SetConsoleTitle("Whitelist");
  11.  
  12. string username;
  13. string password;
  14. int tries = 0;
  15.  
  16. cout << "Welcome to (INSERT EXPLOIT NAME)\n";
  17. User:
  18. cout << "Username: ";
  19. cin >> username;
  20. cout << "\n";
  21. if (username == "Pixenova" || username == "theguywhohacks")
  22. {
  23. cout << "Correct Username\n";
  24. goto Pass;
  25. }
  26. else
  27. {
  28. cout << "Incorrent Username\n";
  29. goto User;
  30. }
  31. do {
  32. Pass:
  33. cout << "Password: ";
  34. cin >> password;
  35. if (password == "v3rmillion")
  36. {
  37. cout << "Correct Password\nEntering the Exploit\n";
  38. goto Exploit;
  39. }
  40. else
  41. {
  42. cout << "Incorrect Password\n";
  43. tries = (tries + 1);
  44. cout << "You have " << (5 - tries) << " tries left\n";
  45. }
  46. } while (tries < 5);
  47. cout << "You have entered the incorrect password too many times";
  48. Sleep(2000);
  49. exit(EXIT_FAILURE);
  50. Exploit:
  51. Sleep(2000);
  52. cout << "Welcome to (INSERT EXPLOIT NAME)\n";
  53. system("PAUSE");
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement