at path:
ROOT
/
unzip.php
run:
R
W
Run
.cn
DIR
2026-11-27 22:09:24
R
W
Run
.well-known
DIR
2026-11-22 20:15:14
R
W
Run
8cb9b8
DIR
2026-10-09 15:13:27
R
W
Run
blx
DIR
2026-11-29 02:28:19
R
W
Run
chnd
DIR
2026-11-26 19:52:02
R
W
Run
db0c9f
DIR
2026-11-05 11:53:49
R
W
Run
docx
DIR
2026-11-16 17:42:03
R
W
Run
ki
DIR
2026-11-23 05:09:28
R
W
Run
well-known
DIR
2026-11-28 19:53:18
R
W
Run
wp-content
DIR
2026-11-28 19:53:14
R
W
Run
wp-includes
DIR
2026-10-28 05:46:05
R
W
Run
2.php
6.83 KB
2026-11-25 01:49:47
R
W
Run
Private-Exploit-Ova.php
43.42 KB
2026-11-27 06:25:03
R
W
Run
Delete
Rename
SupTest.php
2.25 KB
2026-11-28 15:09:58
R
W
Run
Delete
Rename
a.php
786 By
2036-11-26 02:36:31
R
W
Run
Delete
Rename
ac.php
33.19 KB
2026-11-27 03:20:24
R
W
Run
Delete
Rename
bccpbkpo.php
11.04 KB
2026-11-22 06:03:17
R
W
Run
Delete
Rename
bkcrvtxx.php
83.4 KB
2026-11-22 12:07:44
R
W
Run
Delete
Rename
bots.php
786 By
2036-11-26 02:36:30
R
W
Run
Delete
Rename
bxxanwem.php
215.71 KB
2026-11-22 00:58:23
R
W
Run
Delete
Rename
chosen.php
122.65 KB
2026-11-26 06:03:27
R
W
Run
Delete
Rename
curl.php
1.39 KB
2026-11-27 02:20:09
R
W
Run
Delete
Rename
ddodgchs.php
11.04 KB
2026-11-22 00:59:03
R
W
Run
Delete
Rename
deep_check_eed7796b6137f6172808e994a040f2d3.txt
46 By
2026-11-23 19:05:15
R
W
Run
Delete
Rename
diupjlsu.php
11.04 KB
2026-11-22 06:11:03
R
W
Run
Delete
Rename
dmippdep.php
83.4 KB
2026-11-22 00:59:09
R
W
Run
Delete
Rename
dswssquw.php
11.04 KB
2026-11-24 12:33:57
R
W
Run
Delete
Rename
dzjeupdk.php
4.2 KB
2026-11-28 05:51:19
R
W
Run
Delete
Rename
elcyydwo.php
83.4 KB
2026-11-22 00:58:37
R
W
Run
Delete
Rename
error_log
24 MB
2026-11-29 02:31:52
R
W
Run
Delete
Rename
ewifycth.php
4.2 KB
2026-11-28 05:51:23
R
W
Run
Delete
Rename
features.php
9.84 KB
2026-11-27 03:20:24
R
W
Run
Delete
Rename
fjwguycw.php
11.04 KB
2026-11-22 00:58:41
R
W
Run
Delete
Rename
fzuigeqg.php
11.04 KB
2026-11-22 06:02:40
R
W
Run
Delete
Rename
fzvxiaxl.php
2.25 KB
2026-11-24 12:34:03
R
W
Run
Delete
Rename
gllkdbny.php
11.04 KB
2026-11-24 12:33:53
R
W
Run
Delete
Rename
goods.php
527 By
2026-11-23 21:42:35
R
W
Run
Delete
Rename
idx.php
786 By
2036-11-26 02:36:33
R
W
Run
Delete
Rename
iehovxdf.php
11.04 KB
2026-11-22 06:02:23
R
W
Run
Delete
Rename
ioriqdmq.php
11.04 KB
2026-11-27 06:42:52
R
W
Run
Delete
Rename
iqlbepvj.php
83.4 KB
2026-11-22 06:02:29
R
W
Run
Delete
Rename
kdbdlgbr.php
11.04 KB
2026-11-22 00:58:39
R
W
Run
Delete
Rename
kqhufqwp.php
11.04 KB
2026-11-22 06:03:37
R
W
Run
Delete
Rename
lpcrrfur.php
83.4 KB
2026-11-22 06:02:45
R
W
Run
Delete
Rename
lscahsag.php
136.81 KB
2026-11-22 06:11:09
R
W
Run
Delete
Rename
mah.php
0 By
2025-10-01 09:37:32
R
W
Run
mbtlhdtd.php
11.04 KB
2026-11-22 00:58:31
R
W
Run
Delete
Rename
mjvlsiwq.php
2.25 KB
2026-11-24 12:34:01
R
W
Run
Delete
Rename
mxmufcvi.php
11.04 KB
2026-11-22 06:02:37
R
W
Run
Delete
Rename
nyopfzvi.php
11.04 KB
2026-11-22 06:02:17
R
W
Run
Delete
Rename
pbzusota.php
4.2 KB
2026-11-27 06:42:58
R
W
Run
Delete
Rename
pzfeuyff.php
166.15 KB
2026-11-22 06:03:43
R
W
Run
Delete
Rename
qffhzgey.php
83.4 KB
2026-11-22 12:07:31
R
W
Run
Delete
Rename
qlwuwepo.php
11.04 KB
2026-11-22 12:07:25
R
W
Run
Delete
Rename
qwkkpgoc.php
215.71 KB
2026-11-22 00:58:47
R
W
Run
Delete
Rename
qygcwzrq.php
166.15 KB
2026-11-22 06:03:23
R
W
Run
Delete
Rename
rtlhwoou.php
11.04 KB
2026-11-28 05:51:18
R
W
Run
Delete
Rename
seller_C3SJ.php
677 By
2026-11-25 17:23:03
R
W
Run
Delete
Rename
seller_SL8R.php
677 By
2026-11-25 17:09:00
R
W
Run
Delete
Rename
simple.php
15.05 KB
2026-11-26 06:03:27
R
W
Run
Delete
Rename
svlxixzz.php
11.04 KB
2026-11-22 00:58:16
R
W
Run
Delete
Rename
tesT7vx.php
2.87 KB
2026-11-17 16:54:41
R
W
Run
Delete
Rename
tesTF00.php
2.87 KB
2026-11-19 15:47:43
R
W
Run
Delete
Rename
tesTLzD.php
2.87 KB
2026-11-22 01:11:44
R
W
Run
Delete
Rename
tesTWXU.php
2.87 KB
2026-11-22 01:11:35
R
W
Run
Delete
Rename
tesTk29.php
2.87 KB
2026-11-17 16:55:09
R
W
Run
Delete
Rename
tesTp5O.php
2.87 KB
2026-11-19 15:47:39
R
W
Run
Delete
Rename
test.php
742 By
2026-11-26 21:12:26
R
W
Run
Delete
Rename
test123Cp.php
183 By
2026-11-25 19:06:05
R
W
Run
Delete
Rename
tyodvaku.php
11.04 KB
2026-11-22 00:58:16
R
W
Run
Delete
Rename
unzip.php
12.4 KB
2026-11-26 21:12:26
R
W
Run
Delete
Rename
uoewimgc.php
11.04 KB
2026-11-22 12:07:38
R
W
Run
Delete
Rename
upload_test_f013f16b68b727efcbafb42dfd3867b3.txt
47 By
2026-11-23 19:05:10
R
W
Run
Delete
Rename
wp-check.php
577 By
2026-11-19 21:19:28
R
W
Run
Delete
Rename
wp-index.php
21.05 KB
2026-11-25 13:44:36
R
W
Run
Delete
Rename
wp-qby.php
0 By
2026-11-05 22:01:05
R
W
Run
Delete
Rename
xvpicirl.php
136.81 KB
2026-11-22 06:10:51
R
W
Run
Delete
Rename
xwiiycko.php
11.04 KB
2026-11-28 05:51:14
R
W
Run
Delete
Rename
ycvlmyii.php
4.2 KB
2026-11-27 06:43:02
R
W
Run
Delete
Rename
yfnytmmz.php
11.04 KB
2026-11-27 06:42:57
R
W
Run
Delete
Rename
zrderady.php
11.04 KB
2026-11-28 05:51:43
R
W
Run
Delete
Rename
ztxrneeb.php
11.04 KB
2026-11-22 06:10:45
R
W
Run
Delete
Rename
error_log
up
📄
unzip.php
Save
<?php /** * The Unzipper extracts .zip or .rar archives and .gz files on webservers. * It's handy if you do not have shell access. E.g. if you want to upload a lot * of files (php framework or image collection) as an archive to save time. * As of version 0.1.0 it also supports creating archives. * * @author Andreas Tasch, at[tec], attec.at * @license GNU GPL v3 * @package attec.toolbox * @version 0.1.1 */ define('VERSION', '0.1.1'); $timestart = microtime(TRUE); $GLOBALS['status'] = array(); $unzipper = new Unzipper; if (isset($_POST['dounzip'])) { // Check if an archive was selected for unzipping. $archive = isset($_POST['zipfile']) ? strip_tags($_POST['zipfile']) : ''; $destination = isset($_POST['extpath']) ? strip_tags($_POST['extpath']) : ''; $unzipper->prepareExtraction($archive, $destination); } if (isset($_POST['dozip'])) { $zippath = !empty($_POST['zippath']) ? strip_tags($_POST['zippath']) : '.'; // Resulting zipfile e.g. zipper--2016-07-23--11-55.zip. $zipfile = 'zipper-' . date("Y-m-d--H-i") . '.zip'; Zipper::zipDir($zippath, $zipfile); } $timeend = microtime(TRUE); $time = round($timeend - $timestart, 4); /** * Class Unzipper */ class Unzipper { public $localdir = '.'; public $zipfiles = array(); public function __construct() { // Read directory and pick .zip, .rar and .gz files. if ($dh = opendir($this->localdir)) { while (($file = readdir($dh)) !== FALSE) { if (pathinfo($file, PATHINFO_EXTENSION) === 'zip' || pathinfo($file, PATHINFO_EXTENSION) === 'gz' || pathinfo($file, PATHINFO_EXTENSION) === 'rar' ) { $this->zipfiles[] = $file; } } closedir($dh); if (!empty($this->zipfiles)) { $GLOBALS['status'] = array('info' => '.zip or .gz or .rar files found, ready for extraction'); } else { $GLOBALS['status'] = array('info' => 'No .zip or .gz or rar files found. So only zipping functionality available.'); } } } /** * Prepare and check zipfile for extraction. * * @param string $archive * The archive name including file extension. E.g. my_archive.zip. * @param string $destination * The relative destination path where to extract files. */ public function prepareExtraction($archive, $destination = '') { // Determine paths. if (empty($destination)) { $extpath = $this->localdir; } else { $extpath = $this->localdir . '/' . $destination; // Todo: move this to extraction function. if (!is_dir($extpath)) { mkdir($extpath); } } // Only local existing archives are allowed to be extracted. if (in_array($archive, $this->zipfiles)) { self::extract($archive, $extpath); } } /** * Checks file extension and calls suitable extractor functions. * * @param string $archive * The archive name including file extension. E.g. my_archive.zip. * @param string $destination * The relative destination path where to extract files. */ public static function extract($archive, $destination) { $ext = pathinfo($archive, PATHINFO_EXTENSION); switch ($ext) { case 'zip': self::extractZipArchive($archive, $destination); break; case 'gz': self::extractGzipFile($archive, $destination); break; case 'rar': self::extractRarArchive($archive, $destination); break; } } /** * Decompress/extract a zip archive using ZipArchive. * * @param $archive * @param $destination */ public static function extractZipArchive($archive, $destination) { // Check if webserver supports unzipping. if (!class_exists('ZipArchive')) { $GLOBALS['status'] = array('error' => 'Error: Your PHP version does not support unzip functionality.'); return; } $zip = new ZipArchive; // Check if archive is readable. if ($zip->open($archive) === TRUE) { // Check if destination is writable if (is_writeable($destination . '/')) { $zip->extractTo($destination); $zip->close(); $GLOBALS['status'] = array('success' => 'Files unzipped successfully'); } else { $GLOBALS['status'] = array('error' => 'Error: Directory not writeable by webserver.'); } } else { $GLOBALS['status'] = array('error' => 'Error: Cannot read .zip archive.'); } } /** * Decompress a .gz File. * * @param string $archive * The archive name including file extension. E.g. my_archive.zip. * @param string $destination * The relative destination path where to extract files. */ public static function extractGzipFile($archive, $destination) { // Check if zlib is enabled if (!function_exists('gzopen')) { $GLOBALS['status'] = array('error' => 'Error: Your PHP has no zlib support enabled.'); return; } $filename = pathinfo($archive, PATHINFO_FILENAME); $gzipped = gzopen($archive, "rb"); $file = fopen($destination . '/' . $filename, "w"); while ($string = gzread($gzipped, 4096)) { fwrite($file, $string, strlen($string)); } gzclose($gzipped); fclose($file); // Check if file was extracted. if (file_exists($destination . '/' . $filename)) { $GLOBALS['status'] = array('success' => 'File unzipped successfully.'); // If we had a tar.gz file, let's extract that tar file. if (pathinfo($destination . '/' . $filename, PATHINFO_EXTENSION) == 'tar') { $phar = new PharData($destination . '/' . $filename); if ($phar->extractTo($destination)) { $GLOBALS['status'] = array('success' => 'Extracted tar.gz archive successfully.'); // Delete .tar. unlink($destination . '/' . $filename); } } } else { $GLOBALS['status'] = array('error' => 'Error unzipping file.'); } } /** * Decompress/extract a Rar archive using RarArchive. * * @param string $archive * The archive name including file extension. E.g. my_archive.zip. * @param string $destination * The relative destination path where to extract files. */ public static function extractRarArchive($archive, $destination) { // Check if webserver supports unzipping. if (!class_exists('RarArchive')) { $GLOBALS['status'] = array('error' => 'Error: Your PHP version does not support .rar archive functionality. <a class="info" href="http://php.net/manual/en/rar.installation.php" target="_blank">How to install RarArchive</a>'); return; } // Check if archive is readable. if ($rar = RarArchive::open($archive)) { // Check if destination is writable if (is_writeable($destination . '/')) { $entries = $rar->getEntries(); foreach ($entries as $entry) { $entry->extract($destination); } $rar->close(); $GLOBALS['status'] = array('success' => 'Files extracted successfully.'); } else { $GLOBALS['status'] = array('error' => 'Error: Directory not writeable by webserver.'); } } else { $GLOBALS['status'] = array('error' => 'Error: Cannot read .rar archive.'); } } } /** * Class Zipper * * Copied and slightly modified from http://at2.php.net/manual/en/class.ziparchive.php#110719 * @author umbalaconmeogia */ class Zipper { /** * Add files and sub-directories in a folder to zip file. * * @param string $folder * Path to folder that should be zipped. * * @param ZipArchive $zipFile * Zipfile where files end up. * * @param int $exclusiveLength * Number of text to be exclusived from the file path. */ private static function folderToZip($folder, &$zipFile, $exclusiveLength) { $handle = opendir($folder); while (FALSE !== $f = readdir($handle)) { // Check for local/parent path or zipping file itself and skip. if ($f != '.' && $f != '..' && $f != basename(__FILE__)) { $filePath = "$folder/$f"; // Remove prefix from file path before add to zip. $localPath = substr($filePath, $exclusiveLength); if (is_file($filePath)) { $zipFile->addFile($filePath, $localPath); } elseif (is_dir($filePath)) { // Add sub-directory. $zipFile->addEmptyDir($localPath); self::folderToZip($filePath, $zipFile, $exclusiveLength); } } } closedir($handle); } /** * Zip a folder (including itself). * * Usage: * Zipper::zipDir('path/to/sourceDir', 'path/to/out.zip'); * * @param string $sourcePath * Relative path of directory to be zipped. * * @param string $outZipPath * Relative path of the resulting output zip file. */ public static function zipDir($sourcePath, $outZipPath) { $pathInfo = pathinfo($sourcePath); $parentPath = $pathInfo['dirname']; $dirName = $pathInfo['basename']; $z = new ZipArchive(); $z->open($outZipPath, ZipArchive::CREATE); $z->addEmptyDir($dirName); if ($sourcePath == $dirName) { self::folderToZip($sourcePath, $z, 0); } else { self::folderToZip($sourcePath, $z, strlen("$parentPath/")); } $z->close(); $GLOBALS['status'] = array('success' => 'Successfully created archive ' . $outZipPath); } } ?> <!DOCTYPE html> <html> <head> <title>File Unzipper + Zipper</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style type="text/css"> <!-- body { font-family: Arial, sans-serif; line-height: 150%; } label { display: block; margin-top: 20px; } fieldset { border: 0; background-color: #EEE; margin: 10px 0 10px 0; } .select { padding: 5px; font-size: 110%; } .status { margin: 0; margin-bottom: 20px; padding: 10px; font-size: 80%; background: #EEE; border: 1px dotted #DDD; } .status--ERROR { background-color: red; color: white; font-size: 120%; } .status--SUCCESS { background-color: green; font-weight: bold; color: white; font-size: 120% } .small { font-size: 0.7rem; font-weight: normal; } .version { font-size: 80%; } .form-field { border: 1px solid #AAA; padding: 8px; width: 280px; } .info { margin-top: 0; font-size: 80%; color: #777; } .submit { background-color: #378de5; border: 0; color: #ffffff; font-size: 15px; padding: 10px 24px; margin: 20px 0 20px 0; text-decoration: none; } .submit:hover { background-color: #2c6db2; cursor: pointer; } --> </style> </head> <body> <p class="status status--<?php echo strtoupper(key($GLOBALS['status'])); ?>"> Status: <?php echo reset($GLOBALS['status']); ?><br/> <span class="small">Processing Time: <?php echo $time; ?> seconds</span> </p> <form action="" method="POST"> <fieldset> <h1>Archive Unzipper</h1> <label for="zipfile">Select .zip or .rar archive or .gz file you want to extract:</label> <select name="zipfile" size="1" class="select"> <?php foreach ($unzipper->zipfiles as $zip) { echo "<option>$zip</option>"; } ?> </select> <label for="extpath">Extraction path (optional):</label> <input type="text" name="extpath" class="form-field" /> <p class="info">Enter extraction path without leading or trailing slashes (e.g. "mypath"). If left empty current directory will be used.</p> <input type="submit" name="dounzip" class="submit" value="Unzip Archive"/> </fieldset> <fieldset> <h1>Archive Zipper</h1> <label for="zippath">Path that should be zipped (optional):</label> <input type="text" name="zippath" class="form-field" /> <p class="info">Enter path to be zipped without leading or trailing slashes (e.g. "zippath"). If left empty current directory will be used.</p> <input type="submit" name="dozip" class="submit" value="Zip Archive"/> </fieldset> </form> <p class="version">Unzipper version: <?php echo VERSION; ?></p> </body> </html>