Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum InjectionType : int
- {
- ManualMap,
- loadLibrary
- };
- enum serial : int
- {
- user1,
- user2
- };
- serial users;
- InjectionType metodo;
- string proccesso;
- string nomedll;
- int main(int argc, char **argv)
- {
- printf("\n\type your login:\n"); <----
- string InjectionMethodTemp;
- getline(cin, InjectionMethodTemp);
- if (InjectionMethodTemp.empty()) metodo = ManualMap;
- else metodo = loadLibrary;
- printf("Press ENTER for (csgo.exe) or type the name of process\n");
- getline(cin, proccesso);
- if (proccesso.empty()) proccesso = "csgo.exe";
- if (argc == 1)
- {
- printf("Press ENTER for (illusion.dll) or type the name of dll\n");
- getline(cin, nomedll);
- }
- else if (argc == 2) nomedll = argv[1];
- if (nomedll.empty()) nomedll = "illusion.dll";
- switch (metodo)
- {
- case ManualMap:
- manual_map->manualmapmain(proccesso.c_str(), nomedll.c_str(), argc);
- break;
- case loadLibrary:
- load_library->loadlibrarymain(proccesso.c_str(), nomedll.c_str(), argc);
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement