Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 3.145.88.241
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
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
/
home /
baltic /
web /
includes /
filetransfer /
[ HOME SHELL ]
Name
Size
Permission
Action
filetransfer.inc
11.73
KB
-rw-r--r--
ftp.inc
4.68
KB
-rw-r--r--
local.inc
2.71
KB
-rw-r--r--
ssh.inc
4.03
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : local.inc
<?php /** * The local connection class for copying files as the httpd user. */ class FileTransferLocal extends FileTransfer implements FileTransferChmodInterface { function connect() { // No-op } static function factory($jail, $settings) { return new FileTransferLocal($jail); } protected function copyFileJailed($source, $destination) { if (@!copy($source, $destination)) { throw new FileTransferException('Cannot copy %source to %destination.', NULL, array('%source' => $source, '%destination' => $destination)); } } protected function createDirectoryJailed($directory) { if (!is_dir($directory) && @!mkdir($directory, 0777, TRUE)) { throw new FileTransferException('Cannot create directory %directory.', NULL, array('%directory' => $directory)); } } protected function removeDirectoryJailed($directory) { if (!is_dir($directory)) { // Programmer error assertion, not something we expect users to see. throw new FileTransferException('removeDirectoryJailed() called with a path (%directory) that is not a directory.', NULL, array('%directory' => $directory)); } foreach (new RecursiveIteratorIterator(new SkipDotsRecursiveDirectoryIterator($directory), RecursiveIteratorIterator::CHILD_FIRST) as $filename => $file) { if ($file->isDir()) { if (@!drupal_rmdir($filename)) { throw new FileTransferException('Cannot remove directory %directory.', NULL, array('%directory' => $filename)); } } elseif ($file->isFile()) { if (@!drupal_unlink($filename)) { throw new FileTransferException('Cannot remove file %file.', NULL, array('%file' => $filename)); } } } if (@!drupal_rmdir($directory)) { throw new FileTransferException('Cannot remove directory %directory.', NULL, array('%directory' => $directory)); } } protected function removeFileJailed($file) { if (@!drupal_unlink($file)) { throw new FileTransferException('Cannot remove file %file.', NULL, array('%file' => $file)); } } public function isDirectory($path) { return is_dir($path); } public function isFile($path) { return is_file($path); } public function chmodJailed($path, $mode, $recursive) { if ($recursive && is_dir($path)) { foreach (new RecursiveIteratorIterator(new SkipDotsRecursiveDirectoryIterator($path), RecursiveIteratorIterator::SELF_FIRST) as $filename => $file) { if (@!chmod($filename, $mode)) { throw new FileTransferException('Cannot chmod %path.', NULL, array('%path' => $filename)); } } } elseif (@!chmod($path, $mode)) { throw new FileTransferException('Cannot chmod %path.', NULL, array('%path' => $path)); } } }
Close