Исходник Infinite Source

Забаненный
Статус
Оффлайн
Регистрация
4 Фев 2019
Сообщения
4
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
new dll main
Код:
//#include "protect/protect.hpp"
#include "C_Check.h"
#include "DLL_MAIN.h"
#include "Hooks.h"
#include "netvar_manager.h"
#include "License.h"
#include "render.h"
#include <thread>
#include <chrono>
#include "scripting/java func/js_functions.hpp"
#pragma comment( lib, "Winhttp.lib" )
#pragma comment( lib, "ws2_32.lib" )
#include "Hwid.h"
#include "Security.h"
typedef void(*CallRun_t)(UINT_PTR a, UINT_PTR b, UINT_PTR c);
CallRun_t CallRun;

CNetVarManager netvars;

void InitializeNetvars() {
    netvars.Initialize();
}

HANDLE _out = NULL, _old_out = NULL;
HANDLE _err = NULL, _old_err = NULL;
HANDLE _in = NULL, _old_in = NULL;


void Show() {
    _old_out = GetStdHandle(STD_OUTPUT_HANDLE);
    _old_err = GetStdHandle(STD_ERROR_HANDLE);
    _old_in = GetStdHandle(STD_INPUT_HANDLE);
    ::AllocConsole() && ::AttachConsole(GetCurrentProcessId());
    _out = GetStdHandle(STD_OUTPUT_HANDLE);
    _err = GetStdHandle(STD_ERROR_HANDLE);
    _in = GetStdHandle(STD_INPUT_HANDLE);
    SetConsoleMode(_out,
        ENABLE_PROCESSED_OUTPUT | ENABLE_WRAP_AT_EOL_OUTPUT);
    SetConsoleMode(_in,
        ENABLE_INSERT_MODE | ENABLE_EXTENDED_FLAGS |
        ENABLE_PROCESSED_INPUT | ENABLE_QUICK_EDIT_MODE);
}
void Hide() {
    if (_out && _err && _in) {
        FreeConsole();
        if (_old_out)
            SetStdHandle(STD_OUTPUT_HANDLE, _old_out);
        if (_old_err)
            SetStdHandle(STD_ERROR_HANDLE, _old_err);
        if (_old_in)
            SetStdHandle(STD_INPUT_HANDLE, _old_in);
    }
}
bool Write(const char* fmt, ...) {
    if (!_out)
        return false;
    char buf[1024];
    va_list va;
    va_start(va, fmt);
    _vsnprintf_s(buf, 1024, fmt, va);
    va_end(va);
    return !!WriteConsoleA(_out, buf, static_cast<DWORD>(strlen(buf)), nullptr, nullptr);
}

class CLoader {
public:
    CLoader() { this->m_bInitialized = false; }
    bool m_bInitialized;
    std::string szUserName;
    std::string szDaysLeft;
    int m_iDaysLeft;
    DWORD m_iProcessID;
};

typedef CLoader* (__cdecl* CLoaderGetHandle)();

bool WriteLine(std::string text) {
    time_t systime = time(0);
    tm* ctime = localtime(&systime);
    string c = ctime->tm_sec > 9 ? to_string(ctime->tm_sec) : "0" + to_string(ctime->tm_sec);
    string m = ctime->tm_min > 9 ? to_string(ctime->tm_min) : "0" + to_string(ctime->tm_min);
    string h = ctime->tm_hour > 9 ? to_string(ctime->tm_hour) : "0" + to_string(ctime->tm_hour);
    string stime = h + ":" + m + ":" + c;
    return Write(("[ Infinite | " + stime + " ]: " + text + "\n").c_str());
}
#define Debug false
#define NOAUTH true
#define _SHOWLOG

DWORD FindProcessId(const std::string& processName)
{
    PROCESSENTRY32 processInfo;
    processInfo.dwSize = sizeof(processInfo);

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

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

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

    CloseHandle(processesSnapshot);
    return 0;
}

