Lightbulbexternal xhair for csgo with source!

Posts 110 of 10 · Page 1 of 1
external xhair for csgo with source!
i recopiled source from internet, i added a rgb palette (from console) selector. I put the source free for a month, who likes to get the source after a month pm me!. (is only for prevent leech...) [VAC Undetected for some time!!]


Code:
#include "stdafx.h"
#include <windows.h>
#include <iostream>
#include <math.h>
using namespace std;
 
bool crosshairon = false;
HDC ragedc = NULL;
int crosshairsize = 0;
int cx = 0;
int cy = 0;
int crosshaircolorG = 0;
int crosshaircolorR = 0;
int crosshaircolorB = 0;
 
void CrossThread(void)
{
        while (1)
        {
                if (GetAsyncKeyState(VK_NUMPAD0) & 1)
                {
                        crosshairon = !crosshairon;
                        ragedc = GetDC(HWND_DESKTOP);
                        cx = GetSystemMetrics(SM_CXSCREEN) / 2 - ((crosshairsize - 1) / 2);
                        cy = GetSystemMetrics(SM_CYSCREEN) / 2 - ((crosshairsize - 1) / 2);
                }
                Sleep(1);
        }
}
 
int main()
{
        cout << "Hello to xhair v007, press enter to continue\n";
                cin.get();
                system("cls");
        cout << "Please put crosshair size in pixels (10p recomended):\n";
        cin >> crosshairsize;
        if (crosshairsize % 2 == 0)
        {
                crosshairsize += 1;
        }
        cout << "Color of crosshair Red (RGB):\n";
        cin >> crosshaircolorR;
        if (crosshaircolorR % 2 == 0)
        {
                crosshaircolorR += 1;
        }
        cout << "Color of crosshair Green (RGB):\n";
        cin >> crosshaircolorG;
        if (crosshaircolorG % 2 == 0)
        {
                crosshaircolorG += 1;
        }
        cout << "Color of crosshair Blue (RGB):\n";
        cin >> crosshaircolorB;
        if (crosshaircolorB % 2 == 0)
        {
                crosshaircolorB += 1;
        }
 
        system("cls");
        cout << "Press numpad 0 to toggle the crosshair on and off\n";
        CreateThread(0, 0, (LPTHREAD_START_ROUTINE)CrossThread, 0, 0, 0);
        while (1)
        {
                if (crosshairon == true)
                {
                        for (int i = 0; i<crosshairsize; i++)
                        {
                                SetPixel(ragedc, cx + i, cy + ((crosshairsize - 1) / 2), RGB(crosshaircolorR, crosshaircolorG, crosshaircolorB));
                                SetPixel(ragedc, cx + ((crosshairsize - 1) / 2), cy + i, RGB(crosshaircolorR, crosshaircolorG, crosshaircolorB));
                        }
 
                        if (crosshairon == false)
 
                        for (int i = 1; i<crosshairsize; i++)
                        {
                                SetPixel(ragedc, cx + i, cy + ((crosshairsize - 1) / 2), RGB(0, 0, 0));
                                SetPixel(ragedc, cx + ((crosshairsize - 1) / 2), cy + i, RGB(0, 0, 0));
                        }
                }
                Sleep(33);
        }
}


[Virus total] https://www.virustotal.com/en/file/5...is/1414191207/

[Meta scan] https://www.metascan-online.com/en/s...3ab637476e3ab8

[Version 007, soon 46] (don't remember the paint-use was only a test ..)
external xHair v007_mpgh.net.zip16 KB · 170 downloads Clean
xHair v007 2_.png1.5 MB · 365 downloads
You need 2 virus scans and by the way the source is private
. @adrianbsk Need 2 virus scans.














//Approved
Thanks for releasing the source code, im trying to learn C++ and this really helped me and it was a good exercise for me . I managed to remove all the extra text that lets you pick the size and color and just made it 12 pixels and red by default.
awesome!! keep it up!
Please for make it more secure use a HashChanger!! and VMProtect !! please, i do not responsible of vac can do.
ty for the upload it worked for me
do you open it before or after running cs go?
Nice release, good job!
Hm, lets play around with this, thanks.
Posts 110 of 10 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Need help?