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 :  C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/login.aspx
<%@ Register TagPrefix="uc1" TagName="uscStyleHeader" Src="Controls/uscStyleHeader.ascx" %>
<%@ Register TagPrefix="uc2" TagName="uscLanguageToken" Src="Controls/uscLanguageToken.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="login.aspx.vb" Inherits="MailEnable.Clients.WebAdmin.Mondo.Login" %>
<%@ Register TagPrefix="uc2" TagName="uscLanguageTokenMondo" Src="Controls/uscLanguageToken.ascx" %>
<%@ Register TagPrefix="uc1" TagName="ScriptsInclude" Src="Controls/ScriptsInclude.ascx" %>
<uc2:uscLanguageTokenMondo id="uscToken" runat="server"></uc2:uscLanguageTokenMondo>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
		<meta charset="utf-8">
		<title><%=uscToken.GetText("[ME_TXT-MailEnableWebAdministration]")%></title>
		<meta content="NOINDEX,NOFOLLOW" name="ROBOTS" />
		<uc1:uscStyleHeader id="UscStyleHeader1" runat="server"></uc1:uscStyleHeader>
        <uc1:ScriptsInclude ID="ScriptsInclude" runat="server" libraries="core"></uc1:ScriptsInclude>


        <style type="text/css">
            #tblButtons {width:100%;}
            #tblButtons td {text-align: right;}
        </style>

		<script type="text/javascript">

        var gUseAJAXLogin = <%=UseAJAXLogin()%>;

	    function Login_KeyPress(evt) {
	        evt = evt || window.event;

	        if (IsEnterKey(evt)) {
	            Login();
	        }
	    }

	    function IsEnterKey(e)
	    {
	        var cc;
	        e = e || window.event;

	        if (e && e.which)
	        {
	            e = e;
	            cc = e.which; 
	        }
	        else {
	            e = e;
	            cc = e.keyCode;
	        }

	        if (cc == 13) {
	            return true;
	        }
	        else {
	            return false;
	        }
	    }


	    function ResetFields() {
	        try {
	            document.getElementById('txtUsername').value = "";
	            document.getElementById('txtPassword').value = "";
	            document.getElementById('chkRemember').checked = false;

	            try {
	                document.getElementById('ddlLanguages').value = 'en';
	            }
	            catch (ex) {
	                document.getElementById('ddlLanguages').selectedIndex = 0;
	            }

	            document.getElementById('ddlSkins').selectedIndex = 0;

	            __doPostBack('', '');
	        }
	        catch (ex) { }
	    }

        function HideMsg() {
            $("#lblDescription").text('');
            $("#lblDescription").css('visibility', 'hidden');
            //$("#lblDescription").hide();            
        }
        function ShowMsg(sMsg) {
            $("#lblDescription").text(sMsg);
            $("#lblDescription").css('visibility', 'visible');
            //$("#lblDescription").show();
        }
        function HideTOTPCode() {
            $(".login_lang_table").show();
            $("#dvTOTP").hide();
            $("#dvCredentials").show();     
            $(".login_remember_checkbox").show();                   
        }

        function ShowTOTPCode() {
            $(".login_lang_table").hide();
            $("#dvTOTP").show();
            $("#dvCredentials").hide();     
            $(".login_remember_checkbox").hide();                   
        }


	    function PageLoad() {
	        if (document.addEventListener) {
	            document.addEventListener("keydown", Login_KeyPress, false);
	        } else {
	            document.attachEvent("onkeydown", Login_KeyPress);
	        }
	    }


        $(document).ready(function () {
            $("#jsWarning").hide();
            $("#txtKey").hide();
            $("#txtUsername").change(function () { HideMsg(); });
            $("#txtPassword").change(function () { HideMsg(); });
            $("#txtKey").change(function () { HideMsg(); });

            $("#txtUsername").keydown(function () { HideMsg(); });
            $("#txtPassword").keydown(function () { HideMsg(); });
            $("#txtKey").keydown(function () { HideMsg(); });        
            });

	    function Submit(ev) {
	        ev = ev || window.event;

	        if (ev == undefined) {
                 return true;
	        }

	        if (ev.preventDefault) {
	            ev.stopPropagation();
	            ev.preventDefault();
	        }
	        else {
	            ev.cancelBubble = true;
	            ev.returnValue = false;
	        }

	        return false;
	    }

        function getAppServletURL(sAppName)
        {
            var rootURL = window.location;
            // make sure it is a string...........
            rootURL += 'stringitup';
            rootURL = rootURL.match(/^.*\/Mondo/i);
            rootURL += '/Servlet/request.aspx';
            return rootURL;
        }

        function IssueLogin() {
            HideTOTPCode();
            HideMsg();
            $('#btnLogin_js').removeClass('blue');
            var frmData = $("#frmLogin").serializeNoViewState();
            $.ajax({ // make an AJAX request
                type: "POST",
                url: getAppServletURL() + "?Cmd=LOGIN&Format=JSON&ts=" + (new Date()).getTime(), //&ME_SID=" + readCookie('MailEnable-SessionId') + "
                data: frmData, // serializes the form's elements
                cache: false,
                async: false,
                error: function (jqXHR, sTextstatus, sErrorThrown) { alert('error:' + jqXHR.responseText); },
                complete: function (jqXHR, sTextstatus) { console.log('complete:' + jqXHR.responseText); },
                success: function (data) {
                    if (data.AuthenticationResult == '1') {
                        if (data.bPromptForKey == true) {
                            $('#btnLogin_js').addClass('blue');
                            if (data.bKeyRequiresReset == true) {
                                $("#dvTOTP img").attr("src",data.QRCodeURL);
                                $("#dvSecretKey").text(data.TOTPCode);
                                ShowTOTPCode();
                            }
                            if (data.sFailureDescription && (data.sFailureDescription.length > 0)) {
                                ShowMsg(data.sFailureDescription);
                            }
                            $("#txtKey").show();
                        }
                        else {
                            //hit the client page
                            var tsCDT = new Date().getTime();
                            window.location = "./Forms/default.aspx?CDT=" + tsCDT;
                        }
                    }
                    else {
                        $('#btnLogin_js').addClass('blue');
                        //hit the failure page?
                        ShowMsg(data.sFailureDescription);
                    }
                }
            });
        }


	    function Login() {
	        var $pass = document.getElementById('txtPassword');
            var $user = document.getElementById('txtUsername');
            var passL = $pass.value.length;
            var userL = $user.value.length;

            if (passL === 0) {
                $pass.focus();
            }

            if (userL === 0) {
                $user.focus();
            }

            if (passL != 0 && userL != 0) {
                document.forms[0].elements['loginParam'].value = 'SubmitLogin';
                if (gUseAJAXLogin) {
                    if ($("#txtKey").is(":visible") && ($("#txtKey").val().length <= 0))
                    {
                        alert('The Code cannot be blank');
                    }
                    else
                    {
                        IssueLogin();
                    }
                }
                else {
                    __doPostBack('', '');
                }

            }
        }
		
		</script>
		
		<!--[if lte IE 7]>
        <style type="text/css">
            .loginPanel_shell  {position:absolute;top:50%;height:400px;margin-top:-200px;}
        </style>
        <![endif]-->

	</head>
	<body onload="PageLoad()">
    <noscript>        
        <div id="jsWarning">You must enable javascript in order to access this service.</div>
    </noscript>		
	  <div class="login_bg">
        <div class="login_shell">      
            <form id="frmLogin" name="frmLogin" runat="server" onsubmit="Submit()">
            <div class="login_panel">
                <div class="login_panel_left login_logo"></div>
                <div class="login_panel_right">
                    
                    <h1>Sign In</h1>
                    
                    <div id="dvCredentials">
                    <asp:TextBox class="textfield" ID="txtUsername" Runat="server" placeholder="Username"></asp:TextBox><br />
                    <asp:TextBox class="textfield" ID="txtPassword" Runat="server" TextMode="Password" placeholder="Password"></asp:TextBox><br />
                    </div>
                    <div id="lblDescription" style="visibility:visible;color:Blue;height:22px;"></div>
                    <div id="dvTOTP" style="display:none">
                        <img src="//:0" alt="QRCode"/> <!-- dummy URL for compliance -->
                        <div id="dvSecretKey" style="float: right;margin-top:5px"></div>
                        <br />
                    </div>
                    <asp:TextBox class="textfield" ID="txtKey" Runat="server" placeholder="Key"></asp:TextBox><br />

                    <table class="login_lang_table">
                        <tr>
                            <td>
                                <uc2:uscLanguageToken id="Usclanguagetoken5" TokenID="LANGUAGE" runat="server"></uc2:uscLanguageToken><br />
                                <asp:DropDownList id="ddlLanguages" runat="server" AutoPostBack="True"></asp:DropDownList><br />
                            </td>
                            <td class="login_lang_table_mid"></td>
                            <td>
                                <uc2:uscLanguageToken id="Usclanguagetoken4" TokenID="SKIN" runat="server"></uc2:uscLanguageToken><br />
                                <asp:DropDownList id="ddlSkins" runat="server"></asp:DropDownList><br />
                            </td>
                        </tr>
                    </table>
                    
                    <div class="login_remember_checkbox">
                        <asp:CheckBox ID="chkRemember" Runat="server" CssClass="ME_StandardText"></asp:CheckBox>
                    </div>
                    
                    <asp:Button ID="btnLogin" Runat="server" class="ME_Button" style="display:none;"></asp:Button>
                    <input type="reset" id="btnReset" style="display:none;" />
                    
                    <!-- Login / Reset Buttons -->
                    <div id="btnLogin_js" class="bttn_shell blue">
                        <a onclick="Login();" class="bttn">Login</a>
                    </div>
                    <div class="bttn_shell">
                        <a onclick="document.getElementById('btnReset').click();" class="bttn">Reset</a>
                    </div>
                    
                    <div class="login_foot_nav">
                      <% If MobileAssociation = MobileAssociationMode.Link Or MobileAssociation = MobileAssociationMode.RedirectOrLink Then%>
                        <a href="<%=VirtualDirectoryRootPath %>/Mobile/Login.aspx"><%=uscToken.GetText("[ME_TXT-MobileVersion]")%></a>
                      <% End If %>
                    </div>
                    
                    <script type="text/javascript">
                    <!--
                     var now = new Date()
                     var offset = now.getTimezoneOffset();
                     document.write('<input type=hidden name=offset value="' + offset + '">');							
                    //-->
                    </script>
                    
                </div><!-- login_panel_right -->
            </div><!-- login_panel -->
            
            <div class="login_copyright">&copy; 2022 <a href='https://www.mailenable.com' target='_blank'>MailEnable Pty. Ltd.</a></div>
            <input type="hidden" runat="server" id="loginParam" />
            </form>
        </div><!-- login_shell -->
      </div><!-- login_bg -->
    <script type="text/javascript">
    <!--
        if (window.jQuery) {
            $.fn.serializeNoViewState = function () {
                return this.find("input,textarea,select,hidden")
                       .not("[type=hidden][name^=__]")
                       .serialize();
            }
        }
    //-->
    </script>      
  </body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit