📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: modSecurityDomainService.js
/* global define: false */ define( [ // Libraries "angular", "lodash", // CJT "cjt/util/locale", "cjt/io/api", "cjt/io/uapi-request", "cjt/io/uapi", // IMPORTANT: Load the driver so its ready // Angular components "cjt/services/APIService" ], function(angular, _, LOCALE, API, APIREQUEST, APIDRIVER) { // Fetch the current application var app = angular.module("App"); /** * Setup the domainlist models API service */ app.factory("modSecurityDomainService", ["$q", "APIService", function($q, APIService) { /** * Converts the response to our application data structure * @param {Object} response * @return {Object} Sanitized data structure. */ function convertResponseToList(response) { var items = []; if (response.data) { var data = response.data; for (var i = 0, length = data.length; i < length; i++) { items.push(data[i]); } var meta = response.meta; var totalItems = meta.paginate.total_records || data.length; var totalPages = meta.paginate.total_pages || 1; var totalEnabled = 0, totalDisabled = 0; if ( meta.hasOwnProperty("modsec") ) { totalEnabled = meta.modsec.total_enabled; totalDisabled = meta.modsec.total_disabled; } else { // calculate these since we are getting this from disableAll or // enableAll and it does not do these calculations server side. var enabledItems = _.filter(data, function(item) { return !!item.enabled; }); totalEnabled = enabledItems ? enabledItems.length : 0; totalDisabled = data.length - totalEnabled; } return { items: items, totalItems: totalItems, totalPages: totalPages, totalEnabled: totalEnabled, totalDisabled: totalDisabled }; } else { return { items: [], totalItems: 0, totalPages: 0, totalEnabled: 0, totalDisabled: 0 }; } } /** * Toggles mod security on the specified domains * * @param {String} API method to call. * @param {String} domains to be toggled on or off * @return {Object} The result object. */ function toggleDomains(method, domains) { var apiCall = new APIREQUEST.Class(); apiCall.initialize("ModSecurity", method, { domains: domains }); var deferred = this.deferred(apiCall, { done: function(response, deferred) { // create items from the response response = response.parsedResponse; var results = convertResponseToList(response); if (response.status) { // keep the promise deferred.resolve(results); } else { // pass the error along deferred.reject({ items: results.items, error: response.error }); } } }); // pass the promise back to the controller return deferred.promise; } /** * Toggles mod security for all domains * * @param {String} API method to call. * @return {Object} The result object. */ function toggleAllDomains(method) { var apiCall = new APIREQUEST.Class(); apiCall.initialize("ModSecurity", method); var deferred = this.deferred(apiCall, { done: function(response, deferred) { // create items from the response response = response.parsedResponse; var results = convertResponseToList(response); if (response.status) { // keep the promise deferred.resolve(results); } else { // pass the error along results.error = response.error; deferred.reject(results); } } }); // pass the promise back to the controller return deferred.promise; } // Set up the service's constructor and parent var DomainsService = function() {}; DomainsService.prototype = new APIService(); // Extend the prototype with any class-specific functionality angular.extend(DomainsService.prototype, { /** * Get a list domains that match the selection criteria passed in meta parameter * @param {object} meta Optional meta data to control sorting, filtering and paging * @param {string} meta.sortBy Name of the field to sort by * @param {string} meta.sordDirection asc or desc * @param {string} meta.sortType Optional name of the sort rule to apply to the sorting * @param {string} meta.filterBy Name of the filed to filter by * @param {string} meta.filterCompare Optional comparator to use when comparing for filter. * If not provided, will default to ???. * May be one of: * TODO: Need a list of valid filter types. * @param {string} meta.filterValue Expression/argument to pass to the compare method. * @param {string} meta.pageNumber Page number to fetch. * @param {string} meta.pageSize Size of a page, will default to 10 if not provided. * @return {Promise} Promise that will fulfill the request. */ fetchList: function(meta) { var apiCall = new APIREQUEST.Class(); apiCall.initialize("ModSecurity", "list_domains"); if (meta) { if (meta.sortBy && meta.sortDirection) { apiCall.addSorting(meta.sortBy, meta.sortDirection, meta.sortType); } if (meta.pageNumber) { apiCall.addPaging(meta.pageNumber, meta.pageSize || 10); } if (meta.filterBy && meta.filterCompare && meta.filterValue) { apiCall.addFilter(meta.filterBy, meta.filterCompare, meta.filterValue); } } var deferred = this.deferred(apiCall, { transformAPISuccess: convertResponseToList }); // pass the promise back to the controller return deferred.promise; }, /** * Helper method that calls convertResponseToList to prepare the data structure * @param {Object} response * @return {Object} Sanitized data structure. */ prepareList: function(response) { return convertResponseToList(response); }, /** * Enables mod security on the specified domains * @param {Object} domains A coma sepperated list of domains * @return {Object} The result object. */ enableDomains: function(domains) { return toggleDomains.call(this, "enable_domains", domains); }, /** * Enables mod security on all domains * @return {Object} The result object. */ enableAllDomains: function() { return toggleAllDomains.call(this, "enable_all_domains"); }, /** * Disables mod security on the specified domains * @param {Object} domains A coma sepperated list of domains * @return {Object} The result object. */ disableDomains: function(domains) { return toggleDomains.call(this, "disable_domains", domains); }, /** * Disables mod security on all domains * @return {Object} The result object. */ disableAllDomains: function() { return toggleAllDomains.call(this, "disable_all_domains"); } }); return new DomainsService(); }]); } );
Save