Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
osticket /
upload /
include /
cli /
modules /
[ HOME SHELL ]
Name
Size
Permission
Action
agent.php
6.7
KB
-rw-r--r--
cron.php
730
B
-rw-r--r--
deploy.php
10.96
KB
-rw-r--r--
export.php
2.69
KB
-rw-r--r--
file.php
20.11
KB
-rw-r--r--
i18n.php
27.1
KB
-rw-r--r--
import.php
10.42
KB
-rw-r--r--
list.php
2.98
KB
-rw-r--r--
org.php
2.44
KB
-rw-r--r--
package.php
5.02
KB
-rw-r--r--
serve.php
2.88
KB
-rw-r--r--
unpack.php
9.82
KB
-rw-r--r--
upgrade.php
3.05
KB
-rw-r--r--
user.php
7.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : export.php
<?php /********************************************************************* cli/export.php osTicket data exporter, used for migration and backup Jared Hancock <jared@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for details. vim: expandtab sw=4 ts=4 sts=4: **********************************************************************/ class Exporter extends Module { var $prologue = "Dumps the osTicket database in formats suitable for the importer"; var $options = array( 'stream' => array('-o', '--output', 'default'=>'php://stdout', 'help'=> "File or stream to receive the exported output. As a default, zlib compressed output is sent to standard out."), 'compress' => array('-z', '--compress', 'action'=>'store_true', 'help'=> "Send zlib compress data to the output stream"), ); var $arguments = array( 'module' => array( 'required' => false, 'help' => 'Module used for export (see help)' ), ); var $autohelp = false; function run($args, $options) { require_once dirname(__file__) . '/../../../bootstrap.php'; require_once INCLUDE_DIR . 'class.export.php'; if (!$args['module']) { $exporter = 'DatabaseExporter'; } else { $module = (include dirname(__file__)."/importer/{$args['module']}.php"); if ($module) { $module = new $module(); return $module->_run($args['module']); } else { $this->stderr->write("Unknown importer module given\n"); $this->showHelp(); } } if ($exporter) $this->dump($exporter); } function dump($module) { $stream = $this->getOption('stream'); if ($this->getOption('compress')) $stream = "compress.zlib://$stream"; $stream = fopen($stream, 'w'); $x = new $module($stream, $this->_options); $x->dump($this->stderr); } function showHelp() { $modules = array(); foreach (glob(dirname(__file__).'/importer/*.php') as $script) { $info = pathinfo($script); $modules[] = $info['filename']; } $this->epilog = "Currently available modules follow. Use 'manage.php export <module> --help' for usage regarding each respective module:"; parent::showHelp(); echo "\n"; foreach ($modules as $name) echo str_pad($name, 20) . "\n"; } } Module::register('export', 'Exporter'); ?>
Close