#include <stdio.h>
#include <windows.h>
int getnum(int *result)
{
char buff [ 13 ];
return fgets(buff, sizeof buff, stdin) && sscanf(buff, "%d", result) == 1;
}
int main()
{
printf("<<<<-- Ca0s Autoclicker -->>>>\n");
printf("\n[-] Number of clicks: ");
int clicks;
do getnum(&clicks);
while(!clicks);
printf("\n[-] Delay between each click (0 allowed): ");
int sleep;
getnum(&sleep);
printf("\n[+] Press INTRO to begin...");
int charr;
charr=fgetc(stdin);
printf("\n[+] Clicks: %d ; Delay: %d", clicks, sleep);
printf("\n[+] You have 5 seconds to change window and put cursor in place!\n");
// Initial sleep...
Sleep(5000);
int i;
for(i=0; i<clicks; i++)
{
mouse_event(MOUSEEVENTF_LEFTDOWN | MOUSEEVENTF_LEFTUP, 1, 1, 1, 1); // Left click
// mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP, 1, 1, 1, 1); Right click
if(sleep)
Sleep(sleep);
}
printf("[+] Finished.\n\n");
charr=fgetc(stdin);
return 0;
}
If you don’t know computer language, there is no worry. Here is the compiled one. Just download and run it
1 comments:
I dont need to describe to much these hack because i have an video proof here.. You will see what it can do in video.كونسول
Post a Comment