/del

Начинающий
Статус
Оффлайн
Регистрация
26 Фев 2024
Сообщения
4
Реакции[?]
0
Поинты[?]
0
2.15. Запрещено редактировать название темы или своё сообщение на «/del» во всех случаях (продажа аккаунта, получение ответа на свой вопрос и так далее), кроме флуда.
До:
Пожалуйста, авторизуйтесь для просмотра ссылки.
После:
Пожалуйста, авторизуйтесь для просмотра ссылки.



1) Скачиваем файлы из официального гитхаба
Пожалуйста, авторизуйтесь для просмотра ссылки.
(noad)
2) Открываем пасту в Visual Studio
3) Заходим в файлики main.cpp и init.h
4) Заменяем содержимое main.cpp на это:
Код:
#define _CRT_SECURE_NO_WARNINGS
#include "Cheats.h"
#include "Offsets.h"
#include "Resources/Language.h"
#include "Utils/Initial/Init.h"
#include <chrono>
#include <filesystem>
#include <iomanip>
#include <KnownFolders.h>
#include <ShlObj.h>
#include <stdio.h>

using namespace std;
namespace fs = filesystem;

void Exit()
{
    system("pause");
    exit(0);
}

LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

void Cheat()
{
    if (Init::Verify::CheckWindowVersion())
        Lang::GetCountry(MenuConfig::Country);
    HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); //Gets a standard output device handle 
    SetConsoleTextAttribute(hConsole, FOREGROUND_BLUE | FOREGROUND_GREEN); //Set the text color to green 
    cout << R"(                                                                   
    ___    _          _____ __           
   /   |  (_)___ ___ / ___// /_____ ______
  / /| | / / __ `__ \\__ \/ __/ __ `/ ___/
 / ___ |/ / / / / / /__/ / /_/ /_/ / /   
/_/  |_/_/_/ /_/ /_/____/\__/\__,_/_/   
    )" << endl;
    SetConsoleTextAttribute(hConsole, FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_RED);

    auto ProcessStatus = ProcessMgr.Attach("cs2.exe");

    char documentsPath[MAX_PATH];
    if (SHGetFolderPathA(NULL, CSIDL_PERSONAL, NULL, 0, documentsPath) != S_OK) {
        cerr << "[Info] Error: Failed to get the Documents folder path." << endl;
        Exit();
    }
    MenuConfig::path = documentsPath;
    MenuConfig::path += "\\AimStar";

    switch (ProcessStatus) {
    case 1:
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Please launch the game first!" << endl;
        Exit();
    case 2:
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to hook process, please run the cheat as Administrator (Right click AimStar > Run as Adminstrator)." << endl;
        Exit();
    case 3:
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to get module address." << endl;
        Exit();
    default:
        break;
    }

    if (!Offset::UpdateOffsets())
    {
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to update offsets." << endl;
        Exit();
    }

    if (!gGame.InitAddress())
    {
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to call InitAddress()." << endl;
        Exit();
    }

    cout << "[Game] Process ID: " << ProcessMgr.ProcessID << endl;
    cout << "[Game] Client Address: " << gGame.GetClientDLLAddress() << endl;

    if (fs::exists(MenuConfig::path))
    {
        cout << "[Info] Config folder connected: " << MenuConfig::path << endl;
    }
    else
    {
        if (fs::create_directory(MenuConfig::path))
        {
            cout << "[Info] Config folder created: " << MenuConfig::path << endl;
        }
        else
        {
            cerr << "[Info] Error: Failed to create the config directory." << endl;
            Exit();
        }
    }

    cout << endl;
    SetConsoleTextAttribute(hConsole, FOREGROUND_GREEN);
    cout << "Cheat running successfully!" << endl;
    cout << "Press [INS] to show or hide Menu." << endl;
    cout << "Have fun..." << endl << endl;
    SetConsoleTextAttribute(hConsole, FOREGROUND_GREEN | FOREGROUND_RED);

    cout << "=======[ Offset List ]=======" << endl;
    cout << setw(23) << left << "EntityList:" << setiosflags(ios::uppercase) << hex << Offset::EntityList << endl;
    cout << setw(23) << left << "Matrix:" << setiosflags(ios::uppercase) << hex << Offset::Matrix << endl;
    cout << setw(23) << left << "LocalPlayerController:" << setiosflags(ios::uppercase) << hex << Offset::LocalPlayerController << endl;
    cout << setw(23) << left << "ViewAngles:" << setiosflags(ios::uppercase) << hex << Offset::ViewAngle << endl;
    cout << setw(23) << left << "LocalPlayerPawn:" << setiosflags(ios::uppercase) << hex << Offset::LocalPlayerPawn << endl;
    cout << setw(23) << left << "PlantedC4:" << setiosflags(ios::uppercase) << hex << Offset::PlantedC4 << endl;
    cout << setw(23) << left << "ForceJump:" << setiosflags(ios::uppercase) << hex << Offset::ForceJump << endl;
    cout << setw(23) << left << "Sensitivity:" << setiosflags(ios::uppercase) << hex << Offset::Sensitivity << endl;

    cout << endl;

    try
    {
        Gui.AttachAnotherWindow("Counter-Strike 2", "SDL_app", Cheats::Run);
    }
    catch (OSImGui::OSException& e)
    {
        try
        {
            // Perfect World version
            Gui.AttachAnotherWindow("反恐精英:全球攻势", "SDL_app", Cheats::Run);
        }
        catch (OSImGui::OSException& e)
        {
            cout << e.what() << endl;
        }
    }
}

