Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
zip /
Delete
Unzip
Name
Size
Permission
Date
Action
examples
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
tests
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
CREDITS
35
B
-rw-rw-r--
2022-10-31 11:36
config.m4
990
B
-rw-rw-r--
2022-10-31 11:36
config.w32
918
B
-rw-rw-r--
2022-10-31 11:36
php_zip.c
84.9
KB
-rw-rw-r--
2022-10-31 11:36
php_zip.h
2.67
KB
-rw-rw-r--
2022-10-31 11:36
zip_stream.c
8.23
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt. | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Author: Pierre-Alain Joye <pajoye@php.net> | +----------------------------------------------------------------------+ */ #ifndef PHP_ZIP_H #define PHP_ZIP_H extern zend_module_entry zip_module_entry; #define phpext_zip_ptr &zip_module_entry #ifdef ZTS #include "TSRM.h" #endif #include <zip.h> #ifndef ZIP_OVERWRITE #define ZIP_OVERWRITE ZIP_TRUNCATE #endif #define PHP_ZIP_VERSION "1.15.6" #define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename) typedef struct _ze_zip_rsrc { struct zip *za; zip_uint64_t index_current; zip_int64_t num_files; } zip_rsrc; typedef zip_rsrc * zip_rsrc_ptr; typedef struct _ze_zip_read_rsrc { struct zip_file *zf; struct zip_stat sb; } zip_read_rsrc; #define ZIPARCHIVE_ME(name, arg_info, flags) {#name, c_ziparchive_ ##name, arg_info,(uint32_t) (sizeof(arg_info)/sizeof(struct _zend_arg_info)-1), flags }, #define ZIPARCHIVE_METHOD(name) ZEND_NAMED_FUNCTION(c_ziparchive_ ##name) /* Extends zend object */ typedef struct _ze_zip_object { struct zip *za; char **buffers; HashTable *prop_handler; char *filename; int filename_len; int buffers_cnt; zend_object zo; } ze_zip_object; static inline ze_zip_object *php_zip_fetch_object(zend_object *obj) { return (ze_zip_object *)((char*)(obj) - XtOffsetOf(ze_zip_object, zo)); } #define Z_ZIP_P(zv) php_zip_fetch_object(Z_OBJ_P((zv))) php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); php_stream *php_stream_zip_open(const char *filename, const char *path, const char *mode STREAMS_DC); extern const php_stream_wrapper php_stream_zip_wrapper; #endif /* PHP_ZIP_H */