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.119
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 /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
addglob.php
303
B
-rw-rw-r--
2022-10-31 11:36
addpattern.php
312
B
-rw-rw-r--
2022-10-31 11:36
comment.php
177
B
-rw-rw-r--
2022-10-31 11:36
create.php
706
B
-rw-rw-r--
2022-10-31 11:36
dir.php
492
B
-rw-rw-r--
2022-10-31 11:36
encryption.php
1.06
KB
-rw-rw-r--
2022-10-31 11:36
extract.php
527
B
-rw-rw-r--
2022-10-31 11:36
extractAll.php
466
B
-rw-rw-r--
2022-10-31 11:36
fopen.php
545
B
-rw-rw-r--
2022-10-31 11:36
get_set_comments.php
898
B
-rw-rw-r--
2022-10-31 11:36
im.php
300
B
-rw-rw-r--
2022-10-31 11:36
odt.php
505
B
-rw-rw-r--
2022-10-31 11:36
oldapi.php
420
B
-rw-rw-r--
2022-10-31 11:36
set_compression.php
623
B
-rw-rw-r--
2022-10-31 11:36
test.odt
6.02
KB
-rw-rw-r--
2022-10-31 11:36
test.zip
553
B
-rw-rw-r--
2022-10-31 11:36
test1.zip
681
B
-rw-rw-r--
2022-10-31 11:36
test_im.zip
1.06
KB
-rw-rw-r--
2022-10-31 11:36
test_with_comment.zip
560
B
-rw-rw-r--
2022-10-31 11:36
too.php
18
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
<?php error_reporting(E_ALL); if (!extension_loaded('zip')) { dl('zip.so'); } $name = __DIR__ . '/encrypted.zip'; $pass = 'secret'; $file = 'foo.php'; echo "== Create with per file password\n"; $zip = new ZipArchive; $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE); $zip->addFile(__FILE__, $file); $zip->setEncryptionName($file, ZipArchive::EM_AES_256, $pass); $zip->close(); echo "== Create with global password\n"; $zip = new ZipArchive; $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE); $zip->setPassword($pass); $zip->addFile(__FILE__, $file); $zip->setEncryptionName($file, ZipArchive::EM_AES_256); $zip->close(); echo "== Stat\n"; $zip->open($name); print_r($zip->statName($file)); echo "== Read\n"; $zip->setPassword($pass); $text = $zip->getFromName($file); printf("Size = %d\n", strlen($text)); $zip->close(); echo "== Stream with context\n"; $ctx = stream_context_create(array( 'zip' => array( 'password' => $pass ) )); $text = file_get_contents("zip://$name#$file", false, $ctx); printf("Size = %d\n", strlen($text));