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
// FileZilla Server - a Windows ftp server // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de> // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h" #include "filezilla server.h" #include "OptionsDlg.h" #include "OptionsPage.h" #include "OptionsSslPage.h" #include "GenerateCertificateDlg.h" #include "../AsyncSslSocketLayer.h" #include <set> COptionsSslPage::COptionsSslPage(COptionsDlg *pOptionsDlg, CWnd* pParent /*=NULL*/) : COptionsPage(pOptionsDlg, COptionsSslPage::IDD, pParent) , m_enabled(FALSE) , m_allowExplicit(FALSE) , m_certificate(_T("")) , m_sslports(_T("")) { } COptionsSslPage::~COptionsSslPage() { } void COptionsSslPage::DoDataExchange(CDataExchange* pDX) { COptionsPage::DoDataExchange(pDX); DDX_Check(pDX, IDC_ENABLESSL, m_enabled); DDX_Check(pDX, IDC_ALLOWEXPLICIT, m_allowExplicit); DDX_Check(pDX, IDC_FORCEEXPLICIT, m_forceExplicit); DDX_Check(pDX, IDC_FORCEPROTP, m_forceProtP); DDX_Text(pDX, IDC_CERTIFICATE, m_certificate); DDX_Text(pDX, IDC_PRIVATEKEY, m_key); DDX_Text(pDX, IDC_KEYPASS, m_pass); DDX_Text(pDX, IDC_SSLONLY, m_sslports); DDX_Control(pDX, IDC_ALLOWEXPLICIT, m_cAllowExplicit); DDX_Control(pDX, IDC_FORCEEXPLICIT, m_cForceExplicit); DDX_Control(pDX, IDC_FORCEPROTP, m_cForceProtP); DDX_Control(pDX, IDC_CERTIFICATE, m_cCertificate); DDX_Control(pDX, IDC_CERTIFICATE_BROWSE, m_cCertificateBrowse); DDX_Control(pDX, IDC_PRIVATEKEY, m_cKey); DDX_Control(pDX, IDC_PRIVATEKEY_BROWSE, m_cKeyBrowse); DDX_Control(pDX, IDC_SSLONLY, m_cSslports); DDX_Control(pDX, IDC_KEYPASS, m_cPass); } BEGIN_MESSAGE_MAP(COptionsSslPage, COptionsPage) ON_BN_CLICKED(IDC_GENERATE, OnGenerate) ON_BN_CLICKED(IDC_PRIVATEKEY_BROWSE, OnKeyBrowse) ON_BN_CLICKED(IDC_CERTIFICATE_BROWSE, OnCertificateBrowse) ON_BN_CLICKED(IDC_ENABLESSL, OnEnableSsl) ON_BN_CLICKED(IDC_ALLOWEXPLICIT, OnEnableSsl) END_MESSAGE_MAP() void COptionsSslPage::OnGenerate() { UpdateData(); CGenerateCertificateDlg dlg; if (dlg.DoModal() == IDOK) { m_key = dlg.m_file; m_certificate = dlg.m_file; UpdateData(FALSE); } } void COptionsSslPage::OnKeyBrowse() { UpdateData(); CFileDialog dlg(TRUE); if (dlg.DoModal() == IDOK) { m_key = dlg.GetPathName(); UpdateData(FALSE); } } void COptionsSslPage::OnCertificateBrowse() { UpdateData(); CFileDialog dlg(TRUE); if (dlg.DoModal() == IDOK) { m_certificate = dlg.GetPathName(); UpdateData(FALSE); } } void COptionsSslPage::OnEnableSsl() { UpdateData(); m_cAllowExplicit.EnableWindow(m_enabled); m_cCertificate.EnableWindow(m_enabled); m_cCertificateBrowse.EnableWindow(m_enabled && m_pOptionsDlg->IsLocalConnection()); m_cKey.EnableWindow(m_enabled); m_cKeyBrowse.EnableWindow(m_enabled && m_pOptionsDlg->IsLocalConnection()); m_cSslports.EnableWindow(m_enabled); m_cForceExplicit.EnableWindow(m_enabled && m_allowExplicit); m_cForceProtP.EnableWindow(m_enabled); m_cPass.EnableWindow(m_enabled); } BOOL COptionsSslPage::IsDataValid() { USES_CONVERSION; UpdateData(); std::set<int> portSet; bool valid = true; CString ports = m_sslports; ports.TrimLeft(_T(" ,")); int pos = ports.FindOneOf(_T(" ,")); while (pos != -1 && valid) { int port = _ttoi(ports.Left(pos)); if (port < 1 || port > 65535) { valid = false; break; } else portSet.insert(port); ports = ports.Mid(pos + 1); ports.TrimLeft(_T(" ,")); pos = ports.FindOneOf(_T(" ,")); } if (valid && ports != _T("")) { int port = _ttoi(ports); if (port < 1 || port > 65535) valid = false; else portSet.insert(port); } if (!valid && m_enabled) { m_pOptionsDlg->ShowPage(this); m_cSslports.SetFocus(); AfxMessageBox(_T("Invalid port found, please only enter ports in the range from 1 to 65535.")); return FALSE; } m_sslports = _T(""); for (std::set<int>::const_iterator iter = portSet.begin(); iter != portSet.end(); iter++) { CString tmp; tmp.Format(_T("%d "), *iter); m_sslports += tmp; } m_sslports.TrimRight(' '); UpdateData(false); if (m_enabled && m_pOptionsDlg->IsLocalConnection()) { CAsyncSslSocketLayer layer; CString error; int res = layer.SetCertKeyFile(T2A(m_certificate), T2A(m_key), T2A(m_pass), &error); if (res == SSL_FAILURE_LOADDLLS) { m_pOptionsDlg->ShowPage(this); AfxMessageBox(_T("Failed to load SSL libraries")); return FALSE; } else if (res == SSL_FAILURE_INITSSL) { m_pOptionsDlg->ShowPage(this); AfxMessageBox(_T("Failed to initialize SSL libraries")); return FALSE; } else if (res == SSL_FAILURE_VERIFYCERT) { m_pOptionsDlg->ShowPage(this); if (error != _T("")) AfxMessageBox(error); else AfxMessageBox(_T("Failed to set certificate and private key")); return FALSE; } else if (res) { m_pOptionsDlg->ShowPage(this); return FALSE; } } return true; } void COptionsSslPage::SaveData() { m_pOptionsDlg->SetOption(OPTION_ENABLESSL, m_enabled ? 1 : 0); m_pOptionsDlg->SetOption(OPTION_SSLKEYFILE, m_key); m_pOptionsDlg->SetOption(OPTION_SSLKEYPASS, m_pass); m_pOptionsDlg->SetOption(OPTION_SSLCERTFILE, m_certificate); m_pOptionsDlg->SetOption(OPTION_SSLPORTS, m_sslports); m_pOptionsDlg->SetOption(OPTION_ALLOWEXPLICITSSL, m_allowExplicit ? 1 : 0); m_pOptionsDlg->SetOption(OPTION_SSLFORCEEXPLICIT, m_forceExplicit ? 1 : 0); m_pOptionsDlg->SetOption(OPTION_FORCEPROTP, m_forceProtP ? 1 : 0); } void COptionsSslPage::LoadData() { m_enabled = m_pOptionsDlg->GetOptionVal(OPTION_ENABLESSL) != 0; m_key = m_pOptionsDlg->GetOption(OPTION_SSLKEYFILE); m_pass = m_pOptionsDlg->GetOption(OPTION_SSLKEYPASS); m_certificate = m_pOptionsDlg->GetOption(OPTION_SSLCERTFILE); m_sslports = m_pOptionsDlg->GetOption(OPTION_SSLPORTS); m_allowExplicit = m_pOptionsDlg->GetOptionVal(OPTION_ALLOWEXPLICITSSL) != 0; m_forceExplicit = m_pOptionsDlg->GetOptionVal(OPTION_SSLFORCEEXPLICIT) != 0; m_forceProtP = m_pOptionsDlg->GetOptionVal(OPTION_FORCEPROTP) != 0; } BOOL COptionsSslPage::OnInitDialog() { COptionsPage::OnInitDialog(); OnEnableSsl(); return TRUE; }