📁
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: oauth2Service.js
/* * cjt/services/whm/oauth2Service.js Copyright(c) 2020 cPanel, L.L.C. * All rights reserved. * copyright@cpanel.net http://cpanel.net * This code is subject to the cPanel license. Unauthorized copying is prohibited */ /* global define: false */ define([ "angular", "jquery", "cjt/core" ], function( angular, $, CJT_CORE ) { var module = angular.module("cjt2.services.whm.oauth2", []); module.factory("oauth2Service", [ "$window", "$rootScope", "$httpParamSerializer", function( $window, $rootScope, $httpParamSerializer ) { /** * Ensures the presence of any required parameters in an OAuth2 params object. * Throws if any of them are missing. * * @method _checkParams * @private * @param {Object} params An OAuth2 params object. * @return {Boolean} True if it has all of the required parameters. */ function _checkParams(params) { var missingProps = []; ["client_id", "redirect_uri", "response_type"].forEach(function(prop) { if ( !angular.isDefined( params[prop]) || !params[prop].length ) { missingProps.push(prop); } }); if (missingProps.length) { throw new ReferenceError("The OAuth2 params object must include the following properties: " + missingProps.join(",")); } if (params.redirect_uri.indexOf("/") !== 0) { throw new Error("The redirect_uri parameter value must be an absolute path without the domain, port, or protocol."); } if (params.scope && !angular.isArray(params.scope)) { throw new TypeError("The scope parameter value must be an array of requested scopes."); } return true; } /** * Prepares the parameters model for serialization. * * @method _prepareParams * @private * @param {Object} params An object containing parameters for an OAuth2 URL. * @return {Object} The transformed object that is ready for serialization. */ function _prepareParams(params) { var preparedParams = angular.copy(params); // Append our server's base path to the absolute path of the redirect_uri preparedParams.redirect_uri = CJT_CORE.getRootPath() + preparedParams.redirect_uri; // Scopes should be listed in a comma separated string if (preparedParams.scope && preparedParams.scope.length) { preparedParams.scope = preparedParams.scope.join(","); } if (preparedParams.email) { var emails = preparedParams.email.split(/[,]/); // Just use the first one by default preparedParams.email = emails[0]; } return preparedParams; } return { /** * This method sets the endpoint and query parameters for later use. * * @method initialize * @param {String} endpoint The URL for the authentication endpoint. * @param {Object} params An object that will be transformed into the query string of the OAuth2 URL. */ initialize: function(endpoint, params) { if (!endpoint) { throw new ReferenceError("An OAuth2 endpoint is required to initialize the OAuth2 service."); } if ( _checkParams(params) ) { this.endpoint = endpoint; this.params = params; return this; } }, /** * Combine all the pieces to create the full authentication URI * * @method getAuthUri * @return {String} The authentication URL including all query parameters */ getAuthUri: function() { return ( encodeURI(this.endpoint) + "?" + $httpParamSerializer( _prepareParams(this.params) ) ); }, /** * Sets a callback to be executed after successful authorization and redirect. This callback is * called from /unprotected/oauth2callback.html after the redirect. * * @method setCallback * @param {Function} callback The callback function to run. */ setCallback: function(callback) { $window.oauth2Callback = function(queryString) { callback(queryString); $rootScope.$apply(); // This is happening outside of Angular's view, so we have to trigger it manually this.unsetCallback(); }.bind(this); }, /** * Remove a callback that was previously set. * * @method unsetCallback */ unsetCallback: function() { delete $window.oauth2Callback; } }; } ]); });
Save