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 : list.php
<?php include_once INCLUDE_DIR .'class.translation.php'; class ListManager extends Module { var $prologue = 'CLI list manager'; var $arguments = array( 'action' => array( 'help' => 'Action to be performed', 'options' => array( 'import' => 'Import list items to the system', 'export' => 'Export list items from the system', 'show' => 'Show the lists', ), ), ); var $options = array( 'file' => array('-f', '--file', 'metavar'=>'path', 'help' => 'File or stream to process'), 'id' => array('-ID', '--id', 'metavar'=>'id', 'help' => 'List ID'), ); var $stream; function run($args, $options) { Bootstrap::connect(); $list = null; if ($options['id']) $list = DynamicList::lookup($options['id']); switch ($args['action']) { case 'import': if (!$list) $this->fail("List ID required for items import"); // Properly detect Macintosh style line endings ini_set('auto_detect_line_endings', true); if (!$options['file']) $this->fail('CSV file to import list items from is required!'); elseif (!($this->stream = fopen($options['file'], 'rb'))) $this->fail("Unable to open input file [{$options['file']}]"); $extras = array(); $status = $list->importCsv($this->stream, $extras); if (is_numeric($status)) $this->stderr->write("Successfully imported $status list items\n"); else $this->fail($status); break; case 'export': if (!$list) $this->fail("List ID required for export"); $stream = $options['file'] ?: 'php://stdout'; if (!($this->stream = fopen($stream, 'c'))) $this->fail("Unable to open output file [{$options['file']}]"); fputcsv($this->stream, array('Value', 'Abbrev')); foreach ($list->getItems() as $item) fputcsv($this->stream, array( (string) $item->getValue(), $item->getAbbrev())); break; case 'show': $lists = DynamicList::objects()->order_by('-type', 'name'); foreach ($lists as $list) { $this->stdout->write(sprintf("%d %s \n", $list->getId(), $list->getName(), $list->getPluralName() ?: $list->getName() )); } break; default: $this->stderr->write('Unknown action!'); } @fclose($this->stream); } } Module::register('list', 'ListManager'); ?>
Close