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.7.46
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 /
filter /
tex /
[ HOME SHELL ]
Name
Size
Permission
Action
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
README.mimetex
11.3
KB
-rw-r--r--
displaytex.php
1.72
KB
-rw-r--r--
filter.php
8.35
KB
-rw-r--r--
latex.php
6.91
KB
-rw-r--r--
lib.php
5.85
KB
-rw-r--r--
mimetex.darwin
2.69
MB
-rwxr-xr-x
mimetex.exe
1.28
MB
-rwxr-xr-x
mimetex.freebsd
1.3
MB
-rwxr-xr-x
mimetex.linux
1.26
MB
-rwxr-xr-x
pix.php
3.06
KB
-rw-r--r--
readme_moodle.txt
868
B
-rw-r--r--
settings.php
4.97
KB
-rw-r--r--
texdebug.php
15.54
KB
-rw-r--r--
thirdpartylibs.xml
229
B
-rw-r--r--
version.php
1.15
KB
-rw-r--r--
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('tex')) { print_error('filternotenabled'); } require_once($CFG->libdir.'/filelib.php'); require_once($CFG->dirroot.'/filter/tex/lib.php'); require_once($CFG->dirroot.'/filter/tex/latex.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/tex/'.$image; } else { print_error('invalidarguments', 'error'); } if (!file_exists($pathname)) { $convertformat = get_config('filter_tex', 'convertformat'); if (strpos($image, '.png')) { $convertformat = 'png'; } $md5 = str_replace(".{$convertformat}", '', $image); if ($texcache = $DB->get_record('cache_filters', array('filter'=>'tex', 'md5key'=>$md5))) { if (!file_exists($CFG->dataroot.'/filter/tex')) { make_upload_directory('filter/tex'); } // try and render with latex first $latex = new latex(); $density = get_config('filter_tex', 'density'); $background = get_config('filter_tex', 'latexbackground'); $texexp = $texcache->rawtext; // the entities are now decoded before inserting to DB $lateximage = $latex->render($texexp, $image, 12, $density, $background); if ($lateximage) { copy($lateximage, $pathname); $latex->clean_up($md5); } else { // failing that, use mimetex $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/tex/texdebug.php\">debugging script</a>"; } else { echo "Image not found!<br />"; echo "Please try the <a href=\"$CFG->wwwroot/filter/tex/texdebug.php\">debugging script</a><br />"; echo "Please turn on debug mode in site configuration to see more info here."; } }
Close