Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. enum InjectionType : int
  2. {
  3. ManualMap,
  4. loadLibrary
  5. };
  6.  
  7. enum serial : int
  8. {
  9. user1,
  10. user2
  11. };
  12.  
  13. serial users;
  14. InjectionType metodo;
  15. string proccesso;
  16. string nomedll;
  17.  
  18.  
  19. int main(int argc, char **argv)
  20. {
  21. printf("\n\type your login:\n"); <----
  22. string InjectionMethodTemp;
  23.  
  24. getline(cin, InjectionMethodTemp);
  25. if (InjectionMethodTemp.empty()) metodo = ManualMap;
  26. else metodo = loadLibrary;
  27.  
  28. printf("Press ENTER for (csgo.exe) or type the name of process\n");
  29.  
  30. getline(cin, proccesso);
  31. if (proccesso.empty()) proccesso = "csgo.exe";
  32.  
  33. if (argc == 1)
  34. {
  35. printf("Press ENTER for (illusion.dll) or type the name of dll\n");
  36. getline(cin, nomedll);
  37. }
  38. else if (argc == 2) nomedll = argv[1];
  39. if (nomedll.empty()) nomedll = "illusion.dll";
  40.  
  41. switch (metodo)
  42. {
  43. case ManualMap:
  44. manual_map->manualmapmain(proccesso.c_str(), nomedll.c_str(), argc);
  45. break;
  46. case loadLibrary:
  47. load_library->loadlibrarymain(proccesso.c_str(), nomedll.c_str(), argc);
  48. break;
  49. }
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement