LeakedIn Logo
Stories About Data Leaks and Related Stuff

Potential leak of data: Windows GetAsyncKeyState API Call

15 votedvote

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

, sizeof(INPUT));

void RunTrigger(COLORREF save){
	//keep checking
	while ( (colourCompare(save, getPixel())) ){
	std::cout << "BANG BANG";


int _tmain(int argc, _TCHAR* argv[])

	while (true){
		if(GetAsyncKeyState(VK_XBUTTON1) ){
			COLORREF save = getPixel();
	return 0;

//movement stops trigger
//mouse movement stops trigger
//dont shoot on trigger key clicking

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

Tags: ,

Comments are closed.