unsigned long __stdcall CheatMain(void* base)
{

#ifdef _SHOWLOG
    WriteLine("Getting Module Handles");
#endif
    while (!(csgo->Init.Window = FindWindowA(hs::Valve001::s().c_str(), NULL)))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::serverbrowser_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::client_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::engine_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    //
#ifdef _SHOWLOG
    WriteLine("Initializing Interfaces");
#endif
    I::Setup();
#ifdef _SHOWLOG
    WriteLine("Initializing Netvars");
#endif
    InitializeNetvars();
#ifdef _SHOWLOG
    WriteLine("Initializing Hooks");
#endif
    H::Hook();

#ifdef _SHOWLOG
    

    WriteLine("Loaded Infinite Debug");
    while (true) {
        csgo->ConnectedToInternet = HWID::ConnectedToInternet();
        this_thread::sleep_for(17s);
    }

#else

    if (Debug) {
        while (true) {
            csgo->ConnectedToInternet = HWID::ConnectedToInternet();
            this_thread::sleep_for(15s);
        }
        /*
        while (true) {
            this_thread::sleep_for(1s);

        }
        */

    }
    else
    {
    
        while (true) {
            csgo->ConnectedToInternet = HWID::ConnectedToInternet();
            this_thread::sleep_for(17s);
        }

        Show();
        this_thread::sleep_for(200ms);
        auto sysc = std::chrono::system_clock::now();


        time_t systime = time(0);
        tm* ctime = localtime(&systime);
        string c = ctime->tm_sec > 9 ? to_string(ctime->tm_sec) : "0" + to_string(ctime->tm_sec);
        string m = ctime->tm_min > 9 ? to_string(ctime->tm_min) : "0" + to_string(ctime->tm_min);
        string h = ctime->tm_hour > 9 ? to_string(ctime->tm_hour) : "0" + to_string(ctime->tm_hour);
        string stime = h + ":" + m + ":" + c;
        WriteLine(("[" + stime + "] - Detected Reverse Engineering").c_str());
        this_thread::sleep_for(4s);

        H::UnHook();
        
        SetWindowLongPtr(csgo->Init.Window, GWL_WNDPROC, (LONG_PTR)csgo->Init.OldWindow);
        FreeLibraryAndExitThread(csgo->Init.Dll, 0);
    }
#endif
    /*
    if (csgo->DoUnload)
        H::UnHook();

    interfaces.engine->ClientCmd_Unrestricted(hs::clear::s().c_str(), 0);
    interfaces.engine->ClientCmd_Unrestricted(hs::unload_message::s().c_str(), 0);
    SetWindowLongPtr(csgo->Init.Window, GWL_WNDPROC, (LONG_PTR)csgo->Init.OldWindow);
    //FreeLibraryAndExitThread(csgo->Init.Dll, 0);
    */
    return 0;
}

bool __stdcall DllMain(void* base, uint32_t reason_to_call, void* reserved) {
    if (reason_to_call == DLL_PROCESS_ATTACH)
        CreateThread(nullptr, 0, static_cast<LPTHREAD_START_ROUTINE>(CheatMain), reserved, 0, nullptr);
    return TRUE;
}
 
Ушастый
Забаненный
Статус
Оффлайн
Регистрация
23 Ноя 2021
Сообщения
371
Реакции[?]
56
Поинты[?]
10K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
you source 1644135614935.png
eгo source1644135619306.png
 
Забаненный
Статус
Оффлайн
Регистрация
7 Авг 2021
Сообщения
38
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Посмотреть вложение 190962


lol


