����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.170 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/1630575/task/1630575/root/proc/1630575/root/var/softaculous/moodle45/ |
Upload File : |
<?php
@unlink(__FILE__);
// Validate if the request is from Softaculous
if(php_sapi_name() == 'cli'){
if($argv[1] != '--pass=[[autopass]]'){
die("Unauthorized Access");
}
if(isset($_SERVER['REMOTE_ADDR'])){
unset($_SERVER['REMOTE_ADDR']);
}
// Define CLI_SCRIPT before including config.php
define('CLI_SCRIPT', true);
}else{
if($_REQUEST['pass'] != '[[autopass]]'){
die("Unauthorized Access");
}
}
require('config.php');
$pluginman = core_plugin_manager::instance();
$plugins_list = array();
foreach ($pluginman->get_plugins() as $type => $plugins) {
foreach ($plugins as $shortname => $plugin) {;
if ($plugin->source == core_plugin_manager::PLUGIN_SOURCE_EXTENSION) {
$plugins_list[] = $plugin->rootdir;
}
}
}
echo '<moodle_plugins>'.json_encode($plugins_list).'</moodle_plugins>';
?>