NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

// StandardInjection.cpp : Defines the entry point for the console application.
//

#include <iostream>
#include <Windows.h>
#include <iostream>
#include <TlHelp32.h>

template <int XORSTART, int BUFLEN, int XREFKILLER>


class XorStr {
private:
XorStr();
public:
char s[BUFLEN];
XorStr(const char* xs);
~XorStr() {
for (int i = 0; i < BUFLEN; i++) s[i] = 0;
}
};
template <int XORSTART, int BUFLEN, int XREFKILLER>
XorStr<XORSTART, BUFLEN, XREFKILLER>::XorStr(const char* xs) {
int xvalue = XORSTART; int i = 0;
for (; i < (BUFLEN - 1); i++) {
s[i] = xs[i - XREFKILLER] ^ xvalue;
xvalue += 1;
xvalue %= 256;
}
s[BUFLEN - 1] = 0;
}

using namespace std;


typedef INT(__stdcall* dllmain)(HMODULE, DWORD, LPVOID);


struct loaderdata
{
LPVOID ImageBase;

PIMAGE_NT_HEADERS NtHeaders;
PIMAGE_BASE_RELOCATION BaseReloc;
PIMAGE_IMPORT_DESCRIPTOR ImportDirectory;



};

DWORD FindProcessId(string processName)
{
PROCESSENTRY32 processInfo;
processInfo.dwSize = sizeof(processInfo);

HANDLE processSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
if (processSnapshot == INVALID_HANDLE_VALUE)
return 0;

Process32First(processSnapshot, &processInfo);
if (!processName.compare(processInfo.szExeFile))
{
CloseHandle(processSnapshot);
return processInfo.th32ProcessID;
}

while (Process32Next(processSnapshot, &processInfo))
{
if (!processName.compare(processInfo.szExeFile))
{
CloseHandle(processSnapshot);
return processInfo.th32ProcessID;
}
}

CloseHandle(processSnapshot);
return 0;
}
LPCSTR DllPath;
DWORD ProcessId;
int birkez2 = 0;
HANDLE hConsole;
int main()
{
while (true)
{
try
{
ProcessId = FindProcessId(/*FiveM_GTAProcess.exe*/XorStr<0x57,21,0x42EAEBE6>("x11x31x2Fx3Fx16x03x1Ax0Ax1Ex30x13x0Dx00x01x16x15x49x0Dx11x0F"+0x42EAEBE6).s);
static int leeeee = 0;
if (leeeee==0)
{
DllPath = ("C:\exec.dll");
SetConsoleTitle("FiveM Fucker");

hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
int col = 12;
FlushConsoleInputBuffer(hConsole);
SetConsoleTextAttribute(hConsole, col);

std::cout << R"( _____ _ _
/ / ____| | | |
/ _ __ _ __ __ _ _ _| | | |__ ___ __ _| |_ ___
/ / | '__| '__/ _` | | | | | | '_ / _ / _` | __/ __|
/ ____ | | | | | (_| | |_| | |____| | | | __| (_| | |___
/_/ _|_| |_| __,_|__, |_____|_| |_|___|__,_|__|___/
__/ |
|___/
Development: Kusursuz)" << 'n';
leeeee = 2;
}
if (ProcessId != 0)
{

if (birkez2 == 0)
{
Sleep(2000);
SetConsoleTextAttribute(hConsole, 1);
std::cout << /*Your Game Pid =*/XorStr<0xFE, 16, 0xCC6B0BA3>("xA7x90x75x73x22x44x65x68x63x27x58x60x6Ex2Bx31" + 0xCC6B0BA3).s << ProcessId << std::endl;
birkez2 = 3;
}

}
else
{
static int birkez = 0;
if (birkez == 0)
{
Sleep(1000);
SetConsoleTextAttribute(hConsole, 5);
std::cout << /*Waiting for Game...*/XorStr<0xD9, 20, 0x0750E323>("x8ExBBxB2xA8xB4xB0xB8xC0x87x8Dx91xC4xA2x87x8Ax8DxC7xC4xC5" + 0x0750E323).s << std::endl;
birkez = 1;
}

}


if (birkez2 == 3)
{
Sleep(3000);

HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, ProcessId);

// Allocate memory for the dllpath in the target process
// length of the path string + null terminator
LPVOID pDllPath = VirtualAllocEx(hProcess, 0, strlen(DllPath) + 1,
MEM_COMMIT, PAGE_READWRITE);

// Write the path to the address of the memory we just allocated
// in the target process
WriteProcessMemory(hProcess, pDllPath, (LPVOID)DllPath,
strlen(DllPath) + 1, 0);

// Create a Remote Thread in the target process which
// calls LoadLibraryA as our dllpath as an argument -> program loads our dll
HANDLE hLoadThread = CreateRemoteThread(hProcess, 0, 0,
(LPTHREAD_START_ROUTINE)GetProcAddress(GetModuleHandleA("Kernel32.dll"),
"LoadLibraryA"), pDllPath, 0, 0);

// Wait for the execution of our loader thread to finish
WaitForSingleObject(hLoadThread, INFINITE);
SetConsoleTextAttribute(hConsole, 2);
std::cout << /*Fucked Game Successfully!*/XorStr<0x7C, 26, 0x6E9D8535>("x3Ax08x1Dx14xE5xE5xA2xC4xE5xE8xE3xA7xDBxFCxE9xE8xE9xFExFDxE9xE5xFDxFExEAxB5" + 0x6E9D8535).s << std::endl;
Sleep(2000);

Sleep(2000);
SetConsoleTextAttribute(hConsole, 3);
std::cout << /*Press F12 in Game!*/XorStr<0xEE, 19, 0xDC22771B>("xBEx9Dx95x82x81xD3xB2xC4xC4xD7x91x97xDAxBCx9Dx90x9BxDE" + 0xDC22771B).s << std::endl;

Sleep(2000);
SetConsoleTextAttribute(hConsole, 4);
std::cout << /*Closing!*/XorStr<0x08, 9, 0xC0819C8A>("x4Bx65x65x78x65x63x69x2E" + 0xC0819C8A).s << std::endl;

// Free the memory allocated for our dll path
VirtualFreeEx(hProcess, pDllPath, strlen(DllPath) + 1, MEM_RELEASE);
Sleep(2000);
exit(0);
birkez2 = 4;
}
}
catch (const std::exception&)
{

}
Sleep(100);
}
}
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.