Hackfut Security File Manager
Current Path:
/opt/passenger-5.3.7-4.el6.cloudlinux/src/cxx_supportlib/FileTools
opt
/
passenger-5.3.7-4.el6.cloudlinux
/
src
/
cxx_supportlib
/
FileTools
/
📁
..
📄
FileManip.cpp
(8.37 KB)
📄
FileManip.h
(8.4 KB)
📄
LargeFiles.cpp
(665 B)
📄
LargeFiles.h
(1.7 KB)
📄
PathManip.cpp
(6.17 KB)
📄
PathManip.h
(3.09 KB)
📄
PathManipCBindings.cpp
(2.48 KB)
📄
PathManipCBindings.h
(1.85 KB)
📄
PathSecurityCheck.cpp
(2.84 KB)
📄
PathSecurityCheck.h
(2.93 KB)
Editing: LargeFiles.cpp
#ifndef _FILE_OFFSET_BITS #define _FILE_OFFSET_BITS 64 #endif #ifndef _LARGE_FILES #define _LARGE_FILES 1 #endif #ifndef _LARGEFILE_SOURCE #define _LARGEFILE_SOURCE #endif #ifndef _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE #endif #include <FileTools/LargeFiles.h> #include <stdio.h> #include <stdlib.h> namespace Passenger { ::FILE * lfs_fopen(const char *filename, const char *mode) { return fopen(filename, mode); } ::FILE * lfs_fdopen(int filedes, const char *mode) { return fdopen(filedes, mode); } int lfs_mkstemp(char *templ) { #ifdef __linux__ return mkstemp64(templ); #else return mkstemp(templ); #endif } } // namespace Passenger
Upload File
Create Folder