int main()
{
    Cheat();
}
5) Заменяем содержимое init.h на это:
Код:
#pragma once
#include <fstream>
#include <windows.h>
#include <tchar.h>
#include <shellapi.h>
#include <iostream>
#include <string>
#include <cstdlib>
#include <chrono>
#include <thread>

namespace Init
{
    using namespace std;

    class Verify
    {
    public:
        // Check if the Windows version is higher than 7
        static bool CheckWindowVersion() {
            OSVERSIONINFOEX osvi;
            ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
            osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
            osvi.dwMajorVersion = 6;
            osvi.dwMinorVersion = 1;

            ULONGLONG conditionMask = VerSetConditionMask(0, VER_MAJORVERSION, VER_GREATER_EQUAL);
            conditionMask = VerSetConditionMask(conditionMask, VER_MINORVERSION, VER_GREATER_EQUAL);

            if (VerifyVersionInfo(&osvi, VER_MAJORVERSION | VER_MINORVERSION, conditionMask))
            {
                return true;
            }
            return false;
        }

        static bool isVerified(std::string fileName)
        {
            ifstream infile(fileName);
            if (infile.good())
                return true;
            else
                return false;
        }
    };

    class Client
    {
    public:
        static bool isGameWindowActive() {
            HWND hwnd_cs2 = FindWindow(NULL, TEXT("Counter-Strike 2"));
            HWND hwnd_perfectworld = FindWindow(NULL, TEXT("·ґїЦѕ«УўЈєИ«Зт№ҐКЖ"));

            if (hwnd_cs2 != NULL || hwnd_perfectworld != NULL) {
                HWND foreground_window = GetForegroundWindow();
                if (foreground_window == hwnd_cs2 || foreground_window == hwnd_perfectworld) {
                    return true;
                }
            }
            return false;
        }

        static void SleepGameTick(int TickCount)
        {
            std::this_thread::sleep_for(std::chrono::milliseconds(15 * TickCount));
        }

        static void Exit()
        {
            system("pause");
            exit(0);
        }

        static void QuitGame()
        {
            ShellExecuteA(NULL, "open", "cmd.exe", "/C taskkill /F /IM cs2.exe", NULL, SW_HIDE);
        }
    };
}
 
Новичок
Статус
Оффлайн
Регистрация
16 Июл 2022
Сообщения
1
Реакции[?]
0
Поинты[?]
0
Привет, зачем удалять защиту? Это сделано от перепродажников, а вы постите гайды на анти-защиту в моем чите.
 
Начинающий
Статус
Оффлайн
Регистрация
8 Сен 2023
Сообщения
42
Реакции[?]
8
Поинты[?]
8K
До:
Пожалуйста, авторизуйтесь для просмотра ссылки.
После:
Пожалуйста, авторизуйтесь для просмотра ссылки.



