__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?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;
}
}
?>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| adodb | Folder | 0777 |
|
|
| ajax | Folder | 0777 |
|
|
| amd | Folder | 0777 |
|
|
| antivirus | Folder | 0777 |
|
|
| aws-sdk | Folder | 0777 |
|
|
| behat | Folder | 0777 |
|
|
| bennu | Folder | 0777 |
|
|
| classes | Folder | 0777 |
|
|
| db | Folder | 0777 |
|
|
| ddl | Folder | 0777 |
|
|
| dml | Folder | 0777 |
|
|
| dtl | Folder | 0777 |
|
|
| editor | Folder | 0777 |
|
|
| emoji-data | Folder | 0777 |
|
|
| evalmath | Folder | 0777 |
|
|
| external | Folder | 0777 |
|
|
| filebrowser | Folder | 0777 |
|
|
| filestorage | Folder | 0777 |
|
|
| fonts | Folder | 0777 |
|
|
| form | Folder | 0777 |
|
|
| geopattern-php | Folder | 0777 |
|
|
| giggsey | Folder | 0777 |
|
|
| Folder | 0777 |
|
||
| grade | Folder | 0777 |
|
|
| guzzlehttp | Folder | 0777 |
|
|
| html2text | Folder | 0777 |
|
|
| htmlpurifier | Folder | 0777 |
|
|
| jmespath | Folder | 0777 |
|
|
| jquery | Folder | 0777 |
|
|
| laravel | Folder | 0777 |
|
|
| lti1p3 | Folder | 0777 |
|
|
| ltiprovider | Folder | 0777 |
|
|
| markdown | Folder | 0777 |
|
|
| maxmind | Folder | 0777 |
|
|
| minify | Folder | 0777 |
|
|
| mlbackend | Folder | 0777 |
|
|
| mustache | Folder | 0777 |
|
|
| nikic | Folder | 0777 |
|
|
| openspout | Folder | 0777 |
|
|
| pear | Folder | 0777 |
|
|
| php-css-parser | Folder | 0777 |
|
|
| php-di | Folder | 0777 |
|
|
| php-enum | Folder | 0777 |
|
|
| php-jwt | Folder | 0777 |
|
|
| phpmailer | Folder | 0777 |
|
|
| phpspreadsheet | Folder | 0777 |
|
|
| phpunit | Folder | 0777 |
|
|
| phpxmlrpc | Folder | 0777 |
|
|
| plist | Folder | 0777 |
|
|
| polyfills | Folder | 0777 |
|
|
| portfolio | Folder | 0777 |
|
|
| psr | Folder | 0777 |
|
|
| ralouphie | Folder | 0777 |
|
|
| requirejs | Folder | 0777 |
|
|
| rtlcss | Folder | 0777 |
|
|
| scssphp | Folder | 0777 |
|
|
| simplepie | Folder | 0777 |
|
|
| slim | Folder | 0777 |
|
|
| spatie | Folder | 0777 |
|
|
| symfony | Folder | 0777 |
|
|
| table | Folder | 0777 |
|
|
| tcpdf | Folder | 0777 |
|
|
| templates | Folder | 0777 |
|
|
| testing | Folder | 0777 |
|
|
| tests | Folder | 0777 |
|
|
| userkey | Folder | 0777 |
|
|
| webauthn | Folder | 0777 |
|
|
| xapi | Folder | 0777 |
|
|
| xhprof | Folder | 0777 |
|
|
| xmldb | Folder | 0777 |
|
|
| yui | Folder | 0777 |
|
|
| yuilib | Folder | 0777 |
|
|
| zipstream | Folder | 0777 |
|
|
| UPGRADING.md | File | 26.35 KB | 0777 |
|
| accesslib.php | File | 184.94 KB | 0777 |
|
| adminlib.php | File | 398.39 KB | 0777 |
|
| apis.json | File | 7.09 KB | 0777 |
|
| apis.schema.json | File | 1.06 KB | 0777 |
|
| authlib.php | File | 46.33 KB | 0777 |
|
| badgeslib.php | File | 55.15 KB | 0777 |
|
| blocklib.php | File | 106.57 KB | 0777 |
|
| cacert.pem | File | 239.21 KB | 0777 |
|
| cacert.txt | File | 811 B | 0777 |
|
| clilib.php | File | 9.58 KB | 0777 |
|
| completionlib.php | File | 70.38 KB | 0777 |
|
| componentlib.class.php | File | 29.51 KB | 0777 |
|
| components.json | File | 3.98 KB | 0777 |
|
| conditionlib.php | File | 1.11 KB | 0777 |
|
| configonlylib.php | File | 8.19 KB | 0777 |
|
| cookies.js | File | 2.37 KB | 0777 |
|
| cronlib.php | File | 1.07 KB | 0777 |
|
| csslib.php | File | 6.81 KB | 0777 |
|
| csvlib.class.php | File | 17.72 KB | 0777 |
|
| customcheckslib.php | File | 1.5 KB | 0777 |
|
| datalib.php | File | 85.59 KB | 0777 |
|
| ddllib.php | File | 4.72 KB | 0777 |
|
| default.ttf | File | 502.23 KB | 0777 |
|
| deprecatedlib.php | File | 25.18 KB | 0777 |
|
| dmllib.php | File | 12.47 KB | 0777 |
|
| dtllib.php | File | 2.58 KB | 0777 |
|
| editorlib.php | File | 6.43 KB | 0777 |
|
| emptyfile.php | File | 809 B | 0777 |
|
| enrollib.php | File | 138.47 KB | 0777 |
|
| environmentlib.php | File | 58.32 KB | 0777 |
|
| excellib.class.php | File | 30.24 KB | 0777 |
|
| externallib.php | File | 9.54 KB | 0777 |
|
| filelib.php | File | 204.42 KB | 0777 |
|
| filterlib.php | File | 42.89 KB | 0777 |
|
| flickrclient.php | File | 10.1 KB | 0777 |
|
| flickrlib.php | File | 52.19 KB | 0777 |
|
| formslib.php | File | 151.53 KB | 0777 |
|
| gdlib.php | File | 17.71 KB | 0777 |
|
| googleapi.php | File | 9.48 KB | 0777 |
|
| gradelib.php | File | 62.29 KB | 0777 |
|
| graphlib.php | File | 86.81 KB | 0777 |
|
| grouplib.php | File | 59.67 KB | 0777 |
|
| index.html | File | 1 B | 0777 |
|
| installlib.php | File | 18.79 KB | 0777 |
|
| javascript-static.js | File | 42.38 KB | 0777 |
|
| javascript.php | File | 4.11 KB | 0777 |
|
| jslib.php | File | 4.21 KB | 0777 |
|
| jssourcemap.php | File | 2.51 KB | 0777 |
|
| ldaplib.php | File | 18.19 KB | 0777 |
|
| lexer.php | File | 15.92 KB | 0777 |
|
| licenselib.php | File | 12.42 KB | 0777 |
|
| licenses.json | File | 2.29 KB | 0777 |
|
| listlib.php | File | 29.37 KB | 0777 |
|
| mathslib.php | File | 4.47 KB | 0777 |
|
| messagelib.php | File | 32.76 KB | 0777 |
|
| modinfolib.php | File | 143.39 KB | 0777 |
|
| moodlelib.php | File | 359 KB | 0777 |
|
| myprofilelib.php | File | 18.35 KB | 0777 |
|
| navigationlib.php | File | 264.31 KB | 0777 |
|
| oauthlib.php | File | 24.97 KB | 0777 |
|
| odslib.class.php | File | 57.65 KB | 0777 |
|
| outputactions.php | File | 1.04 KB | 0777 |
|
| outputcomponents.php | File | 1.04 KB | 0777 |
|
| outputfactories.php | File | 1.04 KB | 0777 |
|
| outputfragmentrequirementslib.php | File | 1.04 KB | 0777 |
|
| outputlib.php | File | 11.99 KB | 0777 |
|
| outputrenderers.php | File | 1.04 KB | 0777 |
|
| outputrequirementslib.php | File | 1.04 KB | 0777 |
|
| pagelib.php | File | 91.58 KB | 0777 |
|
| pdflib.php | File | 10.11 KB | 0777 |
|
| phpminimumversionlib.php | File | 3.08 KB | 0777 |
|
| plagiarismlib.php | File | 3.38 KB | 0777 |
|
| plugins.json | File | 15.21 KB | 0777 |
|
| plugins.schema.json | File | 1.28 KB | 0777 |
|
| portfoliolib.php | File | 53.58 KB | 0777 |
|
| questionlib.php | File | 79.14 KB | 0777 |
|
| recaptchalib_v2.php | File | 6.53 KB | 0777 |
|
| requirejs.php | File | 7.4 KB | 0777 |
|
| resourcelib.php | File | 8.89 KB | 0777 |
|
| rsslib.php | File | 17.94 KB | 0777 |
|
| searchlib.php | File | 17.29 KB | 0777 |
|
| sessionlib.php | File | 4.86 KB | 0777 |
|
| setup.php | File | 43.98 KB | 0777 |
|
| setuplib.php | File | 62.59 KB | 0777 |
|
| soaplib.php | File | 5.28 KB | 0777 |
|
| statslib.php | File | 67.81 KB | 0777 |
|
| tablelib.php | File | 1.47 KB | 0777 |
|
| thirdpartylibs.xml | File | 31.13 KB | 0777 |
|
| tokeniserlib.php | File | 16.69 KB | 0777 |
|
| upgrade.txt | File | 180.01 KB | 0777 |
|
| upgradelib.php | File | 107.07 KB | 0777 |
|
| uploadlib.php | File | 1.9 KB | 0777 |
|
| validateurlsyntax.php | File | 23.05 KB | 0777 |
|
| wasmlib.php | File | 4.29 KB | 0777 |
|
| webdavlib.php | File | 69.59 KB | 0777 |
|
| weblib.php | File | 92.3 KB | 0777 |
|
| wiki_to_markdown.php | File | 13.08 KB | 0777 |
|
| wordlist.txt | File | 1.23 KB | 0777 |
|
| xhtml.xsl | File | 223 B | 0777 |
|
| xmlize.php | File | 8.82 KB | 0777 |
|
| xsendfilelib.php | File | 3.02 KB | 0777 |
|