!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Microsoft-IIS/10.0. PHP/7.4.33 

uname -a: Windows NT LAKE 10.0 build 20348 (Windows Server 2016) AMD64 

IWPD_801(traduongco) 

Safe-mode: OFF (not secure)

C:\Windows\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\js\   drwxrwxrwx
Free 10.73 GB of 99.4 GB (10.79%)
Detected drives: [ a ] [ c ] [ d ] [ e ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     tokenManagerErrorHandler.js (4.35 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
//
// Copyright (C) Microsoft. All rights reserved.
//
(function () {
    "use strict";

    WinJS.UI.Pages.define("/views/tokenManagerErrorHandler.html", {
        ready: function (element, options) {
            document.getElementById("_okButton").addEventListener("click", function () {
                document.getElementById("_okButton").disabled = true;
                var msaUIHandler = options.msaUIHandler;
                msaUIHandler.saveAuthStateAndCompleteWebFlow(
                    CloudExperienceHost.AppResult.fail,
                    null /*requestId*/,
                    null /*puid*/,
                    null /*username*/,
                    null /*da*/,
                    null /*daCreation*/,
                    null /*daExpiration*/,
                    null /*sessionKey*/,
                    null /*flowToken*/,
                    options.hr,
                    options.hrInternal,
                    null /*sessionKeyType*/);
            }.bind(options));

            WinJS.Resources.processAll().done(function () {
                var title = null;
                var body = null;
                let HRESULT_ERROR_ACCESS_DISABLED_BY_POLICY = "0X800704EC";
                let HRESULT_ONL_E_REQUEST_THROTTLED = "0X80860010";
                // PIN unusable indicated by the following errors: 
                // NTE_BAD_KEYSET, NTE_PERM, NTE_INVALID_PARAMETER, NTE_NOT_FOUND, NTE_DEVICE_NOT_READY, TPM_20_E_HANDLE, ERROR_INVALID_STATE
                let ERRORS_PIN_UNUSABLE = ["0X80090016", "0X80090010", "0X80090027", "0X80090011", "0X80090030", "0X8028008B", "0X8007139F"];
                let platform = CloudExperienceHost.Environment.getPlatform();
                let internalError = options.hrInternal;

               if ((internalError !== null) && (internalError.toUpperCase() === HRESULT_ERROR_ACCESS_DISABLED_BY_POLICY)) {
                    // Show Block by GP error.  Pick up any error text that is passed in for the body.
                    title = WinJS.Resources.getString("/errors/BlockedByPolicyMSATitle").value;
                    body = options.internalErrorDescription || null;
                } else if ((internalError !== null) && (ERRORS_PIN_UNUSABLE.indexOf(internalError.toUpperCase()) >= 0)) {
                    // NGC key is unusable. Ask user to reset PIN because that creates a new key.
                    title = WinJS.Resources.getString("/errors/NoPinTitle").value;
                    body = WinJS.Resources.getString("/errors/NoPinText").value;
                } else if ((internalError !== null) && (internalError.toUpperCase() === HRESULT_ONL_E_REQUEST_THROTTLED)) {
                    // Show Block by throttling error.  Pick up any error text that is passed in for the body.
                    title = WinJS.Resources.getString("/errors/Title").value;
                    body = WinJS.Resources.getString("/errors/RequestThrottledText").value;
                    document.getElementById("_okButton").textContent =  WinJS.Resources.getString("/errors/Retry").value;
                }
                else if (options.hasInternetAccess === false) {
                    // Show No Nework error.
                    title = WinJS.Resources.getString("/errors/NoNetworkMsaTitle").value;
                    body = WinJS.Resources.getString("/errors/NoNetworkMsaText").value;
                } else {
                    // Show Generic error.
                    title = WinJS.Resources.getString("/errors/Title").value;
                    body = WinJS.Resources.getString("/errors/GenericMsaText").value;
                }

                document.getElementById("_title").textContent = title;
                document.getElementById("_errorText").textContent = body;
                document.getElementById("_errorCode").textContent = internalError;

                ["correlationId", "timeStamp"].forEach(function (field) {
                    let element = document.getElementById("_" + field);
                    if (options[field]) {
                        element.textContent = options[field];
                    }
                });

                if (platform === CloudExperienceHost.TargetPlatform.XBOX) {
                    document.getElementById("_feedback").style.display = 'none';
                }
            }.bind(options));
        },
    });
})();


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5599 ]--