1) Скачиваем файлы из официального гитхаба
Пожалуйста, авторизуйтесь для просмотра ссылки.
(noad)
2) Открываем пасту в Visual Studio
3) Заходим в файлики main.cpp и init.h
4) Заменяем содержимое main.cpp на это:
Код:
#define _CRT_SECURE_NO_WARNINGS
#include "Cheats.h"
#include "Offsets.h"
#include "Resources/Language.h"
#include "Utils/Initial/Init.h"
#include <chrono>
#include <filesystem>
#include <iomanip>
#include <KnownFolders.h>
#include <ShlObj.h>
#include <stdio.h>

using namespace std;
namespace fs = filesystem;

void Exit()
{
    system("pause");
    exit(0);
}

LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

void Cheat()
{
    if (Init::Verify::CheckWindowVersion())
        Lang::GetCountry(MenuConfig::Country);
    HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); //Gets a standard output device handle
    SetConsoleTextAttribute(hConsole, FOREGROUND_BLUE | FOREGROUND_GREEN); //Set the text color to green
    cout << R"(                                                                  
    ___    _          _____ __          
   /   |  (_)___ ___ / ___// /_____ ______
  / /| | / / __ `__ \\__ \/ __/ __ `/ ___/
/ ___ |/ / / / / / /__/ / /_/ /_/ / /  
/_/  |_/_/_/ /_/ /_/____/\__/\__,_/_/  
    )" << endl;
    SetConsoleTextAttribute(hConsole, FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_RED);

    auto ProcessStatus = ProcessMgr.Attach("cs2.exe");

    char documentsPath[MAX_PATH];
    if (SHGetFolderPathA(NULL, CSIDL_PERSONAL, NULL, 0, documentsPath) != S_OK) {
        cerr << "[Info] Error: Failed to get the Documents folder path." << endl;
        Exit();
    }
    MenuConfig::path = documentsPath;
    MenuConfig::path += "\\AimStar";

    switch (ProcessStatus) {
    case 1:
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Please launch the game first!" << endl;
        Exit();
    case 2:
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to hook process, please run the cheat as Administrator (Right click AimStar > Run as Adminstrator)." << endl;
        Exit();
    case 3:
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to get module address." << endl;
        Exit();
    default:
        break;
    }

    if (!Offset::UpdateOffsets())
    {
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to update offsets." << endl;
        Exit();
    }

    if (!gGame.InitAddress())
    {
        SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
        cout << "[ERROR] Failed to call InitAddress()." << endl;
        Exit();
    }

    cout << "[Game] Process ID: " << ProcessMgr.ProcessID << endl;
    cout << "[Game] Client Address: " << gGame.GetClientDLLAddress() << endl;

    if (fs::exists(MenuConfig::path))
    {
        cout << "[Info] Config folder connected: " << MenuConfig::path << endl;
    }
    else
    {
        if (fs::create_directory(MenuConfig::path))
        {
            cout << "[Info] Config folder created: " << MenuConfig::path << endl;
        }
        else
        {
            cerr << "[Info] Error: Failed to create the config directory." << endl;
            Exit();
        }
    }

    cout << endl;
    SetConsoleTextAttribute(hConsole, FOREGROUND_GREEN);
    cout << "Cheat running successfully!" << endl;
    cout << "Press [INS] to show or hide Menu." << endl;
    cout << "Have fun..." << endl << endl;
    SetConsoleTextAttribute(hConsole, FOREGROUND_GREEN | FOREGROUND_RED);

    cout << "=======[ Offset List ]=======" << endl;
    cout << setw(23) << left << "EntityList:" << setiosflags(ios::uppercase) << hex << Offset::EntityList << endl;
    cout << setw(23) << left << "Matrix:" << setiosflags(ios::uppercase) << hex << Offset::Matrix << endl;
    cout << setw(23) << left << "LocalPlayerController:" << setiosflags(ios::uppercase) << hex << Offset::LocalPlayerController << endl;
    cout << setw(23) << left << "ViewAngles:" << setiosflags(ios::uppercase) << hex << Offset::ViewAngle << endl;
    cout << setw(23) << left << "LocalPlayerPawn:" << setiosflags(ios::uppercase) << hex << Offset::LocalPlayerPawn << endl;
    cout << setw(23) << left << "PlantedC4:" << setiosflags(ios::uppercase) << hex << Offset::PlantedC4 << endl;
    cout << setw(23) << left << "ForceJump:" << setiosflags(ios::uppercase) << hex << Offset::ForceJump << endl;
    cout << setw(23) << left << "Sensitivity:" << setiosflags(ios::uppercase) << hex << Offset::Sensitivity << endl;

    cout << endl;

    try
    {
        Gui.AttachAnotherWindow("Counter-Strike 2", "SDL_app", Cheats::Run);
    }
    catch (OSImGui::OSException& e)
    {
        try
        {
            // Perfect World version
            Gui.AttachAnotherWindow("反恐精英:全球攻势", "SDL_app", Cheats::Run);
        }
        catch (OSImGui::OSException& e)
        {
            cout << e.what() << endl;
        }
    }
}

