403Webshell
Server IP : 185.208.173.17  /  Your IP : 87.236.161.98
Web Server : Microsoft-IIS/10.0
System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64
User : IUSR ( 0)
PHP Version : 7.4.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Windows/SystemApps/Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy/js/mobileExperience.js
//
// Copyright (C) Microsoft. All rights reserved.
//
/// <disable>JS2085.EnableStrictMode</disable>
"use strict";
var CloudExperienceHost;
(function (CloudExperienceHost) {
    var MobileExperience;
    (function (MobileExperience) {
        var OOBE;
        (function (OOBE) {
            function getShouldSkipAsync() {
                return new WinJS.Promise(function (completeDispatch, errorDispatch) {
                    let policyValue = CloudExperienceHostAPI.UtilStaticsCore.getLicensingPolicyValue("OOBE-Skip-PhonePairing");
                    completeDispatch(policyValue != 0);
                });
            }
            OOBE.getShouldSkipAsync = getShouldSkipAsync;
        })(OOBE = MobileExperience.OOBE || (MobileExperience.OOBE = {}));

        function setMobileExperienceOptIn() {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            mobileExperienceManager.mobilityExperienceSettings.optedIn = true;
        }

        function getHasPreviouslyPaired() {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            return mobileExperienceManager.mobilityExperienceSettings.hasPreviouslyPaired;
        }

        function setHasPreviouslyPaired() {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            mobileExperienceManager.mobilityExperienceSettings.hasPreviouslyPaired = true;
        }

        function getPairingContext() {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            return mobileExperienceManager.mobilityExperienceSettings.pairingContext;
        }

        function setPairingContext(pairingContext) {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            mobileExperienceManager.mobilityExperienceSettings.pairingContext = pairingContext;
        }

        function getSilentPairingContractVersion() {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            return mobileExperienceManager.mobilityExperienceSettings.silentPairingContractVersion;
        }

        function getShouldSkipAsync() {
            return new WinJS.Promise(function (completeDispatch, errorDispatch) {
                let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
                let isOptedIn = mobileExperienceManager.mobilityExperienceSettings.optedIn;
                let isPinned = mobileExperienceManager.mobilityExperienceSettings.yourPhoneTaskbarIconCreated;
                let hasPreviouslyPaired = mobileExperienceManager.mobilityExperienceSettings.hasPreviouslyPaired;

                // Skip the MMX node if user is opted in and GG is pinned
                ((isOptedIn && isPinned) || hasPreviouslyPaired) ? completeDispatch(true) : completeDispatch(false);
            });
        }

        function tryPinYourPhoneAppToTaskbar() {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            return mobileExperienceManager.mobilityExperienceSettings.tryPinYourPhoneAppToTaskbar();
        }

        function createYourPhoneTaskbarIconIfNeeded(linkedMobileOS, selectedMobileOS, segmentMobileOS) {
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            mobileExperienceManager.mobilityExperienceSettings.createYourPhoneTaskbarIconIfNeeded(linkedMobileOS, selectedMobileOS, segmentMobileOS);
        }

        // These are added for Settings only because OOBE will not have these values set or enabled
        function getSettingsQueryString() {
            let flightingInfo = CloudExperienceHostAPI.ContentDeliveryManagerHelpers.getFlightingInfo();
            let queryString = getQueryString();
            let mobileExperienceManager = new ContentManagement.ContentManagementBroker();
            queryString += "&waasBldFlt=" + (flightingInfo.enabled ? "1" : "0");
            queryString += "&waasRing=" + flightingInfo.ring;
            queryString += "&mobilityOptIn=" + (mobileExperienceManager.mobilityExperienceSettings.optedIn ? "1" : "0");
            return queryString;
        }

        function getQueryString() {
            let smbUsage = CloudExperienceHostAPI.ContentDeliveryManagerHelpers.businessUsageIndicator;
            let tailoredExperience = CloudExperienceHostAPI.ContentDeliveryManagerHelpers.tailoredExperiencesEnabled;
            let queryString = "";
            queryString += "isu=" + (smbUsage ? "1" : "0");
            queryString += "&poptin=" + (tailoredExperience ? "1" : "0");
            return queryString;
        }

        MobileExperience.setMobileExperienceOptIn = setMobileExperienceOptIn;
        MobileExperience.getShouldSkipAsync = getShouldSkipAsync;
        MobileExperience.createYourPhoneTaskbarIconIfNeeded = createYourPhoneTaskbarIconIfNeeded;
        MobileExperience.getOobeQueryString = getQueryString;
        MobileExperience.getSettingsQueryString = getSettingsQueryString;
        MobileExperience.getScoobeQueryString = getSettingsQueryString;
        MobileExperience.getHasPreviouslyPaired = getHasPreviouslyPaired;
        MobileExperience.setHasPreviouslyPaired = setHasPreviouslyPaired;
        MobileExperience.getPairingContext = getPairingContext;
        MobileExperience.setPairingContext = setPairingContext;
        MobileExperience.getSilentPairingContractVersion = getSilentPairingContractVersion;
        MobileExperience.tryPinYourPhoneAppToTaskbar = tryPinYourPhoneAppToTaskbar;

    })(MobileExperience = CloudExperienceHost.MobileExperience || (CloudExperienceHost.MobileExperience = {}));
})(CloudExperienceHost || (CloudExperienceHost = {}));

Youez - 2016 - github.com/yon3zu
LinuXploit