403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/core/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/core/js/require-helpers.js
"use strict";
function requireAsync(modules) {
    /// <summary>Asynchronously loads modules using RequireJs and returns a promise</summary>
    /// <param name="modules" type="Array">Array of one or more module names</param>
    /// <returns type="WinJS.Promise">A promise which when fulfilled provides an object where the keys are module names (with "/" squashed to "_") and the values are the loaded module references</returns>
    return new WinJS.Promise((reportComplete, reportError, reportProgress) => {
        require(modules, (...loadedModules) => {
            var result = {};
            for (let i = 0; i < modules.length; i++) {                
                result[modules[i].replace("/", "_").replace("-", "_")] = loadedModules[i];
            }
            reportComplete(result);
        }, (error) => {
            reportError(error);
        });
    });
}

// For now, treat F5 deployments as "debug mode"
// Eventually we should have a minifier set up to strip all Debug calls from call sites in release builds
(function () {
    let isDebugBuild = self.Windows && Windows.ApplicationModel.Package.current.isDevelopmentMode;
    if (isDebugBuild) {
        function _getCallerInfo() {
            let caller = null;
            try {
                let errorObj = new Error();
                caller = errorObj.stack.split("\n")[3];
            }
            catch (ex) { }
            return caller;
        }

        self.Debug = {
            assert: function (predicate, msg) {
                if (!predicate) {
                    let caller = _getCallerInfo();
                    console.log(`Assertion hit: ${msg || ""} ${caller || "" }`);
                    debugger;
                }
            },
            break: function (msg) {
                let caller = _getCallerInfo();
                console.log(`Assertion hit: ${msg || ""} ${caller || "" }`);
                debugger;
            },
            log: function (msg) {
                let caller = _getCallerInfo();
                console.log(msg + (caller || ""));
            },
        };
    }
    else {
        self.Debug = {
            assert: function () { },
            break: function () { },
            log: function () { },
        };
    }
})();

Youez - 2016 - github.com/yon3zu
LinuXploit