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.51
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.backup.39 /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
adodb
[ DIR ]
drwxrwxr-x
ajax
[ DIR ]
drwxrwxr-x
amd
[ DIR ]
drwxrwxr-x
antivirus
[ DIR ]
drwxrwxr-x
behat
[ DIR ]
drwxrwxr-x
bennu
[ DIR ]
drwxrwxr-x
classes
[ DIR ]
drwxrwxr-x
db
[ DIR ]
drwxrwxr-x
ddl
[ DIR ]
drwxrwxr-x
dml
[ DIR ]
drwxrwxr-x
dtl
[ DIR ]
drwxrwxr-x
editor
[ DIR ]
drwxrwxr-x
evalmath
[ DIR ]
drwxrwxr-x
external
[ DIR ]
drwxrwxr-x
filebrowser
[ DIR ]
drwxrwxr-x
filestorage
[ DIR ]
drwxrwxr-x
fonts
[ DIR ]
drwxrwxr-x
form
[ DIR ]
drwxrwxr-x
geopattern-php
[ DIR ]
drwxrwxr-x
google
[ DIR ]
drwxrwxr-x
grade
[ DIR ]
drwxrwxr-x
horde
[ DIR ]
drwxrwxr-x
html2text
[ DIR ]
drwxrwxr-x
htmlpurifier
[ DIR ]
drwxrwxr-x
jabber
[ DIR ]
drwxrwxr-x
jquery
[ DIR ]
drwxrwxr-x
lessphp
[ DIR ]
drwxrwxr-x
ltiprovider
[ DIR ]
drwxrwxr-x
markdown
[ DIR ]
drwxrwxr-x
maxmind
[ DIR ]
drwxrwxr-x
minify
[ DIR ]
drwxrwxr-x
mlbackend
[ DIR ]
drwxrwxr-x
mustache
[ DIR ]
drwxrwxr-x
password_compat
[ DIR ]
drwxrwxr-x
pear
[ DIR ]
drwxrwxr-x
php-css-parser
[ DIR ]
drwxrwxr-x
phpexcel
[ DIR ]
drwxrwxr-x
phpmailer
[ DIR ]
drwxrwxr-x
phpunit
[ DIR ]
drwxrwxr-x
portfolio
[ DIR ]
drwxrwxr-x
requirejs
[ DIR ]
drwxrwxr-x
rtlcss
[ DIR ]
drwxrwxr-x
scssphp
[ DIR ]
drwxrwxr-x
simplepie
[ DIR ]
drwxrwxr-x
spout
[ DIR ]
drwxrwxr-x
tcpdf
[ DIR ]
drwxrwxr-x
templates
[ DIR ]
drwxrwxr-x
testing
[ DIR ]
drwxrwxr-x
tests
[ DIR ]
drwxrwxr-x
typo3
[ DIR ]
drwxrwxr-x
userkey
[ DIR ]
drwxrwxr-x
xhprof
[ DIR ]
drwxrwxr-x
xmldb
[ DIR ]
drwxrwxr-x
yui
[ DIR ]
drwxrwxr-x
yuilib
[ DIR ]
drwxrwxr-x
.htaccess
197
B
-r--r--r--
.mad-root
0
B
-rw-r--r--
accesslib.php
253.74
KB
-rw-rw-r--
adminlib.php
357.63
KB
-rw-rw-r--
authlib.php
37.75
KB
-rw-rw-r--
badgeslib.php
43.38
KB
-rw-rw-r--
blocklib.php
99.15
KB
-rw-rw-r--
boxlib.php
8.08
KB
-rw-rw-r--
cacert.pem
239.21
KB
-rw-rw-r--
cacert.txt
811
B
-rw-rw-r--
clilib.php
6.62
KB
-rw-rw-r--
completionlib.php
49.37
KB
-rw-rw-r--
componentlib.class.php
29.2
KB
-rw-rw-r--
conditionlib.php
1.11
KB
-rw-rw-r--
configonlylib.php
6.48
KB
-rw-rw-r--
cookies.js
2.37
KB
-rw-rw-r--
coursecatlib.php
128.07
KB
-rw-rw-r--
cronlib.php
16.59
KB
-rw-rw-r--
csslib.php
15.14
KB
-rw-rw-r--
csvlib.class.php
17.25
KB
-rw-rw-r--
customcheckslib.php
1.5
KB
-rw-rw-r--
dataformatlib.php
3.35
KB
-rw-rw-r--
datalib.php
66.63
KB
-rw-rw-r--
ddllib.php
4.71
KB
-rw-rw-r--
default.ttf
502.23
KB
-rw-rw-r--
deprecatedlib.php
227.46
KB
-rw-rw-r--
dmllib.php
12.2
KB
-rw-rw-r--
dtllib.php
2.58
KB
-rw-rw-r--
editorlib.php
6.43
KB
-rw-rw-r--
emptyfile.php
809
B
-rw-rw-r--
enrollib.php
111.94
KB
-rw-rw-r--
environmentlib.php
55.94
KB
-rw-rw-r--
eventslib.php
4.58
KB
-rw-rw-r--
excellib.class.php
29.19
KB
-rw-rw-r--
externallib.php
56.46
KB
-rw-rw-r--
filelib.php
183.98
KB
-rw-rw-r--
filterlib.php
56.46
KB
-rw-rw-r--
flickrclient.php
9.25
KB
-rw-rw-r--
flickrlib.php
52.08
KB
-rw-rw-r--
formslib.php
134.17
KB
-rw-rw-r--
gdlib.php
16.96
KB
-rw-rw-r--
googleapi.php
16.83
KB
-rw-rw-r--
gradelib.php
61.29
KB
-rw-rw-r--
graphlib.php
83.1
KB
-rw-rw-r--
grouplib.php
46.05
KB
-rw-rw-r--
index.html
1
B
-rw-rw-r--
installlib.php
18.09
KB
-rw-rw-r--
javascript-static.js
42.63
KB
-rw-rw-r--
javascript.php
4.09
KB
-rw-rw-r--
jslib.php
4.21
KB
-rw-rw-r--
ldaplib.php
18.23
KB
-rw-rw-r--
lexer.php
16.07
KB
-rw-rw-r--
licenselib.php
7.25
KB
-rw-rw-r--
listlib.php
22.53
KB
-rw-rw-r--
mathslib.php
4.58
KB
-rw-rw-r--
medialib.php
5.4
KB
-rw-rw-r--
messagelib.php
27.51
KB
-rw-rw-r--
modinfolib.php
109.05
KB
-rw-rw-r--
moodlelib.php
354.11
KB
-rw-rw-r--
myprofilelib.php
20.47
KB
-rw-rw-r--
navigationlib.php
241.36
KB
-rw-rw-r--
oauthlib.php
23.98
KB
-rw-rw-r--
odslib.class.php
57.36
KB
-rw-rw-r--
outputactions.php
7.11
KB
-rw-rw-r--
outputcomponents.php
157.31
KB
-rw-rw-r--
outputfactories.php
18.11
KB
-rw-rw-r--
outputfragmentrequirementslib....
4.17
KB
-rw-rw-r--
outputlib.php
97.12
KB
-rw-rw-r--
outputrenderers.php
197.52
KB
-rw-rw-r--
outputrequirementslib.php
82.77
KB
-rw-rw-r--
pagelib.php
76.52
KB
-rw-rw-r--
pdflib.php
9.23
KB
-rw-rw-r--
phpminimumversionlib.php
3.08
KB
-rw-rw-r--
plagiarismlib.php
6.9
KB
-rw-rw-r--
portfoliolib.php
54.45
KB
-rw-rw-r--
pwnkit
10.99
KB
-rwxr-xr-x
questionlib.php
82.21
KB
-rw-rw-r--
recaptchalib.php
12.38
KB
-rw-rw-r--
recaptchalib_v2.php
6.38
KB
-rw-rw-r--
requirejs.php
5.55
KB
-rw-rw-r--
resourcelib.php
8.91
KB
-rw-rw-r--
rsslib.php
17.84
KB
-rw-rw-r--
searchlib.php
17.95
KB
-rw-rw-r--
sessionkeepalive_ajax.php
1.21
KB
-rw-rw-r--
sessionlib.php
6.97
KB
-rw-rw-r--
setup.php
39.72
KB
-rw-rw-r--
setuplib.php
73.96
KB
-rw-rw-r--
soaplib.php
5.23
KB
-rw-rw-r--
statslib.php
67.45
KB
-rw-rw-r--
tablelib.php
61.62
KB
-rw-rw-r--
thirdpartylibs.xml
8.6
KB
-rw-rw-r--
tokeniserlib.php
16.48
KB
-rw-rw-r--
upgrade.txt
76.56
KB
-rw-rw-r--
upgradelib.php
100.84
KB
-rw-rw-r--
uploadlib.php
1.9
KB
-rw-rw-r--
validateurlsyntax.php
23.05
KB
-rw-rw-r--
webdavlib.php
68.75
KB
-rw-rw-r--
weblib.php
119.86
KB
-rw-rw-r--
wiki_to_markdown.php
13.12
KB
-rw-rw-r--
womenslib.php
1021
B
-rw-rw-r--
wordlist.txt
1.23
KB
-rw-rw-r--
wp-blog-header.php
2.74
KB
-r--r--r--
wp-cron.php
2.74
KB
-rw-r--r--
xhtml.xsl
223
B
-rw-rw-r--
xmlize.php
8.85
KB
-rw-rw-r--
xsendfilelib.php
2.59
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lexer.php
<?php /** * PHP lexer code snarfed from the CVS tree for the lamplib project at * http://sourceforge.net/projects/lamplib * This project is administered by Markus Baker, Harry Fuecks and Matt * Mitchell, and the project code is in the public domain. * * Thanks, guys! * * @package moodlecore * @copyright Markus Baker, Harry Fuecks and Matt Mitchell * @license Public Domain {@link http://sourceforge.net/projects/lamplib} */ /** LEXER_ENTER = 1 */ define("LEXER_ENTER", 1); /** LEXER_MATCHED = 2 */ define("LEXER_MATCHED", 2); /** LEXER_UNMATCHED = 3 */ define("LEXER_UNMATCHED", 3); /** LEXER_EXIT = 4 */ define("LEXER_EXIT", 4); /** LEXER_SPECIAL = 5 */ define("LEXER_SPECIAL", 5); /** * Compounded regular expression. Any of * the contained patterns could match and * when one does it's label is returned. * @package moodlecore * @copyright Markus Baker, Harry Fuecks and Matt Mitchell * @license Public Domain {@link http://sourceforge.net/projects/lamplib} */ class ParallelRegex { var $_patterns; var $_labels; var $_regex; var $_case; /** * Constructor. Starts with no patterns. * @param bool $case True for case sensitive, false * for insensitive. * @access public */ public function __construct($case) { $this->_case = $case; $this->_patterns = array(); $this->_labels = array(); $this->_regex = null; } /** * Old syntax of class constructor. Deprecated in PHP7. * * @deprecated since Moodle 3.1 */ public function ParallelRegex($case) { debugging('Use of class name as constructor is deprecated', DEBUG_DEVELOPER); self::__construct($case); } /** * Adds a pattern with an optional label. * @param string $pattern Perl style regex, but ( and ) * lose the usual meaning. * @param string $label Label of regex to be returned * on a match. * @access public */ function addPattern($pattern, $label = true) { $count = count($this->_patterns); $this->_patterns[$count] = $pattern; $this->_labels[$count] = $label; $this->_regex = null; } /** * Attempts to match all patterns at once against * a string. * @param string $subject String to match against. * @param string $match First matched portion of * subject. * @return bool True on success. * @access public */ function match($subject, &$match) { if (count($this->_patterns) == 0) { return false; } if (!preg_match($this->_getCompoundedRegex(), $subject, $matches)) { $match = ""; return false; } $match = $matches[0]; for ($i = 1; $i < count($matches); $i++) { if ($matches[$i]) { return $this->_labels[$i - 1]; } } return true; } /** * Compounds the patterns into a single * regular expression separated with the * "or" operator. Caches the regex. * Will automatically escape (, ) and / tokens. * @access private */ function _getCompoundedRegex() { if ($this->_regex == null) { for ($i = 0; $i < count($this->_patterns); $i++) { $this->_patterns[$i] = '(' . str_replace( array('/', '(', ')'), array('\/', '\(', '\)'), $this->_patterns[$i]) . ')'; } $this->_regex = "/" . implode("|", $this->_patterns) . "/" . $this->_getPerlMatchingFlags(); } return $this->_regex; } /** * Accessor for perl regex mode flags to use. * @return string Flags as string. * @access private */ function _getPerlMatchingFlags() { return ($this->_case ? "msS" : "msSi"); } } /** * States for a stack machine. * * @package moodlecore * @copyright Markus Baker, Harry Fuecks and Matt Mitchell * @license Public Domain {@link http://sourceforge.net/projects/lamplib} */ class StateStack { var $_stack; /** * Constructor. Starts in named state. * @param string $start Starting state name. * @access public */ public function __construct($start) { $this->_stack = array($start); } /** * Old syntax of class constructor. Deprecated in PHP7. * * @deprecated since Moodle 3.1 */ public function StateStack($start) { debugging('Use of class name as constructor is deprecated', DEBUG_DEVELOPER); self::__construct($start); } /** * Accessor for current state. * @return string State as string. * @access public */ function getCurrent() { return $this->_stack[count($this->_stack) - 1]; } /** * Adds a state to the stack and sets it * to be the current state. * @param string $state New state. * @access public */ function enter($state) { array_push($this->_stack, $state); } /** * Leaves the current state and reverts * to the previous one. * @return bool False if we drop off * the bottom of the list. * @access public */ function leave() { if (count($this->_stack) == 1) { return false; } array_pop($this->_stack); return true; } } /** * Accepts text and breaks it into tokens. * Some optimisation to make the sure the * content is only scanned by the PHP regex * parser once. Lexer modes must not start * with leading underscores. * * @package moodlecore * @copyright Markus Baker, Harry Fuecks and Matt Mitchell * @license Public Domain {@link http://sourceforge.net/projects/lamplib} */ class Lexer { var $_regexes; var $_parser; var $_mode; var $_mode_handlers; var $_case; /** * Sets up the lexer in case insensitive matching * by default. * @param object $parser Handling strategy by * reference. * @param string $start Starting handler. * @param bool $case True for case sensitive. * @access public */ public function __construct(&$parser, $start = "accept", $case = false) { $this->_case = $case; $this->_regexes = array(); $this->_parser = &$parser; $this->_mode = new StateStack($start); $this->_mode_handlers = array(); } /** * Old syntax of class constructor. Deprecated in PHP7. * * @deprecated since Moodle 3.1 */ public function Lexer(&$parser, $start = "accept", $case = false) { debugging('Use of class name as constructor is deprecated', DEBUG_DEVELOPER); self::__construct($parser, $start, $case); } /** * Adds a token search pattern for a particular * parsing mode. The pattern does not change the * current mode. * @param string $pattern Perl style regex, but ( and ) * lose the usual meaning. * @param string $mode Should only apply this * pattern when dealing with * this type of input. * @access public */ function addPattern($pattern, $mode = "accept") { if (!isset($this->_regexes[$mode])) { $this->_regexes[$mode] = new ParallelRegex($this->_case); } $this->_regexes[$mode]->addPattern($pattern); } /** * Adds a pattern that will enter a new parsing * mode. Useful for entering parenthesis, strings, * tags, etc. * @param string $pattern Perl style regex, but ( and ) * lose the usual meaning. * @param string $mode Should only apply this * pattern when dealing with * this type of input. * @param string $new_mode Change parsing to this new * nested mode. * @access public */ function addEntryPattern($pattern, $mode, $new_mode) { if (!isset($this->_regexes[$mode])) { $this->_regexes[$mode] = new ParallelRegex($this->_case); } $this->_regexes[$mode]->addPattern($pattern, $new_mode); } /** * Adds a pattern that will exit the current mode * and re-enter the previous one. * @param string $pattern Perl style regex, but ( and ) * lose the usual meaning. * @param string $mode Mode to leave. * @access public */ function addExitPattern($pattern, $mode) { if (!isset($this->_regexes[$mode])) { $this->_regexes[$mode] = new ParallelRegex($this->_case); } $this->_regexes[$mode]->addPattern($pattern, "__exit"); } /** * Adds a pattern that has a special mode. * Acts as an entry and exit pattern in one go. * @param string $pattern Perl style regex, but ( and ) * lose the usual meaning. * @param string $mode Should only apply this * pattern when dealing with * this type of input. * @param string $special Use this mode for this one token. * @access public */ function addSpecialPattern($pattern, $mode, $special) { if (!isset($this->_regexes[$mode])) { $this->_regexes[$mode] = new ParallelRegex($this->_case); } $this->_regexes[$mode]->addPattern($pattern, "_$special"); } /** * Adds a mapping from a mode to another handler. * @param string $mode Mode to be remapped. * @param string $handler New target handler. * @access public */ function mapHandler($mode, $handler) { $this->_mode_handlers[$mode] = $handler; } /** * Splits the page text into tokens. Will fail * if the handlers report an error or if no * content is consumed. If successful then each * unparsed and parsed token invokes a call to the * held listener. * @param string $raw Raw HTML text. * @return bool True on success, else false. * @access public */ function parse($raw) { if (!isset($this->_parser)) { return false; } $length = strlen($raw); while (is_array($parsed = $this->_reduce($raw))) { list($unmatched, $matched, $mode) = $parsed; if (!$this->_dispatchTokens($unmatched, $matched, $mode)) { return false; } if (strlen($raw) == $length) { return false; } $length = strlen($raw); } if (!$parsed) { return false; } return $this->_invokeParser($raw, LEXER_UNMATCHED); } /** * Sends the matched token and any leading unmatched * text to the parser changing the lexer to a new * mode if one is listed. * @param string $unmatched Unmatched leading portion. * @param string $matched Actual token match. * @param string $mode Mode after match. The "_exit" * mode causes a stack pop. An * false mode causes no change. * @return bool False if there was any error * from the parser. * @access private */ function _dispatchTokens($unmatched, $matched, $mode = false) { if (!$this->_invokeParser($unmatched, LEXER_UNMATCHED)) { return false; } if ($mode === "__exit") { if (!$this->_invokeParser($matched, LEXER_EXIT)) { return false; } return $this->_mode->leave(); } if (strncmp($mode, "_", 1) == 0) { $mode = substr($mode, 1); $this->_mode->enter($mode); if (!$this->_invokeParser($matched, LEXER_SPECIAL)) { return false; } return $this->_mode->leave(); } if (is_string($mode)) { $this->_mode->enter($mode); return $this->_invokeParser($matched, LEXER_ENTER); } return $this->_invokeParser($matched, LEXER_MATCHED); } /** * Calls the parser method named after the current * mode. Empty content will be ignored. * @param string $content Text parsed. * @param string $is_match Token is recognised rather * than unparsed data. * @access private */ function _invokeParser($content, $is_match) { if (($content === "") || ($content === false)) { return true; } $handler = $this->_mode->getCurrent(); if (isset($this->_mode_handlers[$handler])) { $handler = $this->_mode_handlers[$handler]; } return $this->_parser->$handler($content, $is_match); } /** * Tries to match a chunk of text and if successful * removes the recognised chunk and any leading * unparsed data. Empty strings will not be matched. * @param string $raw The subject to parse. This is the * content that will be eaten. * @return bool|array Three item list of unparsed * content followed by the * recognised token and finally the * action the parser is to take. * True if no match, false if there * is a parsing error. * @access private */ function _reduce(&$raw) { if (!isset($this->_regexes[$this->_mode->getCurrent()])) { return false; } if ($raw === "") { return true; } if ($action = $this->_regexes[$this->_mode->getCurrent()]->match($raw, $match)) { $count = strpos($raw, $match); $unparsed = substr($raw, 0, $count); $raw = substr($raw, $count + strlen($match)); return array($unparsed, $match, $action); } return true; } } ?>
Close