Код:
unsigned long __stdcall CheatMain(void* base)
{
#ifdef _SHOWLOG
    Show();
    WriteLine("Loading Infinite.tech Debug");
#endif
    //static bool Debug = true;
    static bool IPS = false;
    if (!NOAUTH) {
        while (!IPS) {
            IPS = C_Check::main();
            this_thread::sleep_for(2s);
        }
    }
#ifdef _SHOWLOG
    if(NOAUTH)
        WriteLine("Authentication Disabled");
    else
    WriteLine("Successfully Connected with Loader and Driver");
#endif
    if (!NOAUTH) {
        HWID::AuthenticateInjection();
    }
#ifdef _SHOWLOG
    if (!NOAUTH)
    WriteLine("Successfully Authenticated Injection");

#endif

#ifdef _SHOWLOG
    WriteLine("Localizing with Loader");
#endif

    HMODULE InfiniteLoader;
    while (!GetModuleHandleA("Infinite.Loader.dll")) {
        this_thread::sleep_for(200ms);
    }
#ifdef _SHOWLOG
    WriteLine("Localizing with Loader");
#endif
    InfiniteLoader = GetModuleHandleA("Infinite.Loader.dll");



#ifdef _SHOWLOG
    WriteLine("Found Loader Handle");

    WriteLine("Importing Loader");

#endif
    auto LoaderGetHandle = (CLoaderGetHandle)GetProcAddress(InfiniteLoader, "GetLoaderHandle");

    if (!LoaderGetHandle) {
#ifdef _SHOWLOG
        WriteLine("Failed to Import Loader");
#endif
        while (true) {
            this_thread::sleep_for(200ms);
        }
    }

    auto Loader = LoaderGetHandle();

    while (!Loader->m_bInitialized) {
        this_thread::sleep_for(200ms);
    }
#ifdef _SHOWLOG
    WriteLine("Imported Loader");
    WriteLine("Localized with Loader");
#endif

    if (Loader->m_iProcessID != FindProcessId("csgo.exe")) {
#ifdef _SHOWLOG
        WriteLine("CS:GO Handle Invalid");
#endif
        while (true) {
            this_thread::sleep_for(200ms);
        }
    }
#ifdef _SHOWLOG
    WriteLine("Getting Module Handles");
#endif
    while (!(csgo->Init.Window = FindWindowA(hs::Valve001::s().c_str(), NULL)))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::serverbrowser_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::client_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::engine_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    //
#ifdef _SHOWLOG
    WriteLine("Initializing Interfaces");
#endif
    I::Setup();
#ifdef _SHOWLOG
    WriteLine("Initializing Netvars");
#endif
    InitializeNetvars();
#ifdef _SHOWLOG
    WriteLine("Initializing Hooks");
#endif
    H::Hook();

#ifdef _SHOWLOG
   

    WriteLine("Loaded Infinite Debug");
    while (true) {
        csgo->ConnectedToInternet = HWID::ConnectedToInternet();
        this_thread::sleep_for(17s);
    }

#else

    if (Debug) {
        while (true) {
            csgo->ConnectedToInternet = HWID::ConnectedToInternet();
            this_thread::sleep_for(15s);
        }
        /*
        while (true) {
            this_thread::sleep_for(1s);

        }
        */

    }
    else
    {
   
        while (true) {
            csgo->ConnectedToInternet = HWID::ConnectedToInternet();
            this_thread::sleep_for(17s);
        }

        Show();
        this_thread::sleep_for(200ms);
        auto sysc = std::chrono::system_clock::now();


        time_t systime = time(0);
        tm* ctime = localtime(&systime);
        string c = ctime->tm_sec > 9 ? to_string(ctime->tm_sec) : "0" + to_string(ctime->tm_sec);
        string m = ctime->tm_min > 9 ? to_string(ctime->tm_min) : "0" + to_string(ctime->tm_min);
        string h = ctime->tm_hour > 9 ? to_string(ctime->tm_hour) : "0" + to_string(ctime->tm_hour);
        string stime = h + ":" + m + ":" + c;
        WriteLine(("[" + stime + "] - Detected Reverse Engineering").c_str());
        this_thread::sleep_for(4s);

        H::UnHook();
       
        SetWindowLongPtr(csgo->Init.Window, GWL_WNDPROC, (LONG_PTR)csgo->Init.OldWindow);
        FreeLibraryAndExitThread(csgo->Init.Dll, 0);
    }
#endif
    /*
    if (csgo->DoUnload)
        H::UnHook();

    interfaces.engine->ClientCmd_Unrestricted(hs::clear::s().c_str(), 0);
    interfaces.engine->ClientCmd_Unrestricted(hs::unload_message::s().c_str(), 0);
    SetWindowLongPtr(csgo->Init.Window, GWL_WNDPROC, (LONG_PTR)csgo->Init.OldWindow);
    //FreeLibraryAndExitThread(csgo->Init.Dll, 0);
    */
    return 0;
}
какие параметры сборки?
 
