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 /
phar /
Delete
Unzip
Name
Size
Permission
Date
Action
.libs
[ DIR ]
drwxr-xr-x
2024-03-12 14:29
phar
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
tests
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
CREDITS
43
B
-rw-rw-r--
2022-10-31 11:36
Makefile.frag
2.71
KB
-rw-rw-r--
2022-10-31 11:36
Makefile.frag.w32
180
B
-rw-rw-r--
2022-10-31 11:36
build_precommand.php
1.24
KB
-rwxrwxr-x
2022-10-31 11:36
config.m4
851
B
-rw-rw-r--
2022-10-31 11:36
config.w32
1.46
KB
-rw-rw-r--
2022-10-31 11:36
dirstream.c
20.09
KB
-rw-rw-r--
2022-10-31 11:36
dirstream.h
2.16
KB
-rw-rw-r--
2022-10-31 11:36
dirstream.lo
327
B
-rw-r--r--
2024-03-12 14:29
dirstream.o
134.25
KB
-rw-r--r--
2024-03-12 14:29
func_interceptors.c
36.4
KB
-rw-rw-r--
2022-10-31 11:36
func_interceptors.h
1.44
KB
-rw-rw-r--
2022-10-31 11:36
func_interceptors.lo
351
B
-rw-r--r--
2024-03-12 14:29
func_interceptors.o
235.08
KB
-rw-r--r--
2024-03-12 14:29
gdbhelp
2.79
KB
-rw-rw-r--
2022-10-31 11:36
makestub.php
3.78
KB
-rw-rw-r--
2022-10-31 11:36
phar.1
10.53
KB
-rw-r--r--
2024-03-12 14:19
phar.1.in
10.54
KB
-rw-rw-r--
2022-10-31 11:36
phar.c
101.75
KB
-rw-rw-r--
2022-10-31 11:36
phar.lo
312
B
-rw-r--r--
2024-03-12 14:29
phar.o
538.33
KB
-rw-r--r--
2024-03-12 14:29
phar.phar
14.54
KB
-rwxr-xr-x
2024-03-12 14:36
phar.phar.1
16
B
-rw-r--r--
2024-03-12 14:19
phar.phar.1.in
16
B
-rw-rw-r--
2022-10-31 11:36
phar.php
50.46
KB
-rw-r--r--
2024-03-12 14:36
phar_internal.h
21.64
KB
-rw-rw-r--
2022-10-31 11:36
phar_object.c
163.89
KB
-rw-rw-r--
2022-10-31 11:36
phar_object.lo
333
B
-rw-r--r--
2024-03-12 14:29
phar_object.o
699.45
KB
-rw-r--r--
2024-03-12 14:29
phar_path_check.c
6.01
KB
-rw-r--r--
2022-10-31 11:36
phar_path_check.lo
345
B
-rw-r--r--
2024-03-12 14:29
phar_path_check.o
98.48
KB
-rw-r--r--
2024-03-12 14:29
phar_path_check.re
3.01
KB
-rw-rw-r--
2022-10-31 11:36
pharzip.h
11.23
KB
-rw-rw-r--
2022-10-31 11:36
php_phar.h
1.61
KB
-rw-rw-r--
2022-10-31 11:36
shortarc.php
8.95
KB
-rw-rw-r--
2022-10-31 11:36
stream.c
32.62
KB
-rw-rw-r--
2022-10-31 11:36
stream.h
2.45
KB
-rw-rw-r--
2022-10-31 11:36
stream.lo
318
B
-rw-r--r--
2024-03-12 14:29
stream.o
171.48
KB
-rw-r--r--
2024-03-12 14:29
stub.h
8.45
KB
-rw-rw-r--
2022-10-31 11:36
tar.c
43.08
KB
-rw-rw-r--
2022-10-31 11:36
tar.h
3.89
KB
-rw-rw-r--
2022-10-31 11:36
tar.lo
309
B
-rw-r--r--
2024-03-12 14:29
tar.o
191.29
KB
-rw-r--r--
2024-03-12 14:29
util.c
53.95
KB
-rw-rw-r--
2022-10-31 11:36
util.lo
312
B
-rw-r--r--
2024-03-12 14:29
util.o
232.45
KB
-rw-r--r--
2024-03-12 14:29
zip.c
53.17
KB
-rw-rw-r--
2022-10-31 11:36
zip.lo
309
B
-rw-r--r--
2024-03-12 14:29
zip.o
233.89
KB
-rw-r--r--
2024-03-12 14:29
Save
Rename
<?php $s = str_replace("\r", '', file_get_contents(dirname(__FILE__) . '/shortarc.php')); $s .= "\nExtract_Phar::go();\n__HALT_COMPILER();"; $news = ''; foreach (token_get_all($s) as $token) { if (is_array($token)) { if ($token[0] == T_COMMENT) { $token[1] = ''; } if ($token[0] == T_WHITESPACE) { $n = str_repeat("\n", substr_count($token[1], "\n")); $token[1] = strlen($n) ? $n : ' '; } $news .= $token[1]; } else { $news .= $token; } } $s = $news . ' ?>'; $slen = strlen($s) - strlen('index.php') - strlen("000"); $s = str_replace('\\', '\\\\', $s); $s = str_replace('"', '\\"', $s); $s = str_replace("\n", '\n', $s); // now we need to find the location of web index file $webs = substr($s, 0, strpos($s, "000")); $s = substr($s, strlen($webs) + strlen("000")); $s1 = substr($s, 0, strpos($s, 'index.php')); $s2 = substr($s, strlen($s1) + strlen('index.php')); $s2 = substr($s2, 0, strpos($s2, 'XXXX')); $s3 = substr($s, strlen($s2) + 4 + strlen($s1) + strlen('index.php')); $stub = '/* +----------------------------------------------------------------------+ | phar php single-file executable PHP extension generated stub | +----------------------------------------------------------------------+ | 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. | +----------------------------------------------------------------------+ | Authors: Gregory Beaver <cellog@php.net> | +----------------------------------------------------------------------+ */ static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub, const int name_len, const int web_len) { '; $s1split = str_split($s1, 2046); $s3split = str_split($s3, 2046); $took = false; foreach ($s1split as $i => $chunk) { if ($took) { $s1split[$i] = substr($chunk, 1); $took = false; } if ($chunk[strlen($chunk) - 1] == '\\') { $s1split[$i] .= $s1split[$i + 1][0]; $took = true; } } foreach ($s3split as $i => $chunk) { if ($took) { $s3split[$i] = substr($chunk, 1); $took = false; } if ($chunk[strlen($chunk) - 1] == '\\') { $s3split[$i] .= $s3split[$i + 1][0]; $took = true; } } $stub .= "\tstatic const char newstub0[] = \"" . $webs . '"; '; foreach ($s1split as $i => $chunk) { $s1count = $i + 1; $stub .= "\tstatic const char newstub1_" . $i . '[] = "' . $chunk . '"; '; } $stub .= "\tstatic const char newstub2[] = \"" . $s2 . "\"; "; foreach ($s3split as $i => $chunk) { $s3count = $i + 1; $stub .= "\tstatic const char newstub3_" . $i . '[] = "' . $chunk . '"; '; } $stub .= "\n\tstatic const int newstub_len = " . $slen . "; \t*len = spprintf(stub, name_len + web_len + newstub_len, \"%s%s" . str_repeat('%s', $s1count) . '%s%s%d' . str_repeat('%s', $s3count) . '", newstub0, web'; foreach ($s1split as $i => $unused) { $stub .= ', newstub1_' . $i; } $stub .= ', index_php, newstub2'; $stub .= ", name_len + web_len + newstub_len"; foreach ($s3split as $i => $unused) { $stub .= ', newstub3_' . $i; } $stub .= "); }"; file_put_contents(dirname(__FILE__) . '/stub.h', $stub."\n"); ?>