LeakedIn Logo
Stories About Data Leaks and Related Stuff

Posts Tagged ‘Windows GetAsyncKeyState API Call’

Potential leak of data: Windows GetAsyncKeyState API Call

2 votedvote

Detected 2 occurrence(s) of ‘GetAsyncKeyState\(‘:

	
	hwnd = FindWindow(NULL, L"Clicker Heroes");
	if(hwnd) {
		std::cout << "Window Found." << std::endl;
		print();

		_beginthread(function1, 0, (void*)12);

		while(true) {
			if(GetAsyncKeyState(F8_KEY)) {
				powers = !powers;
				print();
			}

			if(GetAsyncKeyState(F7_KEY)) {
				clicks = !clicks;
				print();
			}

			Sleep(250);
		}
	} else {
		std::cout << "Could not find 'Clicker Heroes'" << std::endl;
	}

	std::cout << "Quitting..." << std::endl;
	Sleep(1000);

	return 0;
}

Source: http://pastebin.com/raw.php?i=awnEr5W5

Potential leak of data: Windows GetAsyncKeyState API Call

0 votedvote

Detected 1 occurrence(s) of ‘GetAsyncKeyState\(‘:

, 0, 0 );

		Sleep(sleepbetweenevents); 

		mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );

		Sleep(sleepafterclick);
}


//---------------------unsere schleife----------------------------//

int main()
{
	while(true) //schleife
	{

		if (GetAsyncKeyState(linkemaus) < 0) //wenn linke maustaste gedrueckt ist
		{	
			doclick(); //unsere clickfunktion aufrufen
		}

	Sleep(5); //cpu ressourcen freigeben
	}
}

Source: http://pastebin.com/raw.php?i=7qWndCsb

Potential leak of data: Windows GetAsyncKeyState API Call

0 votedvote

Detected 2 occurrence(s) of ‘GetAsyncKeyState\(‘:

                                }
                            }
                        }
                    }
                }
                else //Gdy znaleziono proces CSGO, wykonywanie kodu cheata
                {
                    if (GetAsyncKeyState(0x10) != 0) //hotkey
                    {
                        int Gracz = OdczytajWartosc(BaseAdressClientDLL + 0x00A74CCC);
                        int CrosshairID = OdczytajWartosc(Gracz + 0x00002410);
                        if (CrosshairID > 0

Source: http://pastebin.com/raw.php?i=tB6upQYv

Potential leak of data: Windows GetAsyncKeyState API Call

0 votedvote

Detected 1 occurrence(s) of ‘GetAsyncKeyState\(‘:

      
            
        case WM_DESTROY:
            // zamykanie 
            wglDeleteContext( hRC );
            PostQuitMessage( 0 );
            return 0;

		case WM_KEYDOWN: //************ OBSLUGA KLAWISZY ***********************
			if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
				change=1.0f;
			else
				change=0.1f;

			switch ((int)wParam)
			{
				// obrot w pionie
				case VK_UP:
					pivot_vert_angle+=5;
					if (pivot_vert_angle>=360)
						pivot_vert_angle-=360;
					InvalidateRect(hWnd, N

Source: http://pastebin.com/raw.php?i=hfvRR2LP

Potential leak of data: Windows GetAsyncKeyState API Call

0 votedvote

Detected 3 occurrence(s) of ‘GetAsyncKeyState\(‘:

P, 0, 0, 0, 0);
		}
	}
	};

int main()
	{
		cout << "Krasser pPrivate gestartet.\nWarte auf CS:GO..." << endl;

		mem.RunProcess();

		cout << "Injected & bereit..." << endl;
		Sleep(1000);
		ShowWindow(GetConsoleWindow(), NULL);

		while (!GetAsyncKeyState(F6Taste)){
			myPlayer.ReadInformation();
			for (int i = 0; i < numOfPlayers; i++)
			{
				entityList[i].ReadInformation(i);
			}
			bHop();
			triggerBot();
			Sleep(1);
	}
}

Source: http://pastebin.com/raw.php?i=H4j97mLZ