Server IP : 103.6.199.200 / Your IP : 3.21.246.53 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/blc.trade-panel.com/wwwroot/ |
Upload File : |
<%@ page language="C#" autoeventwireup="true" inherits="test232, App_Web_9ye8lj_a" %> <!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 src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.6.2.js"></script> <script> var crypto = require('crypto'); // Used node module var btoa = require('btoa'); // Used node module function encryptMessage(text,key){ var secret = crypto.randomBytes(16); var secretKey = crypto.createHash('md5').update(key).digest(); // encrypt key into md5 var cipher = crypto.createCipheriv("aes-128-cbc", secretKey, secret); cipher.setAutoPadding(false); var ciphertext = cipher.update(text); const bufA = Buffer.concat([secret, ciphertext]); return btoa(bufA); } function CopyName() { var name = crypto.randomBytes(16); $("#<%=txtCopyName.ClientID%>").val(name); //set value return false; } function CopyName4() { var name = encryptMessage("77278f00d3316fad097e19c2f1a18fa47daafdd6aeabb130ec16d4c2ef4b554f","testingkey"); $("#<%=txtCopyName.ClientID%>").val(name); //set value return false; } function CopyName2() { var name = $("#<%=txtName.ClientID%>").val(); //get value $("#<%=txtCopyName.ClientID%>").val(name); //set value return false; } </script> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="txtName" runat="server" /> <asp:TextBox ID="txtCopyName" runat="server"/> <asp:button ID="btnCopyName" runat="server" Text="Copy" OnClientClick="javascript:CopyName();return false;"/> <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /> <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Button" /> <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="Button" /> <asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Text="Button" /> <asp:Button ID="Button5" runat="server" OnClick="Button5_Click" Text="Login" /><br /> <br /> <asp:Button ID="Button6" runat="server" OnClick="Button6_Click" Text="Convert" Width="102px" /> <asp:Button ID="Button7" runat="server" OnClick="Button7_Click" Text="Buy" Width="101px" /> <asp:Button ID="Button8" runat="server" OnClick="Button8_Click" Text="CartOut" Width="117px" /> <asp:Button ID="Button9" runat="server" OnClick="Button9_Click" Text="Qty" Width="162px" /></div> </form> </body> </html>