int main()
{
    Cheat();
}
5) Заменяем содержимое init.h на это:
Код:
#pragma once
#include <fstream>
#include <windows.h>
#include <tchar.h>
#include <shellapi.h>
#include <iostream>
#include <string>
#include <cstdlib>
#include <chrono>
#include <thread>

namespace Init
{
    using namespace std;

    class Verify
    {
    public:
        // Check if the Windows version is higher than 7
        static bool CheckWindowVersion() {
            OSVERSIONINFOEX osvi;
            ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
            osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
            osvi.dwMajorVersion = 6;
            osvi.dwMinorVersion = 1;

            ULONGLONG conditionMask = VerSetConditionMask(0, VER_MAJORVERSION, VER_GREATER_EQUAL);
            conditionMask = VerSetConditionMask(conditionMask, VER_MINORVERSION, VER_GREATER_EQUAL);

            if (VerifyVersionInfo(&osvi, VER_MAJORVERSION | VER_MINORVERSION, conditionMask))
            {
                return true;
            }
            return false;
        }

        static bool isVerified(std::string fileName)
        {
            ifstream infile(fileName);
            if (infile.good())
                return true;
            else
                return false;
        }
    };

    class Client
    {
    public:
        static bool isGameWindowActive() {
            HWND hwnd_cs2 = FindWindow(NULL, TEXT("Counter-Strike 2"));
            HWND hwnd_perfectworld = FindWindow(NULL, TEXT("·ґїЦѕ«УўЈєИ«Зт№ҐКЖ"));

            if (hwnd_cs2 != NULL || hwnd_perfectworld != NULL) {
                HWND foreground_window = GetForegroundWindow();
                if (foreground_window == hwnd_cs2 || foreground_window == hwnd_perfectworld) {
                    return true;
                }
            }
            return false;
        }

        static void SleepGameTick(int TickCount)
        {
            std::this_thread::sleep_for(std::chrono::milliseconds(15 * TickCount));
        }

        static void Exit()
        {
            system("pause");
            exit(0);
        }

        static void QuitGame()
        {
            ShellExecuteA(NULL, "open", "cmd.exe", "/C taskkill /F /IM cs2.exe", NULL, SW_HIDE);
        }
    };
}
а в чём собственно было самим челам удалить защиту?
 
Начинающий
Статус
Оффлайн
Регистрация
1 Фев 2021
Сообщения
19
Реакции[?]
3
Поинты[?]
3K
bochem RUSSKI malish nuzem eto GUIDE?¿

I added this OTP verification step. The purpose is very simple, to prevent those CHINAMAN who don't know how to program or have never really read the code from selling this chit for 300 Rub on taobao.com
 
Последнее редактирование:
Начинающий
Статус
Оффлайн
Регистрация
10 Сен 2023
Сообщения
87
Реакции[?]
14
Поинты[?]
15K
А в чем смысл собственно?Это было сделано в целях защиты от перепродажи
 
unbound
Пользователь
Статус
Оффлайн
Регистрация
27 Окт 2019
Сообщения
257
Реакции[?]
86
Поинты[?]
56K
Сверху Снизу