!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\core\js\appLaunchers\   drwxrwxrwx
Free 20.89 GB of 99.4 GB (21.02%)
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:     HostedApplication.js (3.18 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
//
// Copyright (C) Microsoft. All rights reserved.
//

define(['legacy/appViewManager', 'legacy/core'], (appViewManager, core) => {
    class HostedApplication {
        static _onResize(param) {
            try {
                let newClientRect = appViewManager.getBoundingClientRect();
                
                let newRect = {
                    height: newClientRect.height,
                    width: newClientRect.width,
                    x: newClientRect.left, 
                    y: newClientRect.top 
                };
                let hostedApplicationManager = CloudExperienceHostAPI.HostedApplicationCore.getForCurrentView();
                let currentLocation = hostedApplicationManager.windowLocation;
                if (newRect !== currentLocation) {
                    hostedApplicationManager.windowLocation = newRect;
                }
            }
            catch (error) {
                CloudExperienceHost.Telemetry.logEvent("showHostedAppAsyncNodePositionUpdateFailure", core.GetJsonFromError(error));
            }
        }

        launchAsyncWithNavigationCompletedCallback(currentNode, args, callback) {
            if (currentNode && currentNode.appUserModelId) {
                let clientRect = appViewManager.getBoundingClientRect();
                let rect = {
                    height: clientRect.height,
                    width: clientRect.width,
                    x: clientRect.left,
                    y: clientRect.top
                };
                let showAppPromise = CloudExperienceHostAPI.HostedApplicationCore.showHostedAppAsync(currentNode.appUserModelId, currentNode.hostedApplicationProtocol, args, rect);
                showAppPromise = showAppPromise.then(function (hostedApplicationResult) {
                    window.removeEventListener("resize", HostedApplication._onResize);
                    return hostedApplicationResult.exitResult;
                }, function (error) {
                    window.removeEventListener("resize", HostedApplication._onResize);
                    CloudExperienceHost.Telemetry.logEvent("showHostedAppAsyncFailure", core.GetJsonFromError(error));
                    return CloudExperienceHost.AppResult.fail;
                });

                window.addEventListener("resize", HostedApplication._onResize);
                appViewManager.dimChrome();
                let navigationCompletedEventArgs = new Object(); // Need to implement INavigationCompletedEventArgs
                navigationCompletedEventArgs.isSuccess = true; // boolean
                navigationCompletedEventArgs.webErrorStatus = Windows.Web.WebErrorStatus.unknown; // Windows.Web.WebErrorStatus
                navigationCompletedEventArgs.uri = "hostedapplication://" + currentNode.appUserModelId; // string
                callback(navigationCompletedEventArgs);
                return showAppPromise;
            }
            else {
                CloudExperienceHost.Telemetry.logEvent("showHostedAppAsyncNodeMisconfiguration", JSON.stringify(currentNode));
                return CloudExperienceHost.AppResult.fail;
            }
        }
    }
    return HostedApplication;
});

:: 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.7345 ]--