!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.8 GB of 99.4 GB (20.93%)
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:     ScoobeAccountState.js (4.03 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
//
// Copyright (C) Microsoft. All rights reserved.
//

define(() => {
    class ScoobeAccountState {
        launchAsync() {
            // Block non-supported account types such as secondary MSA, Domain joined, AAD connected accounts, Guest acoounts etc. from going through the SCOOBE flow
            let items = ["MsaPrimaryAccount"];
            return CloudExperienceHost.AccountAndServices.getUserProfileEngagementAsync(items).then(function (itemResults) {
                if (itemResults[0] === "Ineligible") {
                    return WinJS.Promise.as(CloudExperienceHost.AppResult.cancel);
                }
                // Call getContextParameterProperties to get the account and ngc state.
                return CloudExperienceHost.MSA.getContextParameterProperties().then(function (propertySet) {
                    // ShouldSkipNGCEnroll.getShouldSkipAsync will call NgcQueryEnabled to check whether or not Ngc is disabled for provision.
                    return CloudExperienceHost.MSA.ShouldSkipNGCEnroll.getShouldSkipAsync().then(function (isNgcDisabled) {

                        let hasNgc = propertySet['hasngc'] === "1";
                        let accountState = propertySet['scid']; // scenario ID

                        // Here is the logic of what to upsell based on the account and ngc state.
                        // (The "non-supported" case handles internal selfhost scenarios.)
                        //
                        // Account and Hello state      | MSA upsell    | Hello upsell
                        // -----------------------------+---------------+-------------
                        // local only                   | Associated    | Skip
                        // local with Hello             | Associated    | Enroll
                        // Connected only               | Skip          | Enroll
                        // Connected with Hello         | Skip          | Skip
                        // Associated with or w/o Hello | Skip          | Skip
                        // Non-supported account state  | Skip          | Skip

                        const scoobeMSA = CloudExperienceHost.AppResult.action1;
                        const scoobeMSAHello = CloudExperienceHost.AppResult.action2;
                        const skipAccountSetup = CloudExperienceHost.AppResult.action3;
                        let result = scoobeMSA;
                        let skipNgc = false;

                        switch (accountState) {
                            case "1": // local user
                                result = scoobeMSA;
                                if (!hasNgc || isNgcDisabled) {
                                    // Set the SkipNGC property to skip Hello upsell after associated.
                                    CloudExperienceHost.Storage.SharableData.addValue("SkipNGC", "1");
                                    skipNgc = true;
                                }
                                break;
                            case "3": // MSA connected
                                result = (hasNgc || isNgcDisabled) ? skipAccountSetup : scoobeMSAHello;
                                break;
                            case "6": // MSA associated
                                result = skipAccountSetup;
                                break;
                            default:
                                // Non-supported account state - fall back to skipping
                                result = skipAccountSetup;
                        }

                        propertySet['result'] = result;
                        propertySet['skipNgc'] = skipNgc;
                        propertySet['isNgcDisabled'] = isNgcDisabled;
                        CloudExperienceHost.Telemetry.WebAppTelemetry.getInstance().logEvent("ScoobeAccountState", JSON.stringify(propertySet));
                        return WinJS.Promise.as(result);
                    });
                });
            });
        }
    }
    return ScoobeAccountState;
});

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