403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
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/deviceUser.js


"use strict";
var CloudExperienceHost;
(function (CloudExperienceHost) {
    var DeviceUser;
    (function (DeviceUser) {
        function createDeviceUser(username, password) {
            return new WinJS.Promise(function (completeDispatch, errorDispatch, progressDispatch) {
                var provider = new Windows.Security.Cryptography.DataProtection.DataProtectionProvider("local=user");
                var binary = Windows.Security.Cryptography.CryptographicBuffer.convertStringToBinary(password, Windows.Security.Cryptography.BinaryStringEncoding.utf8);

                
                provider.protectAsync(binary).then(function (protectedData) {
                    var deviceUserManager = new Microsoft.ResourceAccountManager.ResourceAccountSetup();
                    return deviceUserManager.createResourceAccountWithAADAccountAsync(username, protectedData)
                })
                .done(function () { completeDispatch(); }, function (err) { errorDispatch(err); }, function (progress) { progressDispatch(progress); });
            });
        }
        DeviceUser.createDeviceUser = createDeviceUser;
    })(CloudExperienceHost.DeviceUser || (CloudExperienceHost.DeviceUser = {}));
})(CloudExperienceHost || (CloudExperienceHost = {}));

Youez - 2016 - github.com/yon3zu
LinuXploit