Забаненный
Статус
Оффлайн
Регистрация
7 Авг 2021
Сообщения
38
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
ЧВК EB_LAN
Забаненный
Статус
Оффлайн
Регистрация
12 Янв 2019
Сообщения
838
Реакции[?]
298
Поинты[?]
17K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Начинающий
Статус
Оффлайн
Регистрация
9 Авг 2021
Сообщения
75
Реакции[?]
14
Поинты[?]
7K
Начинающий
Статус
Оффлайн
Регистрация
3 Окт 2021
Сообщения
149
Реакции[?]
10
Поинты[?]
0
new dll main
Код:
//#include "protect/protect.hpp"
#include "C_Check.h"
#include "DLL_MAIN.h"
#include "Hooks.h"
#include "netvar_manager.h"
#include "License.h"
#include "render.h"
#include <thread>
#include <chrono>
#include "scripting/java func/js_functions.hpp"
#pragma comment( lib, "Winhttp.lib" )
#pragma comment( lib, "ws2_32.lib" )
#include "Hwid.h"
#include "Security.h"
typedef void(*CallRun_t)(UINT_PTR a, UINT_PTR b, UINT_PTR c);
CallRun_t CallRun;

CNetVarManager netvars;

void InitializeNetvars() {
    netvars.Initialize();
}

HANDLE _out = NULL, _old_out = NULL;
HANDLE _err = NULL, _old_err = NULL;
HANDLE _in = NULL, _old_in = NULL;


void Show() {
    _old_out = GetStdHandle(STD_OUTPUT_HANDLE);
    _old_err = GetStdHandle(STD_ERROR_HANDLE);
    _old_in = GetStdHandle(STD_INPUT_HANDLE);
    ::AllocConsole() && ::AttachConsole(GetCurrentProcessId());
    _out = GetStdHandle(STD_OUTPUT_HANDLE);
    _err = GetStdHandle(STD_ERROR_HANDLE);
    _in = GetStdHandle(STD_INPUT_HANDLE);
    SetConsoleMode(_out,
        ENABLE_PROCESSED_OUTPUT | ENABLE_WRAP_AT_EOL_OUTPUT);
    SetConsoleMode(_in,
        ENABLE_INSERT_MODE | ENABLE_EXTENDED_FLAGS |
        ENABLE_PROCESSED_INPUT | ENABLE_QUICK_EDIT_MODE);
}
void Hide() {
    if (_out && _err && _in) {
        FreeConsole();
        if (_old_out)
            SetStdHandle(STD_OUTPUT_HANDLE, _old_out);
        if (_old_err)
            SetStdHandle(STD_ERROR_HANDLE, _old_err);
        if (_old_in)
            SetStdHandle(STD_INPUT_HANDLE, _old_in);
    }
}
bool Write(const char* fmt, ...) {
    if (!_out)
        return false;
    char buf[1024];
    va_list va;
    va_start(va, fmt);
    _vsnprintf_s(buf, 1024, fmt, va);
    va_end(va);
    return !!WriteConsoleA(_out, buf, static_cast<DWORD>(strlen(buf)), nullptr, nullptr);
}

class CLoader {
public:
    CLoader() { this->m_bInitialized = false; }
    bool m_bInitialized;
    std::string szUserName;
    std::string szDaysLeft;
    int m_iDaysLeft;
    DWORD m_iProcessID;
};

typedef CLoader* (__cdecl* CLoaderGetHandle)();

bool WriteLine(std::string text) {
    time_t systime = time(0);
    tm* ctime = localtime(&systime);
    string c = ctime->tm_sec > 9 ? to_string(ctime->tm_sec) : "0" + to_string(ctime->tm_sec);
    string m = ctime->tm_min > 9 ? to_string(ctime->tm_min) : "0" + to_string(ctime->tm_min);
    string h = ctime->tm_hour > 9 ? to_string(ctime->tm_hour) : "0" + to_string(ctime->tm_hour);
    string stime = h + ":" + m + ":" + c;
    return Write(("[ Infinite | " + stime + " ]: " + text + "\n").c_str());
}
#define Debug false
#define NOAUTH true
#define _SHOWLOG

