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.204
Domains :
Cant Read [ /etc/named.conf ]
User : SISTEMA
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
C: /
xampp /
FileZillaFTP /
source /
Delete
Unzip
Name
Size
Permission
Date
Action
hash_algorithms
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
includes
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
install
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
interface
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
misc
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
res
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
tinyxml
[ DIR ]
drwxrwxrwx
2024-07-26 17:37
Accounts.cpp
12.2
KB
-rw-rw-rw-
2012-04-16 19:30
Accounts.h
2.12
KB
-rw-rw-rw-
2012-04-16 19:30
AdminInterface.cpp
3.1
KB
-rw-rw-rw-
2012-04-16 19:30
AdminInterface.h
1.77
KB
-rw-rw-rw-
2012-04-16 19:30
AdminListenSocket.cpp
1.64
KB
-rw-rw-rw-
2012-04-16 19:30
AdminListenSocket.h
1.58
KB
-rw-rw-rw-
2012-04-16 19:30
AdminSocket.cpp
9.85
KB
-rw-rw-rw-
2012-04-16 19:30
AdminSocket.h
2.1
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncGssSocketLayer.cpp
30.35
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncGssSocketLayer.h
4.76
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncSocketEx.cpp
51.94
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncSocketEx.h
11.75
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncSocketExLayer.cpp
26.22
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncSocketExLayer.h
7
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncSslSocketLayer.cpp
60.12
KB
-rw-rw-rw-
2012-04-16 19:30
AsyncSslSocketLayer.h
8.94
KB
-rw-rw-rw-
2012-04-16 19:30
ControlSocket.cpp
96.33
KB
-rw-rw-rw-
2012-04-16 19:30
ControlSocket.h
4.74
KB
-rw-rw-rw-
2012-04-16 19:30
ExternalIpCheck.cpp
7.82
KB
-rw-rw-rw-
2012-04-16 19:30
ExternalIpCheck.h
1.85
KB
-rw-rw-rw-
2012-04-16 19:30
FileLogger.cpp
6.68
KB
-rw-rw-rw-
2012-04-16 19:30
FileLogger.h
1.35
KB
-rw-rw-rw-
2012-04-16 19:30
FileZilla server.rc
2.65
KB
-rw-rw-rw-
2012-04-16 19:30
FileZilla server.sln
2.75
KB
-rw-rw-rw-
2012-04-16 19:30
FileZilla server.vcproj
39.95
KB
-rw-rw-rw-
2012-04-16 19:30
ListenSocket.cpp
4.23
KB
-rw-rw-rw-
2012-04-16 19:30
ListenSocket.h
2.29
KB
-rw-rw-rw-
2012-04-16 19:30
MFC64bitFix.cpp
2.56
KB
-rw-rw-rw-
2012-04-16 19:30
MFC64bitFix.h
1.45
KB
-rw-rw-rw-
2012-04-16 19:30
OptionLimits.h
1022
B
-rw-rw-rw-
2012-04-16 19:30
OptionTypes.h
6.46
KB
-rw-rw-rw-
2012-04-16 19:30
Options.cpp
31.81
KB
-rw-rw-rw-
2012-04-16 19:30
Options.h
2.59
KB
-rw-rw-rw-
2012-04-16 19:30
Permissions.cpp
61.53
KB
-rw-rw-rw-
2012-04-16 19:30
Permissions.h
6.82
KB
-rw-rw-rw-
2012-04-16 19:30
Server.cpp
42.34
KB
-rw-rw-rw-
2012-04-16 19:30
Server.h
2.05
KB
-rw-rw-rw-
2012-04-16 19:30
ServerThread.cpp
26.13
KB
-rw-rw-rw-
2012-04-16 19:30
ServerThread.h
4.21
KB
-rw-rw-rw-
2012-04-16 19:30
Service.cpp
15.23
KB
-rw-rw-rw-
2012-04-16 19:30
SpeedLimit.cpp
6.87
KB
-rw-rw-rw-
2012-04-16 19:30
SpeedLimit.h
1.96
KB
-rw-rw-rw-
2012-04-16 19:30
StdAfx.cpp
4.41
KB
-rw-rw-rw-
2012-04-16 19:30
StdAfx.h
4.93
KB
-rw-rw-rw-
2012-04-16 19:30
Thread.cpp
2.85
KB
-rw-rw-rw-
2012-04-16 19:30
Thread.h
1.87
KB
-rw-rw-rw-
2012-04-16 19:30
TransferSocket.cpp
28.72
KB
-rw-rw-rw-
2012-04-16 19:30
TransferSocket.h
3.62
KB
-rw-rw-rw-
2012-04-16 19:30
autobanmanager.cpp
3.44
KB
-rw-rw-rw-
2012-04-16 19:30
autobanmanager.h
1.46
KB
-rw-rw-rw-
2012-04-16 19:30
config.h
1.52
KB
-rw-rw-rw-
2012-04-16 19:30
conversion.cpp
1.95
KB
-rw-rw-rw-
2012-04-16 19:30
conversion.h
435
B
-rw-rw-rw-
2012-04-16 19:30
defs.h
1.03
KB
-rw-rw-rw-
2012-04-16 19:30
hash_thread.cpp
4.79
KB
-rw-rw-rw-
2012-04-16 19:30
hash_thread.h
930
B
-rw-rw-rw-
2012-04-16 19:30
iputils.cpp
10.87
KB
-rw-rw-rw-
2012-04-16 19:30
iputils.h
1.32
KB
-rw-rw-rw-
2012-04-16 19:30
platform.h
1.43
KB
-rw-rw-rw-
2012-04-16 19:30
resource.h
515
B
-rw-rw-rw-
2012-04-16 19:30
version.cpp
4.32
KB
-rw-rw-rw-
2012-04-16 19:30
version.h
881
B
-rw-rw-rw-
2012-04-16 19:30
xml_utils.cpp
487
B
-rw-rw-rw-
2012-04-16 19:30
xml_utils.h
236
B
-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. // Permissions.h: Schnittstelle f�r die Klasse CPermissions. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_PERMISSIONS_H__33DEA50E_AA34_4190_9ACD_355BF3D72FE0__INCLUDED_) #define AFX_PERMISSIONS_H__33DEA50E_AA34_4190_9ACD_355BF3D72FE0__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "Accounts.h" #define FOP_READ 0x01 #define FOP_WRITE 0x02 #define FOP_DELETE 0x04 #define FOP_APPEND 0x08 #define FOP_CREATENEW 0x10 #define DOP_DELETE 0x20 #define DOP_CREATE 0x40 #define FOP_LIST 0x80 #define PERMISSION_DENIED 0x01 #define PERMISSION_NOTFOUND 0x02 #define PERMISSION_DIRNOTFILE (0x04 | PERMISSION_DOESALREADYEXIST) #define PERMISSION_FILENOTDIR (0x08 | PERMISSION_DOESALREADYEXIST) #define PERMISSION_DOESALREADYEXIST 0x10 #define PERMISSION_INVALIDNAME 0x20 class TiXmlElement; class CPermissionsHelperWindow; class COptions; class CUser : public t_user { public: CStdString homedir; // Replace :u and :g (if a group it exists) void DoReplacements(CStdString& path) const; /* * t_alias is used in the alias maps. * See implementation of PrepareAliasMap for a detailed * description */ struct t_alias { CStdString targetFolder; CStdString name; }; void PrepareAliasMap(); // GetAliasTarget returns the target of the alias with the specified // path and name or returns an empty string if the alias can't be found. CStdString GetAliasTarget(const CStdString& path, const CStdString& virtualPath, const CStdString& name) const; std::multimap<CStdString, t_alias> aliasMap; std::map<CStdString, CStdString> virtualAliases; std::multimap<CStdString, CStdString> virtualAliasNames; }; struct t_dirlisting { char buffer[8192]; unsigned int len; t_dirlisting *pNext; }; enum _facts { fact_type, fact_size, fact_modify, fact_perm }; class CPermissions { public: CPermissions(); virtual ~CPermissions(); protected: /* * CanonifyPath takes the current and the new server dir as parameter, * concats the paths if neccessary and canonifies the dir: * - remove dot-segments * - convert backslashes into slashes * - remove double slashes */ CStdString CanonifyServerDir(CStdString currentDir, CStdString newDir) const; public: // Change current directory to the specified directory. Used by CWD and CDUP int ChangeCurrentDir(LPCTSTR username, CStdString& currentdir, CStdString &dir); // Retrieve a directory listing. Pass the actual formatting function as last parameter. int GetDirectoryListing(LPCTSTR username, CStdString currentDir, CStdString dirToDisplay, t_dirlisting *&pResult, CStdString& physicalDir, CStdString& logicalDir, void (*addFunc)(t_dirlisting *&pResult, bool isDir, const char* name, const t_directory& directory, __int64 size, FILETIME* pTime, const char* dirToDisplay, bool *enabledFacts), bool useUTF8, bool *enabledFacts = 0); char* ConvertFilename(const CStdString& filename, bool useUTF8); // Full direcoty listing with all details. Used by LIST command static void AddLongListingEntry(t_dirlisting *&pResult, bool isDir, const char* name, const t_directory& directory, __int64 size, FILETIME* pTime, const char* dirToDisplay, bool *); // Directory listing with just the filenames. Used by NLST command static void AddShortListingEntry(t_dirlisting *&pResult, bool isDir, const char* name, const t_directory& directory, __int64 size, FILETIME* pTime, const char* dirToDisplay, bool *); // Directory listing format used by MLSD static void AddFactsListingEntry(t_dirlisting *&pResult, bool isDir, const char* name, const t_directory& directory, __int64 size, FILETIME* pTime, const char* dirToDisplay, bool *enabledFacts); CStdString GetHomeDir(LPCTSTR username, bool physicalPath = false) const; CStdString GetHomeDir(const CUser &user, bool physicalPath = false) const; int CheckDirectoryPermissions(LPCTSTR username, CStdString dirname, CStdString currentdir, int op, CStdString &physicalDir, CStdString &logicalDir); int CheckFilePermissions(LPCTSTR username, CStdString filename, CStdString currentdir, int op, CStdString &physicalDir, CStdString &logicalDir); BOOL GetUser(CStdString username, CUser &userdata) const; BOOL CheckUserLogin(LPCTSTR username, LPCTSTR pass, CUser &userdata, BOOL noPasswordCheck = FALSE); BOOL GetAsCommand(char **pBuffer, DWORD *nBufferLength); BOOL ParseUsersCommand(unsigned char *pData, DWORD dwDataLength); void AutoCreateDirs(LPCTSTR username); void ReloadConfig(); int GetFact(LPCTSTR username, CStdString currentDir, CStdString file, CStdString& fact, CStdString& logicalName, bool enabledFacts[3]); static void DestroyDirlisting(struct t_dirlisting* pListing); protected: bool Init(); void UpdateInstances(); void ReadSettings(); void ReadPermissions(TiXmlElement *pXML, t_group &user, BOOL &bGotHome); void SavePermissions(TiXmlElement *pXML, const t_group &user); void ReadSpeedLimits(TiXmlElement *pXML, t_group &group); void SaveSpeedLimits(TiXmlElement *pXML, const t_group &group); void ReadIpFilter(TiXmlElement *pXML, t_group &group); void SaveIpFilter(TiXmlElement *pXML, const t_group &group); void SetKey(TiXmlElement *pXML, LPCTSTR name, LPCTSTR value); void SetKey(TiXmlElement *pXML, LPCTSTR name, int value); int GetRealDirectory(CStdString directory, const CUser &user, t_directory &ret, BOOL &truematch); static CCriticalSectionWrapper m_sync; bool WildcardMatch(CStdString string, CStdString pattern) const; typedef std::vector<CUser> t_UsersList; typedef std::vector<t_group> t_GroupsList; static t_UsersList m_sUsersList; static t_GroupsList m_sGroupsList; t_UsersList m_UsersList; t_GroupsList m_GroupsList; static std::list<CPermissions *> m_sInstanceList; CPermissionsHelperWindow *m_pPermissionsHelperWindow; friend CPermissionsHelperWindow; }; #endif // !defined(AFX_PERMISSIONS_H__33DEA50E_AA34_4190_9ACD_355BF3D72FE0__INCLUDED_)