Windows NT KAMIDAKI 10.0 build 19045 (Windows 10) AMD64
Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.3.9
Server IP : 192.168.3.16 & Your IP : 216.73.216.140
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
FileZillaFTP /
source /
interface /
Delete
Unzip
Name
Size
Permission
Date
Action
misc
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
res
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
AdminSocket.cpp
11.93
KB
-rw-rw-rw-
2012-04-16 19:30
AdminSocket.h
2.15
KB
-rw-rw-rw-
2012-04-16 19:30
ConnectDialog.cpp
3.33
KB
-rw-rw-rw-
2012-04-16 19:30
ConnectDialog.h
2.2
KB
-rw-rw-rw-
2012-04-16 19:30
DeleteGroupInUseDlg.cpp
2.21
KB
-rw-rw-rw-
2012-04-16 19:30
DeleteGroupInUseDlg.h
1.57
KB
-rw-rw-rw-
2012-04-16 19:30
EnterSomething.cpp
2.91
KB
-rw-rw-rw-
2012-04-16 19:30
EnterSomething.h
2.27
KB
-rw-rw-rw-
2012-04-16 19:30
FileZilla Server Interface.vcproj
46.3
KB
-rw-rw-rw-
2012-04-16 19:30
FileZilla server.cpp
6.09
KB
-rw-rw-rw-
2012-04-16 19:30
FileZilla server.h
2.37
KB
-rw-rw-rw-
2012-04-16 19:30
FileZilla server.rc
66.64
KB
-rw-rw-rw-
2012-04-16 19:30
GenerateCertificateDlg.cpp
3.22
KB
-rw-rw-rw-
2012-04-16 19:30
GenerateCertificateDlg.h
1.39
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlg.cpp
13.45
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlg.h
3.1
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgGeneral.cpp
5.01
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgGeneral.h
2.64
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgIpFilter.cpp
3.94
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgIpFilter.h
2.36
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgSharedFolders.cpp
18.15
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgSharedFolders.h
3.51
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgSpeedLimit.cpp
14.94
KB
-rw-rw-rw-
2012-04-16 19:30
GroupsDlgSpeedLimit.h
3.38
KB
-rw-rw-rw-
2012-04-16 19:30
MainFrm.cpp
35.15
KB
-rw-rw-rw-
2012-04-16 19:30
MainFrm.h
5.65
KB
-rw-rw-rw-
2012-04-16 19:30
NewUserDlg.cpp
2.68
KB
-rw-rw-rw-
2012-04-16 19:30
NewUserDlg.h
2.18
KB
-rw-rw-rw-
2012-04-16 19:30
OfflineAskDlg.cpp
2.05
KB
-rw-rw-rw-
2012-04-16 19:30
OfflineAskDlg.h
2.06
KB
-rw-rw-rw-
2012-04-16 19:30
Options.cpp
8.67
KB
-rw-rw-rw-
2012-04-16 19:30
Options.h
2.18
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsAdminInterfacePage.cpp
7.01
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsAdminInterfacePage.h
2.58
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsAutobanPage.cpp
3.75
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsAutobanPage.h
2.14
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsCompressionPage.cpp
3.42
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsCompressionPage.h
1.41
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsDlg.cpp
10.44
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsDlg.h
3.05
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGSSPage.cpp
2.32
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGSSPage.h
2.1
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGeneralIpbindingsPage.cpp
1.78
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGeneralIpbindingsPage.h
1.33
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGeneralPage.cpp
4.98
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGeneralPage.h
2.41
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGeneralWelcomemessagePage.cpp
3.5
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsGeneralWelcomemessagePage.h
2.45
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsIpFilterPage.cpp
3.15
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsIpFilterPage.h
2.3
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsLoggingPage.cpp
4.91
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsLoggingPage.h
2.49
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsMiscPage.cpp
3.78
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsMiscPage.h
2.33
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsPage.cpp
2.03
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsPage.h
2.27
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsPasvPage.cpp
5.96
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsPasvPage.h
2.51
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsSecurityPage.cpp
3.48
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsSecurityPage.h
2.39
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsSpeedLimitPage.cpp
12
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsSpeedLimitPage.h
3.35
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsSslPage.cpp
6.76
KB
-rw-rw-rw-
2012-04-16 19:30
OptionsSslPage.h
1.76
KB
-rw-rw-rw-
2012-04-16 19:30
OutputFormat.cpp
792
B
-rw-rw-rw-
2012-04-16 19:30
OutputFormat.h
178
B
-rw-rw-rw-
2012-04-16 19:30
SpeedLimitRuleDlg.cpp
5.04
KB
-rw-rw-rw-
2012-04-16 19:30
SpeedLimitRuleDlg.h
2.46
KB
-rw-rw-rw-
2012-04-16 19:30
StatusCtrl.cpp
10.46
KB
-rw-rw-rw-
2012-04-16 19:30
StatusCtrl.h
2.81
KB
-rw-rw-rw-
2012-04-16 19:30
StatusView.cpp
2.95
KB
-rw-rw-rw-
2012-04-16 19:30
StatusView.h
2.39
KB
-rw-rw-rw-
2012-04-16 19:30
StdAfx.cpp
1.03
KB
-rw-rw-rw-
2012-04-16 19:30
StdAfx.h
2.77
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlg.cpp
13.17
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlg.h
3.26
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgGeneral.cpp
8.51
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgGeneral.h
2.78
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgIpFilter.cpp
3.88
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgIpFilter.h
2.34
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgSharedFolders.cpp
17.95
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgSharedFolders.h
3.45
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgSpeedLimit.cpp
15.4
KB
-rw-rw-rw-
2012-04-16 19:30
UsersDlgSpeedLimit.h
3.36
KB
-rw-rw-rw-
2012-04-16 19:30
UsersListCtrl.cpp
24.46
KB
-rw-rw-rw-
2012-04-16 19:30
UsersListCtrl.h
3.54
KB
-rw-rw-rw-
2012-04-16 19:30
UsersView.cpp
2.83
KB
-rw-rw-rw-
2012-04-16 19:30
UsersView.h
2.37
KB
-rw-rw-rw-
2012-04-16 19:30
resource.h
14.1
KB
-rw-rw-rw-
2012-04-16 19:30
splitex.cpp
10.85
KB
-rw-rw-rw-
2012-04-16 19:30
splitex.h
1.4
KB
-rw-rw-rw-
2012-04-16 19:30
Save
Rename
// StatusCtrl.cpp: Implementierungsdatei // #include "stdafx.h" #include "StatusCtrl.h" #include "EnterSomething.h" #include "MainFrm.h" #if defined(_DEBUG) && !defined(MMGR) #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif const COLORREF CStatusCtrl::m_ColTable[16] = {RGB(255, 255, 255), RGB(0, 0, 0), RGB(0, 0, 128), RGB(0, 128, 0), RGB(255, 0, 0), RGB(128, 0, 0), RGB(128, 0, 128), RGB(128, 128, 0), RGB(255, 255, 0), RGB(0, 255, 0), RGB(0, 128, 128), RGB(0, 255, 255), RGB(0, 0, 255), RGB(255, 0, 255), RGB(128, 128, 128), RGB(192, 192, 192) }; ///////////////////////////////////////////////////////////////////////////// // CStatusCtrl CStatusCtrl::CStatusCtrl() { m_doPopupCursor = FALSE; m_bEmpty = TRUE; m_nMoveToBottom = 0; m_nTimerID = 0; m_headerPos = 0; m_runTimer = 0; } CStatusCtrl::~CStatusCtrl() { } BEGIN_MESSAGE_MAP(CStatusCtrl, CRichEditCtrl) //{{AFX_MSG_MAP(CStatusCtrl) ON_WM_ERASEBKGND() ON_WM_CONTEXTMENU() ON_WM_SETCURSOR() ON_COMMAND(ID_OUTPUTCONTEXT_CLEARALL, OnOutputcontextClearall) ON_COMMAND(ID_OUTPUTCONTEXT_COPYTOCLIPBOARD, OnOutputcontextCopytoclipboard) ON_WM_CREATE() ON_WM_TIMER() ON_WM_RBUTTONUP() ON_WM_MOUSEWHEEL() //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // Behandlungsroutinen f�r Nachrichten CStatusCtrl BOOL CStatusCtrl::OnEraseBkgnd(CDC* pDC) { return TRUE; } void CStatusCtrl::OnContextMenu(CWnd* pWnd, CPoint point) { ClientToScreen(&point); CMenu menu; menu.LoadMenu(IDR_OUTPUTCONTEXT); CMenu* pPopup = menu.GetSubMenu(0); ASSERT(pPopup != NULL); CWnd* pWndPopupOwner = this; //while (pWndPopupOwner->GetStyle() & WS_CHILD) // pWndPopupOwner = pWndPopupOwner->GetParent(); if (!GetLineCount()) { pPopup->EnableMenuItem(ID_OUTPUTCONTEXT_COPYTOCLIPBOARD,MF_GRAYED); pPopup->EnableMenuItem(ID_OUTPUTCONTEXT_CLEARALL,MF_GRAYED); } HCURSOR hCursor; hCursor = AfxGetApp()->LoadStandardCursor(IDC_ARROW); m_doPopupCursor = TRUE; SetCursor(hCursor); pPopup->TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, point.x, point.y, pWndPopupOwner); } BOOL CStatusCtrl::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) { if (!m_doPopupCursor) { m_doPopupCursor = 0; return CWnd::OnSetCursor(pWnd, nHitTest, message ); } else m_doPopupCursor = 0; return 0; } DWORD __stdcall CStatusCtrl::RichEditStreamInCallback(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb) { char* output = (char*)pbBuff; CStatusCtrl *pThis = (CStatusCtrl *)dwCookie; if (pThis->m_headerPos != -1) { int len = pThis->m_RTFHeader.GetLength() - pThis->m_headerPos; if (len > cb) { pThis->m_headerPos = cb; len = cb; } else pThis->m_headerPos = -1; memcpy(output, (const char*)pThis->m_RTFHeader, len); *pcb = len; } else { *pcb = 0; if (pThis->m_statusBuffer.empty()) return 0; t_buffer &buffer = pThis->m_statusBuffer.front(); if (buffer.status != _T("")) { if (buffer.pos == -1) { if (pThis->m_bEmpty) { pThis->m_bEmpty = false; memcpy(output, "\\cf", 3); output += 3; cb -= 3; *pcb += 3; } else { memcpy(output, "\\par \\cf", 8); output += 8; cb -= 8; *pcb += 8; } switch (buffer.type) { default: case 0: *(output++) = '2'; break; case 1: *(output++) = '5'; break; case 2: *(output++) = '3'; break; case 3: *(output++) = '4'; break; } buffer.pos = 0; } LPCTSTR status = buffer.status; LPCTSTR p = status + buffer.pos; while (*p && cb > 9) { switch (*p) { case '\\': *(output++) = '\\'; *(output++) = '\\'; cb -= 2; *pcb += 2; break; case '{': *(output++) = '\\'; *(output++) = '{'; cb -= 2; *pcb += 2; break; case '}': *(output++) = '\\'; *(output++) = '}'; cb -= 2; *pcb += 2; break; case '\r': break; case '\n': *(output++) = '\\'; *(output++) = 's'; *(output++) = 't'; *(output++) = 'a'; *(output++) = 't'; *(output++) = 'u'; *(output++) = 's'; cb -= 7; *pcb += 7; break; default: if (*p > 127) { int w = sprintf(output, "\\u%d?", (unsigned short)*p); output += w; cb -= w; *pcb += w; } else { *(output++) = (char)*p; cb--; (*pcb)++; } } p++; } if (!*p) { pThis->m_statusBuffer.pop_front(); if (pThis->m_statusBuffer.empty()) { memcpy(output, "} ", 2); output += 2; *pcb += 2; } else { *(output++) = ' '; (*pcb)++; } } else buffer.pos = p - status; } else { pThis->m_statusBuffer.pop_front(); if (pThis->m_statusBuffer.empty()) { memcpy(output, "} ", 2); output += 2; *pcb += 2; } } } return 0; } void CStatusCtrl::OnOutputcontextClearall() { t_buffer buffer; buffer.status = _T(""); buffer.pos = -1; buffer.type = 0; m_statusBuffer.push_back(buffer); DoStreamIn(); SetSel(-1, -1); LimitText(1000*1000); m_bEmpty = TRUE; m_nMoveToBottom = 0; } void CStatusCtrl::OnOutputcontextCopytoclipboard() { long nStart, nEnd; GetSel(nStart, nEnd); if (nStart == nEnd) { HideSelection(TRUE, FALSE); SetSel(0, -1); Copy(); SetSel(nStart, nEnd); HideSelection(FALSE, FALSE); } else Copy(); } int CStatusCtrl::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CRichEditCtrl::OnCreate(lpCreateStruct) == -1) return -1; USES_CONVERSION; m_RTFHeader = "{\\rtf1\\ansi\\deff0"; HFONT hSysFont = (HFONT)GetStockObject(DEFAULT_GUI_FONT); LOGFONT lf; CFont* pFont = CFont::FromHandle( hSysFont ); pFont->GetLogFont( &lf ); LOGFONT m_lfFont; pFont->GetLogFont(&m_lfFont); m_RTFHeader += "{\\fonttbl{\\f0\\fnil "+ CString(m_lfFont.lfFaceName)+";}}"; m_RTFHeader += "{\\colortbl ;"; for (int i=0; i<16; i++) { CString tmp; tmp.Format(_T("\\red%d\\green%d\\blue%d;"), GetRValue(m_ColTable[i]), GetGValue(m_ColTable[i]), GetBValue(m_ColTable[i])); m_RTFHeader+=tmp; } m_RTFHeader += "}"; int pointsize = (-m_lfFont.lfHeight*72/ GetDeviceCaps(GetDC()->GetSafeHdc(), LOGPIXELSY))*2; CString tmp; tmp.Format(_T("%d"), pointsize); m_RTFHeader += "\\uc1\\pard\\fi-200\\li200\\tx200\\f0\\fs"+tmp; //180*m_nAvgCharWidth; t_buffer buffer; buffer.status = _T(""); buffer.pos = -1; buffer.type = 0; m_statusBuffer.push_back(buffer); m_headerPos = 0; DoStreamIn(); SetSel(-1, -1); LimitText(1000*1000); return 0; } void CStatusCtrl::ShowStatus(LPCTSTR status, int nType) { t_buffer buffer; buffer.status = status; buffer.type = nType; buffer.pos = -1; m_statusBuffer.push_back(buffer); if (!m_runTimer) { Run(); m_runTimer = SetTimer(1339, 250, 0); } return; } void CStatusCtrl::Run() { if (m_statusBuffer.empty()) return; m_headerPos = 0; CWnd *pFocusWnd = GetFocus(); if (pFocusWnd && pFocusWnd == this) AfxGetMainWnd()->SetFocus(); long nStart, nEnd; GetSel(nStart, nEnd); BOOL nScrollToEnd = FALSE; int num = 0; //this is the number of visible lines CRect rect; GetRect(rect); int height = rect.Height(); for (int i = GetFirstVisibleLine(); i < GetLineCount() && GetCharPos(LineIndex(i)).y < height; i++) num++; if (GetFirstVisibleLine() + num+m_nMoveToBottom >= GetLineCount()) nScrollToEnd = TRUE; HideSelection(TRUE, FALSE); SetSel(-1, -1); DoStreamIn(SFF_SELECTION); int count = GetLineCount(); if (count > 1000) { count = count - 1000; int index = LineIndex(count); nStart -= index; nEnd -= index; if (nStart < 0) nEnd = 0; if (nEnd < 0) nEnd = 0; SetSel(0, index); ReplaceSel(_T("")); } SetSel(nStart, nEnd); if (pFocusWnd && pFocusWnd == this) SetFocus(); HideSelection(FALSE, FALSE); if (nScrollToEnd) { if (nStart != nEnd && (LineFromChar(nStart) >= GetFirstVisibleLine() && LineFromChar(nStart) <= GetFirstVisibleLine() + num || LineFromChar(nEnd) >= GetFirstVisibleLine() && LineFromChar(nEnd) <= GetFirstVisibleLine() + num)) LineScroll(1); else { m_nMoveToBottom++; if (!m_nTimerID) m_nTimerID = SetTimer(654, 25, NULL); } } } void CStatusCtrl::OnTimer(UINT_PTR nIDEvent) { if (nIDEvent == m_nTimerID) { if (m_nMoveToBottom) { SendMessage(WM_VSCROLL, SB_BOTTOM, 0); m_nMoveToBottom = 0; } KillTimer(m_nTimerID); m_nTimerID = 0; } else if (nIDEvent == static_cast<UINT>(m_runTimer)) { KillTimer(m_runTimer); m_runTimer = 0; Run(); } CRichEditCtrl::OnTimer(nIDEvent); } void CStatusCtrl::OnRButtonUp(UINT nFlags, CPoint point) { ClientToScreen(&point); CMenu menu; menu.LoadMenu(IDR_OUTPUTCONTEXT); CMenu* pPopup = menu.GetSubMenu(0); ASSERT(pPopup != NULL); CWnd* pWndPopupOwner = this; //while (pWndPopupOwner->GetStyle() & WS_CHILD) // pWndPopupOwner = pWndPopupOwner->GetParent(); if (!GetLineCount()) { pPopup->EnableMenuItem(ID_OUTPUTCONTEXT_COPYTOCLIPBOARD,MF_GRAYED); pPopup->EnableMenuItem(ID_OUTPUTCONTEXT_CLEARALL,MF_GRAYED); } HCURSOR hCursor; hCursor = AfxGetApp()->LoadStandardCursor( IDC_ARROW ); m_doPopupCursor = TRUE; SetCursor(hCursor); pPopup->TrackPopupMenu(TPM_LEFTALIGN | TPM_RIGHTBUTTON, point.x, point.y, pWndPopupOwner); } BOOL CStatusCtrl::OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) { OSVERSIONINFO info = {0}; info.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&info); if (info.dwMajorVersion >= 5) return CRichEditCtrl::OnMouseWheel(nFlags, zDelta, pt); LineScroll(-zDelta / 120 * 3); return TRUE; } void CStatusCtrl::DoStreamIn(int extraFlags) { EDITSTREAM es; es.dwCookie = (DWORD)this; // Pass a pointer to the CString to the callback function es.pfnCallback = RichEditStreamInCallback; // Specify the pointer to the callback function. #ifdef _UNICODE // extraFlags |= SF_UNICODE; #endif StreamIn(extraFlags | SF_RTF, es); // Perform the streaming }