!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\   drwxrwxrwx
Free 20.7 GB of 99.4 GB (20.83%)
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:     autopilotcore.js (2.79 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
//
// Copyright (C) Microsoft. All rights reserved.
//

define([], () => {
    function normalizePromise(promise) {
        return new WinJS.Promise((resolve, reject) => {
            Promise.resolve(promise).then(resolve, reject);
        });
    }

    class AutopilotModule {
        constructor() {
            this.autopilotManager = null;
        }

        isAutopilotEnabledAsync() {
            return normalizePromise(
                EnterpriseDeviceManagement.Service.AutoPilot.AutoPilotUtilStatics.isLocalProfileAvailableAsync()
                    .then(isProfileAvailable => isProfileAvailable, () => false)
            );
        }

        shouldSkipAutoPilotUpdateAsync() {
            return normalizePromise((async () => {
                try {
                    if (await this.isAutopilotEnabledAsync()) {
                        const isUpdateDisabled = (await EnterpriseDeviceManagement.Service.AutoPilot.AutoPilotUtilStatics.getDwordPolicyAsync("CloudAssignedAutopilotUpdateDisabled") === 1);

                        await CloudExperienceHost.Telemetry.logEvent(isUpdateDisabled ? "AutoPilot_ShouldSkipAutoPilotUpdate_SkippingBecauseDisabled" : "AutoPilot_ShouldSkipAutoPilotUpdate_NoSkippingBecauseEnabled");

                        return isUpdateDisabled; // return we should skip if update is explicitly disabled
                    }

                    // Skip when no AP enabled
                    return true;
                } catch (err) {
                    CloudExperienceHost.Telemetry.logEvent("Autopilot_AutoPilotUpdatePage_GetShouldSkipOptOutAsyncFailed", JSON.stringify({ error: err }));
                    return true;
                }
            })());
        }

        getAutopilotUpdateTimeoutAsync() {
            const DefaultTimeoutMS = 1800000; // 1000 * 60 * 30 = 30m

            return normalizePromise((async () => {
                const isApEnabled = await this.isAutopilotEnabledAsync();
                if (!isApEnabled) {
                    // not now: throw new Error("Autopilot not enabled");
                }

                const timeoutDuration = await this.getAutopilotManager().getDwordPolicyAsync("AutopilotUpdateTimeout");

                return (timeoutDuration === 0 ? DefaultTimeoutMS : timeoutDuration);
            })());
        }

        performAutopilotUpdateWithProgressAsync() {
            return normalizePromise(this.getAutopilotManager().performAutopilotUpdateWithProgressAsync());
        }

        getAutopilotManager() {
            if (!this.autopilotManager) {
                this.autopilotManager = new EnterpriseDeviceManagement.Service.AutoPilot.AutoPilotServer();
            }

            return this.autopilotManager;
        }
    }

    return new AutopilotModule();
});

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