Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <process.h>
- #include <Windows.h>
- __declspec ( noinline ) char *Descriptografa(const char *plaintext)
- {
- int len = strlen(plaintext);
- char *cyphertext = new char[len + 1];
- for (int i = 0; i < len; ++i) {
- cyphertext[i] = plaintext[i] - 45;
- }
- cyphertext[len] = 0;
- return cyphertext;
- }
- #define STR_CLIENTFX_DLL Descriptografa("p™–’›¡s…[“¥‘")
- #define STR_CSHELL_DLL Descriptografa("p€•’™™[‘™™")
- DWORD dwCShell = NULL, dwClientFX = NULL;
- VOID HackThread()
- {
- dwClientFX = (DWORD)GetModuleHandleA(STR_CLIENTFX_DLL);
- dwCShell = (DWORD)GetModuleHandleA(STR_CSHELL_DLL);
- if (dwClientFX == NULL)
- return;
- if (dwCShell)
- {
- }
- }
- __declspec ( noinline ) VOID WINAPIV StartAddress(VOID *)
- {
- while (true)
- {
- __asm
- {
- call HackThread
- }
- Sleep(250);
- }
- }
- BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID ipvReason)
- {
- UNREFERENCED_PARAMETER(ipvReason);
- if (dwReason == 1)
- {
- DisableThreadLibraryCalls(hDll);
- _beginthread(StartAddress, NULL, NULL);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement