
Originally Posted by
mydearjump
Can u show me a sample code please? And X-Trap dont detect them? And do they allow them? (I mean X-trap dont detect keystrokes from external applications?)(cos nowadays spammers too not working)
I have once set timer in VB for my Phisher
I have done just phishers only.
I dont know to code with timer for key strokes
hm... i know that sendKey's is detected IDK about moveCursor but you can try it (i make it long time ago )
Here is my test (i edit it to c++ so i inject it and i ussed white player's when i moved the cursor over a play it was beeping but it's laggy you need a powerfull PC 250-300fps maybe then it will not lag so hard )
Code:
#define ARGB_TO_COLORREF(a) (COLORREF)(((a) & 0xFF00FF00) | (((a) & 0xFF0000) >> 16) | (((a) & 0xFF) << 16)) // ARGB to ABGR
#define BitmapPixel(b, x, y) ((b)->pixels[(y) * (b)->width + (x)]) // pixel is ARGB
#define GetAValue(cr) (int)((cr) >> 24)
#define ColorNoAlpha(p) ((p) & 0x00FFFFFF)
typedef struct _BITMAPCAPTURE {
HBITMAP hbm;
LPDWORD pixels;
INT width;
INT height;
} BITMAPCAPTURE;
BOOL CaptureScreen(BITMAPCAPTURE *bmpCapture)
{
BOOL bResult = FALSE;
if(!bmpCapture)
return bResult;
ZeroMemory(bmpCapture, sizeof(BITMAPCAPTURE));
HDC hdcScreen = GetDC(NULL);
HDC hdcCapture = CreateCompatibleDC(NULL);
int nWidth = GetSystemMetrics(SM_CXVIRTUALSCREEN),
nHeight = GetSystemMetrics(SM_CYVIRTUALSCREEN);
LPBYTE lpCapture;
BITMAPINFO bmiCapture = { {
sizeof(BITMAPINFOHEADER), nWidth, -nHeight, 1, 32, BI_RGB, 0, 0, 0, 0, 0,
} };
bmpCapture->hbm = CreateDIBSection(hdcScreen, &bmiCapture,
DIB_RGB_COLORS, (LPVOID *)&lpCapture, NULL, 0);
if(bmpCapture->hbm){
HBITMAP hbmOld = (HBITMAP)SelectObject(hdcCapture, bmpCapture->hbm);
BitBlt(hdcCapture, 0, 0, nWidth, nHeight, hdcScreen, 0, 0, SRCCOPY);
SelectObject(hdcCapture, hbmOld);
bmpCapture->pixels = (LPDWORD)lpCapture;
bmpCapture->width = nWidth;
bmpCapture->height = nHeight;
bResult = TRUE;
}
DeleteDC(hdcCapture);
DeleteDC(hdcScreen);
return bResult;
}
void NapalmsSuperMegaFastMethod(BITMAPCAPTURE *grab, DWORD dwPixelColor)
{
if(ColorNoAlpha(grab->pixels[307600]) == dwPixelColor)
{
Beep(500,50);
}
}
int main()
{ char*r;
r="TextureModels 0";
PTC(r);
while(true)
{
BITMAPCAPTURE grab;
DWORD dwWhiteColor = 0x00000000; // ARGB
if(!CaptureScreen(&grab)){
return 1;
}
DeleteObject(grab.hbm);
Sleep(50);}
return 0;
}