DWORD FindProcessId(const std::string& processName)
{
    PROCESSENTRY32 processInfo;
    processInfo.dwSize = sizeof(processInfo);

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

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

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

    CloseHandle(processesSnapshot);
    return 0;
}

unsigned long __stdcall CheatMain(void* base)
{

#ifdef _SHOWLOG
    WriteLine("Getting Module Handles");
#endif
    while (!(csgo->Init.Window = FindWindowA(hs::Valve001::s().c_str(), NULL)))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::serverbrowser_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::client_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    while (!GetModuleHandleA(hs::engine_dll::s().c_str()))
        this_thread::sleep_for(200ms);
    //
#ifdef _SHOWLOG
    WriteLine("Initializing Interfaces");
#endif
    I::Setup();
#ifdef _SHOWLOG
    WriteLine("Initializing Netvars");
#endif
    InitializeNetvars();
#ifdef _SHOWLOG
    WriteLine("Initializing Hooks");
#endif
    H::Hook();

#ifdef _SHOWLOG
   

    WriteLine("Loaded Infinite Debug");
    while (true) {
        csgo->ConnectedToInternet = HWID::ConnectedToInternet();
        this_thread::sleep_for(17s);
    }

#else

    if (Debug) {
        while (true) {
            csgo->ConnectedToInternet = HWID::ConnectedToInternet();
            this_thread::sleep_for(15s);
        }
        /*
        while (true) {
            this_thread::sleep_for(1s);

        }
        */

    }
    else
    {
   
        while (true) {
            csgo->ConnectedToInternet = HWID::ConnectedToInternet();
            this_thread::sleep_for(17s);
        }

        Show();
        this_thread::sleep_for(200ms);
        auto sysc = std::chrono::system_clock::now();


        time_t systime = time(0);
        tm* ctime = localtime(&systime);
        string c = ctime->tm_sec > 9 ? to_string(ctime->tm_sec) : "0" + to_string(ctime->tm_sec);
        string m = ctime->tm_min > 9 ? to_string(ctime->tm_min) : "0" + to_string(ctime->tm_min);
        string h = ctime->tm_hour > 9 ? to_string(ctime->tm_hour) : "0" + to_string(ctime->tm_hour);
        string stime = h + ":" + m + ":" + c;
        WriteLine(("[" + stime + "] - Detected Reverse Engineering").c_str());
        this_thread::sleep_for(4s);

        H::UnHook();
       
        SetWindowLongPtr(csgo->Init.Window, GWL_WNDPROC, (LONG_PTR)csgo->Init.OldWindow);
        FreeLibraryAndExitThread(csgo->Init.Dll, 0);
    }
#endif
    /*
    if (csgo->DoUnload)
        H::UnHook();

    interfaces.engine->ClientCmd_Unrestricted(hs::clear::s().c_str(), 0);
    interfaces.engine->ClientCmd_Unrestricted(hs::unload_message::s().c_str(), 0);
    SetWindowLongPtr(csgo->Init.Window, GWL_WNDPROC, (LONG_PTR)csgo->Init.OldWindow);
    //FreeLibraryAndExitThread(csgo->Init.Dll, 0);
    */
    return 0;
}

bool __stdcall DllMain(void* base, uint32_t reason_to_call, void* reserved) {
    if (reason_to_call == DLL_PROCESS_ATTACH)
        CreateThread(nullptr, 0, static_cast<LPTHREAD_START_ROUTINE>(CheatMain), reserved, 0, nullptr);
    return TRUE;
}
crash
 
Начинающий
Статус
Оффлайн
Регистрация
25 Июн 2019
Сообщения
32
Реакции[?]
1
Поинты[?]
0
ok so i fixed it to do not crash when jumping or crouching but dont shoot when i make the cfg and i test the rage doesn't shoot
 
Сверху Снизу