Potential leak of data: Windows GetAsyncKeyState API Call
Detected 4 occurrence(s) of ‘GetAsyncKeyState\(‘:
nput(1, &__input, sizeof(__input));*/
//wait for 100 milliseconds
Sleep(d);
}
int main()
{
int delay = 0;
printf("Delay (in ms)?\t");
scanf("%d", &delay);
GetAsyncKeyState(VK_F6);
unsigned char i = 0;
while(1)
{
if(GetAsyncKeyState(VK_F6))
{
//switch
i = !i;
printf("Status: %d\n", i);
}
if(i == 1)
{
spam(delay);
}
else
{
Sleep(500);
}
}
return 0;
}
Source: http://pastebin.com/raw.php?i=kxeippaA
Tags: pastebin.com, Windows GetAsyncKeyState API Call
This entry was posted on Saturday, August 4th, 2012 at 04:29 and is filed under PasteMon. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Comments are closed.

