Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
sipdm.cesa.co.za /
lib /
Delete
Unzip
Name
Size
Permission
Date
Action
adodb
[ DIR ]
drwxr-sr-x
2017-06-22 15:31
ajax
[ DIR ]
drwxr-sr-x
2017-06-22 15:31
amd
[ DIR ]
drwxr-sr-x
2017-06-22 15:19
antivirus
[ DIR ]
drwxr-sr-x
2017-06-22 15:19
behat
[ DIR ]
drwxr-sr-x
2017-06-22 15:32
bennu
[ DIR ]
drwxr-sr-x
2017-06-22 15:32
classes
[ DIR ]
drwxr-sr-x
2017-06-22 15:34
db
[ DIR ]
drwxr-sr-x
2017-06-22 15:34
ddl
[ DIR ]
drwxr-sr-x
2017-06-22 15:34
dml
[ DIR ]
drwxr-sr-x
2017-06-22 15:35
dtl
[ DIR ]
drwxr-sr-x
2017-06-22 15:35
editor
[ DIR ]
drwxr-sr-x
2017-06-22 15:37
evalmath
[ DIR ]
drwxr-sr-x
2017-06-22 15:40
external
[ DIR ]
drwxr-sr-x
2017-06-22 15:40
filebrowser
[ DIR ]
drwxr-sr-x
2017-06-22 15:40
filestorage
[ DIR ]
drwxr-sr-x
2017-06-22 15:40
form
[ DIR ]
drwxr-sr-x
2017-06-22 15:40
google
[ DIR ]
drwxr-sr-x
2017-06-22 15:40
grade
[ DIR ]
drwxr-sr-x
2017-06-22 15:42
horde
[ DIR ]
drwxr-sr-x
2017-06-22 15:44
html2text
[ DIR ]
drwxr-sr-x
2017-06-22 15:44
htmlpurifier
[ DIR ]
drwxr-sr-x
2017-06-22 15:45
jabber
[ DIR ]
drwxr-sr-x
2017-06-22 15:45
jquery
[ DIR ]
drwxr-sr-x
2017-06-22 15:45
lessphp
[ DIR ]
drwxr-sr-x
2017-06-22 15:46
ltiprovider
[ DIR ]
drwxr-sr-x
2017-06-22 15:46
markdown
[ DIR ]
drwxr-sr-x
2017-06-22 15:46
maxmind
[ DIR ]
drwxr-sr-x
2017-06-22 15:46
minify
[ DIR ]
drwxr-sr-x
2017-06-22 15:46
mustache
[ DIR ]
drwxr-sr-x
2017-06-22 15:47
password_compat
[ DIR ]
drwxr-sr-x
2017-06-22 15:30
pear
[ DIR ]
drwxr-sr-x
2017-06-22 15:47
php-css-parser
[ DIR ]
drwxr-sr-x
2017-06-22 15:47
phpexcel
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
phpmailer
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
phpunit
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
portfolio
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
requirejs
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
rtlcss
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
scssphp
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
simplepie
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
spout
[ DIR ]
drwxr-sr-x
2017-06-22 15:49
tcpdf
[ DIR ]
drwxr-sr-x
2017-06-22 15:51
templates
[ DIR ]
drwxr-sr-x
2017-06-22 15:51
testing
[ DIR ]
drwxr-sr-x
2017-06-22 15:51
tests
[ DIR ]
drwxr-sr-x
2017-06-22 15:52
typo3
[ DIR ]
drwxr-sr-x
2017-06-22 15:52
xhprof
[ DIR ]
drwxr-sr-x
2017-06-22 15:53
xmldb
[ DIR ]
drwxr-sr-x
2017-06-22 15:53
yui
[ DIR ]
drwxr-sr-x
2017-06-22 15:53
yuilib
[ DIR ]
drwxr-sr-x
2017-06-22 16:01
accesslib.php
257.12
KB
-rw-r--r--
2017-06-22 15:30
adminlib.php
345.63
KB
-rw-r--r--
2017-06-22 15:30
authlib.php
26.75
KB
-rw-r--r--
2017-06-22 15:32
badgeslib.php
42.95
KB
-rw-r--r--
2017-06-22 15:32
blocklib.php
97.26
KB
-rw-r--r--
2017-06-22 15:32
boxlib.php
8.08
KB
-rw-r--r--
2017-06-22 15:32
cacert.pem
239.21
KB
-rw-r--r--
2017-06-22 15:32
cacert.txt
811
B
-rw-r--r--
2017-06-22 15:32
clilib.php
6.62
KB
-rw-r--r--
2017-06-22 15:34
completionlib.php
46.36
KB
-rw-r--r--
2017-06-22 15:34
componentlib.class.php
29.2
KB
-rw-r--r--
2017-06-22 15:34
conditionlib.php
1.11
KB
-rw-r--r--
2017-06-22 15:34
configonlylib.php
6.48
KB
-rw-r--r--
2017-06-22 15:34
cookies.js
2.37
KB
-rw-r--r--
2017-06-22 15:34
coursecatlib.php
124.32
KB
-rw-r--r--
2017-06-22 15:34
cronlib.php
11.08
KB
-rw-r--r--
2017-06-22 15:34
csslib.php
14.42
KB
-rw-r--r--
2017-06-22 15:34
csvlib.class.php
17.25
KB
-rw-r--r--
2017-06-22 15:34
customcheckslib.php
1.5
KB
-rw-r--r--
2017-06-22 15:34
dataformatlib.php
2.48
KB
-rw-r--r--
2017-06-22 15:34
datalib.php
65.83
KB
-rw-r--r--
2017-06-22 15:34
ddllib.php
4.71
KB
-rw-r--r--
2017-06-22 15:34
default.ttf
502.23
KB
-rw-r--r--
2017-06-22 15:34
deprecatedlib.php
227.36
KB
-rw-r--r--
2017-06-22 15:34
dmllib.php
12.29
KB
-rw-r--r--
2017-06-22 15:35
dtllib.php
2.58
KB
-rw-r--r--
2017-06-22 15:35
editorlib.php
6.43
KB
-rw-r--r--
2017-06-22 15:40
emptyfile.php
809
B
-rw-r--r--
2017-06-22 15:40
enrollib.php
100.43
KB
-rw-r--r--
2017-06-22 15:40
environmentlib.php
54.94
KB
-rw-r--r--
2017-06-22 15:40
eventslib.php
4.58
KB
-rw-r--r--
2017-06-22 15:40
excellib.class.php
29.16
KB
-rw-r--r--
2017-06-22 15:40
externallib.php
52.09
KB
-rw-r--r--
2017-06-22 15:40
filelib.php
177.78
KB
-rw-r--r--
2017-06-22 15:40
filterlib.php
56.44
KB
-rw-r--r--
2017-06-22 15:40
flickrlib.php
51.75
KB
-rw-r--r--
2017-06-22 15:40
formslib.php
127.64
KB
-rw-r--r--
2017-06-22 15:40
gdlib.php
16.96
KB
-rw-r--r--
2017-06-22 15:40
googleapi.php
16.34
KB
-rw-r--r--
2017-06-22 15:41
gradelib.php
60.36
KB
-rw-r--r--
2017-06-22 15:42
graphlib.php
83.1
KB
-rw-r--r--
2017-06-22 15:42
grouplib.php
38.34
KB
-rw-r--r--
2017-06-22 15:42
htaccess
1.84
KB
-rw-r--r--
2017-06-22 15:44
index.html
1
B
-rw-r--r--
2017-06-22 15:45
installlib.php
18
KB
-rw-r--r--
2017-06-22 15:45
javascript-static.js
56.77
KB
-rw-r--r--
2017-06-22 15:45
javascript.php
4.09
KB
-rw-r--r--
2017-06-22 15:45
jslib.php
4.15
KB
-rw-r--r--
2017-06-22 15:46
ldaplib.php
18.07
KB
-rw-r--r--
2017-06-22 15:46
lexer.php
16.07
KB
-rw-r--r--
2017-06-22 15:46
licenselib.php
7.25
KB
-rw-r--r--
2017-06-22 15:46
listlib.php
22.2
KB
-rw-r--r--
2017-06-22 15:46
mathslib.php
4.58
KB
-rw-r--r--
2017-06-22 15:46
medialib.php
5.4
KB
-rw-r--r--
2017-06-22 15:46
messagelib.php
25.68
KB
-rw-r--r--
2017-06-22 15:46
modinfolib.php
103.04
KB
-rw-r--r--
2017-06-22 15:46
moodlelib.php
345.25
KB
-rw-r--r--
2017-06-22 15:47
myprofilelib.php
20.9
KB
-rw-r--r--
2017-06-22 15:47
navigationlib.php
236.48
KB
-rw-r--r--
2017-06-22 15:47
oauthlib.php
21.11
KB
-rw-r--r--
2017-06-22 15:47
odslib.class.php
57.36
KB
-rw-r--r--
2017-06-22 15:47
outputactions.php
7.11
KB
-rw-r--r--
2017-06-22 15:47
outputcomponents.php
149.65
KB
-rw-r--r--
2017-06-22 15:47
outputfactories.php
18.11
KB
-rw-r--r--
2017-06-22 15:47
outputfragmentrequirementslib.php
4.17
KB
-rw-r--r--
2017-06-22 15:47
outputlib.php
85.67
KB
-rw-r--r--
2017-06-22 15:47
outputrenderers.php
194.47
KB
-rw-r--r--
2017-06-22 15:47
outputrequirementslib.php
82.56
KB
-rw-r--r--
2017-06-22 15:47
pagelib.php
77.05
KB
-rw-r--r--
2017-06-22 15:47
pdflib.php
9.23
KB
-rw-r--r--
2017-06-22 15:47
plagiarismlib.php
6.9
KB
-rw-r--r--
2017-06-22 15:49
portfoliolib.php
54.31
KB
-rw-r--r--
2017-06-22 15:49
questionlib.php
69.63
KB
-rw-r--r--
2017-06-22 15:49
recaptchalib.php
12.38
KB
-rw-r--r--
2017-06-22 15:49
requirejs.php
5.25
KB
-rw-r--r--
2017-06-22 15:49
resourcelib.php
8.91
KB
-rw-r--r--
2017-06-22 15:49
rsslib.php
17.93
KB
-rw-r--r--
2017-06-22 15:49
searchlib.php
16.23
KB
-rw-r--r--
2017-06-22 15:49
sessionkeepalive_ajax.php
1.21
KB
-rw-r--r--
2017-06-22 15:49
sessionlib.php
6.85
KB
-rw-r--r--
2017-06-22 15:49
setup.php
38.93
KB
-rw-r--r--
2017-06-22 15:49
setuplib.php
72.26
KB
-rw-r--r--
2017-06-22 15:49
soaplib.php
5.23
KB
-rw-r--r--
2017-06-22 15:49
statslib.php
67.12
KB
-rw-r--r--
2017-06-22 15:50
tablelib.php
60.3
KB
-rw-r--r--
2017-06-22 15:50
thirdpartylibs.xml
7.62
KB
-rw-r--r--
2017-06-22 15:52
tokeniserlib.php
16.48
KB
-rw-r--r--
2017-06-22 15:52
upgrade.txt
61.47
KB
-rw-r--r--
2017-06-22 15:52
upgradelib.php
90.37
KB
-rw-r--r--
2017-06-22 15:52
uploadlib.php
1.9
KB
-rw-r--r--
2017-06-22 15:52
validateurlsyntax.php
22.73
KB
-rw-r--r--
2017-06-22 15:52
webdavlib.php
67.84
KB
-rw-r--r--
2017-06-22 15:52
weblib.php
118.7
KB
-rw-r--r--
2017-06-22 15:52
wiki_to_markdown.php
13.12
KB
-rw-r--r--
2017-06-22 15:52
womenslib.php
1021
B
-rw-r--r--
2017-06-22 15:52
wordlist.txt
1.23
KB
-rw-r--r--
2017-06-22 15:52
xhtml.xsl
223
B
-rw-r--r--
2017-06-22 15:53
xmlize.php
6.63
KB
-rw-r--r--
2017-06-22 15:53
xsendfilelib.php
2.59
KB
-rw-r--r--
2017-06-22 15:53
Save
Rename
<?php /** * xmlize.php - xmlize() is by Hans Anderson, {@link http://www.hansanderson.com/contact/} * * Ye Ole "Feel Free To Use it However" License [PHP, BSD, GPL]. * some code in xml_depth is based on code written by other PHPers * as well as one Perl script. Poor programming practice and organization * on my part is to blame for the credit these people aren't receiving. * None of the code was copyrighted, though. * * @package core * @subpackage lib * @author Hans Anderson * @version This is a stable release, 1.0. I don't foresee any changes, but you * might check {@link http://www.hansanderson.com/php/xml/} to see * @copyright Hans Anderson * @license Feel Free To Use it However */ /** * Exception thrown when there is an error parsing an XML file. * * @copyright 2010 The Open University */ class xml_format_exception extends moodle_exception { /** @var string */ public $errorstring; public $line; public $char; function __construct($errorstring, $line, $char, $link = '') { $this->errorstring = $errorstring; $this->line = $line; $this->char = $char; $a = new stdClass(); $a->errorstring = $errorstring; $a->errorline = $line; $a->errorchar = $char; parent::__construct('errorparsingxml', 'error', $link, $a); } } /** * Create an array structure from an XML string. * * Usage:<br> * <code> * $xml = xmlize($array); * </code> * See the function {@link traverse_xmlize()} for information about the * structure of the array, it's much easier to explain by showing you. * Be aware that the array is somewhat tricky. I use xmlize all the time, * but still need to use {@link traverse_xmlize()} quite often to show me the structure! * * THIS IS A PHP 5 VERSION: * * This modified version basically has a new optional parameter * to specify an OUTPUT encoding. If not specified, it defaults to UTF-8. * I recommend you to read this PHP bug. There you can see how PHP4, PHP5.0.0 * and PHP5.0.2 will handle this. * {@link http://bugs.php.net/bug.php?id=29711} * Ciao, Eloy :-) * * @param string $data The XML source to parse. * @param int $whitespace If set to 1 allows the parser to skip "space" characters in xml document. Default is 1 * @param string $encoding Specify an OUTPUT encoding. If not specified, it defaults to UTF-8. * @param bool $reporterrors if set to true, then a {@link xml_format_exception} * exception will be thrown if the XML is not well-formed. Otherwise errors are ignored. * @return array representation of the parsed XML. */ function xmlize($data, $whitespace = 1, $encoding = 'UTF-8', $reporterrors = false) { $data = trim($data); $vals = array(); $parser = xml_parser_create($encoding); xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0); xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, $whitespace); xml_parse_into_struct($parser, $data, $vals); // Error handling when the xml file is not well-formed if ($reporterrors) { $errorcode = xml_get_error_code($parser); if ($errorcode) { $exception = new xml_format_exception(xml_error_string($errorcode), xml_get_current_line_number($parser), xml_get_current_column_number($parser)); xml_parser_free($parser); throw $exception; } } xml_parser_free($parser); $i = 0; if (empty($vals)) { // XML file is invalid or empty, return false return false; } $array = array(); $tagname = $vals[$i]['tag']; if (isset($vals[$i]['attributes'])) { $array[$tagname]['@'] = $vals[$i]['attributes']; } else { $array[$tagname]['@'] = array(); } $array[$tagname]["#"] = xml_depth($vals, $i); return $array; } /** * @internal You don't need to do anything with this function, it's called by * xmlize. It's a recursive function, calling itself as it goes deeper * into the xml levels. If you make any improvements, please let me know. * @access private */ function xml_depth($vals, &$i) { $children = array(); if ( isset($vals[$i]['value']) ) { array_push($children, $vals[$i]['value']); } while (++$i < count($vals)) { switch ($vals[$i]['type']) { case 'open': if ( isset ( $vals[$i]['tag'] ) ) { $tagname = $vals[$i]['tag']; } else { $tagname = ''; } if ( isset ( $children[$tagname] ) ) { $size = sizeof($children[$tagname]); } else { $size = 0; } if ( isset ( $vals[$i]['attributes'] ) ) { $children[$tagname][$size]['@'] = $vals[$i]["attributes"]; } $children[$tagname][$size]['#'] = xml_depth($vals, $i); break; case 'cdata': array_push($children, $vals[$i]['value']); break; case 'complete': $tagname = $vals[$i]['tag']; if( isset ($children[$tagname]) ) { $size = sizeof($children[$tagname]); } else { $size = 0; } if( isset ( $vals[$i]['value'] ) ) { $children[$tagname][$size]["#"] = $vals[$i]['value']; } else { $children[$tagname][$size]["#"] = ''; } if ( isset ($vals[$i]['attributes']) ) { $children[$tagname][$size]['@'] = $vals[$i]['attributes']; } break; case 'close': return $children; break; } } return $children; } /** * This helps you understand the structure of the array {@link xmlize()} outputs * * Function by acebone@f2s.com, a HUGE help!<br> * Usage:<br> * <code> * traverse_xmlize($xml, 'xml_'); * print '<pre>' . implode("", $traverse_array . '</pre>'; * </code> * @author acebone@f2s.com * @param array $array ? * @param string $arrName ? * @param int $level ? * @return int * @todo Finish documenting this function */ function traverse_xmlize($array, $arrName = 'array', $level = 0) { foreach($array as $key=>$val) { if ( is_array($val) ) { traverse_xmlize($val, $arrName . '[' . $key . ']', $level + 1); } else { $GLOBALS['traverse_array'][] = '$' . $arrName . '[' . $key . '] = "' . $val . "\"\n"; } } return 1; }