Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.172
Cant Read [ /etc/named.conf ]
7.4.32
finalho
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
local /
src /
apcu-5.1.19 /
[ HOME SHELL ]
Name
Size
Permission
Action
.libs
[ DIR ]
drwxr-xr-x
autom4te.cache
[ DIR ]
drwxr-xr-x
build
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
modules
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
INSTALL
13.63
KB
-rw-rw-r--
LICENSE
3.14
KB
-rw-rw-r--
Makefile
13.36
KB
-rw-r--r--
Makefile.frag
270
B
-rw-rw-r--
Makefile.fragments
0
B
-rw-r--r--
Makefile.objects
4.18
KB
-rw-r--r--
NOTICE
1.7
KB
-rw-rw-r--
README.md
1.47
KB
-rw-rw-r--
TECHNOTES.txt
13.04
KB
-rw-rw-r--
apc.c
4.33
KB
-rw-rw-r--
apc.dep
5.33
KB
-rw-r--r--
apc.h
6.09
KB
-rw-rw-r--
apc.lo
297
B
-rw-r--r--
apc.php
37.09
KB
-rw-rw-r--
apc_api.h
1.24
KB
-rw-rw-r--
apc_arginfo.h
113
B
-rw-rw-r--
apc_cache.c
31.24
KB
-rw-rw-r--
apc_cache.dep
6.14
KB
-rw-r--r--
apc_cache.h
1.92
KB
-rw-rw-r--
apc_cache.lo
309
B
-rw-r--r--
apc_cache_api.h
11.85
KB
-rw-rw-r--
apc_globals.h
3.55
KB
-rw-rw-r--
apc_iterator.c
15.88
KB
-rw-rw-r--
apc_iterator.dep
6.29
KB
-rw-r--r--
apc_iterator.h
3.79
KB
-rw-rw-r--
apc_iterator.lo
315
B
-rw-r--r--
apc_iterator.stub.php
753
B
-rw-rw-r--
apc_iterator_arginfo.h
2.29
KB
-rw-rw-r--
apc_iterator_legacy_arginfo.h
2.11
KB
-rw-rw-r--
apc_lock.c
7.1
KB
-rw-rw-r--
apc_lock.dep
5.09
KB
-rw-r--r--
apc_lock.h
1.27
KB
-rw-rw-r--
apc_lock.lo
307
B
-rw-r--r--
apc_lock_api.h
4.54
KB
-rw-rw-r--
apc_mmap.c
4.26
KB
-rw-rw-r--
apc_mmap.dep
5.22
KB
-rw-r--r--
apc_mmap.h
1.94
KB
-rw-rw-r--
apc_mmap.lo
307
B
-rw-r--r--
apc_mutex.c
2.24
KB
-rw-rw-r--
apc_mutex.dep
5.05
KB
-rw-r--r--
apc_mutex.h
2.25
KB
-rw-rw-r--
apc_mutex.lo
309
B
-rw-r--r--
apc_persist.c
17.47
KB
-rw-rw-r--
apc_persist.dep
5.27
KB
-rw-r--r--
apc_persist.lo
313
B
-rw-r--r--
apc_php.h
2.79
KB
-rw-rw-r--
apc_serializer.h
2.96
KB
-rw-rw-r--
apc_shm.c
3.57
KB
-rw-rw-r--
apc_shm.dep
5.13
KB
-rw-r--r--
apc_shm.h
2.04
KB
-rw-rw-r--
apc_shm.lo
305
B
-rw-r--r--
apc_signal.c
6.68
KB
-rw-rw-r--
apc_signal.dep
5.6
KB
-rw-r--r--
apc_signal.h
1.8
KB
-rw-rw-r--
apc_signal.lo
311
B
-rw-r--r--
apc_sma.c
16.45
KB
-rw-rw-r--
apc_sma.dep
5.46
KB
-rw-r--r--
apc_sma.h
1.75
KB
-rw-rw-r--
apc_sma.lo
305
B
-rw-r--r--
apc_sma_api.h
5.48
KB
-rw-rw-r--
apc_stack.c
2.9
KB
-rw-rw-r--
apc_stack.dep
5.05
KB
-rw-r--r--
apc_stack.h
2.22
KB
-rw-rw-r--
apc_stack.lo
309
B
-rw-r--r--
apc_strings.h
1.45
KB
-rw-rw-r--
apc_windows_srwlock_kernel.c
1.93
KB
-rw-rw-r--
apc_windows_srwlock_kernel.h
1.8
KB
-rw-rw-r--
apcu.la
780
B
-rw-r--r--
config.h
2.03
KB
-rw-r--r--
config.h.in
1.89
KB
-rw-r--r--
config.log
23.11
KB
-rw-r--r--
config.m4
9.39
KB
-rw-rw-r--
config.nice
190
B
-rwxr-xr-x
config.status
21
KB
-rwxr-xr-x
config.w32
1.06
KB
-rw-rw-r--
configure
448.17
KB
-rwxr-xr-x
configure.ac
5.17
KB
-rw-r--r--
libtool
205.98
KB
-rwxr-xr-x
php74_shim.h
4.19
KB
-rw-rw-r--
php_apc.c
21.39
KB
-rw-rw-r--
php_apc.dep
6.93
KB
-rw-r--r--
php_apc.h
2.23
KB
-rw-rw-r--
php_apc.lo
305
B
-rw-r--r--
php_apc.stub.php
1.23
KB
-rw-rw-r--
php_apc_arginfo.h
3.71
KB
-rw-rw-r--
php_apc_legacy_arginfo.h
2.91
KB
-rw-rw-r--
run-tests.php
139.39
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : apc_shm.c
/* +----------------------------------------------------------------------+ | APC | +----------------------------------------------------------------------+ | Copyright (c) 2006-2011 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. | +----------------------------------------------------------------------+ | Authors: Daniel Cowgill <dcowgill@communityconnect.com> | | Rasmus Lerdorf <rasmus@php.net> | +----------------------------------------------------------------------+ This software was contributed to PHP by Community Connect Inc. in 2002 and revised in 2005 by Yahoo! Inc. to add support for PHP 5.1. Future revisions and derivatives of this source code must acknowledge Community Connect Inc. as the original contributor of this module by leaving this note intact in the source code. All other licensing and usage conditions are those of the PHP Group. */ #include "apc_shm.h" #include "apc.h" #ifdef PHP_WIN32 /* shm functions are available in TSRM */ #include <tsrm/tsrm_win32.h> #define key_t long #else #include <sys/ipc.h> #include <sys/shm.h> #include <sys/stat.h> #endif #ifndef SHM_R # define SHM_R 0444 /* read permission */ #endif #ifndef SHM_A # define SHM_A 0222 /* write permission */ #endif int apc_shm_create(int proj, size_t size) { int shmid; /* shared memory id */ int oflag; /* permissions on shm */ key_t key = IPC_PRIVATE; /* shm key */ oflag = IPC_CREAT | SHM_R | SHM_A; if ((shmid = shmget(key, size, oflag)) < 0) { zend_error_noreturn(E_CORE_ERROR, "apc_shm_create: shmget(%d, %zd, %d) failed: %s. It is possible that the chosen SHM segment size is higher than the operation system allows. Linux has usually a default limit of 32MB per segment.", key, size, oflag, strerror(errno)); } return shmid; } void apc_shm_destroy(int shmid) { /* we expect this call to fail often, so we do not check */ shmctl(shmid, IPC_RMID, 0); } apc_segment_t apc_shm_attach(int shmid, size_t size) { apc_segment_t segment; /* shm segment */ if ((zend_long)(segment.shmaddr = shmat(shmid, 0, 0)) == -1) { zend_error_noreturn(E_CORE_ERROR, "apc_shm_attach: shmat failed:"); } #ifdef APC_MEMPROTECT if ((zend_long)(segment.roaddr = shmat(shmid, 0, SHM_RDONLY)) == -1) { segment.roaddr = NULL; } #endif segment.size = size; /* * We set the shmid for removal immediately after attaching to it. The * segment won't disappear until all processes have detached from it. */ apc_shm_destroy(shmid); return segment; } void apc_shm_detach(apc_segment_t* segment) { if (shmdt(segment->shmaddr) < 0) { apc_warning("apc_shm_detach: shmdt failed:"); } #ifdef APC_MEMPROTECT if (segment->roaddr && shmdt(segment->roaddr) < 0) { apc_warning("apc_shm_detach: shmdt failed:"); } #endif } /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: * vim>600: noexpandtab sw=4 ts=4 sts=4 fdm=marker * vim<600: noexpandtab sw=4 ts=4 sts=4 */
Close