Code de bypass adfly

Inscription
2 Avril 2015
Messages
1 540
Réactions
732
Points
4 731
RGCoins
25
Code:
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;

public string AdBypass(string link)
{
    HttpWebRequest Request = WebRequest.Create(new Uri(link)) as HttpWebRequest;
    Reques*spam*thod = WebRequestMethods.Http.Get;
    Request.UserAgent = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)";
    Request.Host = Request.RequestUri.Host;
    using (HttpWebResponse Response = Request.GetResponse() as HttpWebResponse)
    {
        using (StreamReader ResponseStream = new StreamReader(Response.GetResponseStream()))
            return Encoding.UTF8.GetString(Convert.FromBase64String(StrReverse(Regex.Match(ResponseStream.ReadToEnd(), @"ysmm\s=\s'(.*?)'").Groups[1].Value))).Remove(0, 2);
    }
}

private string StrReverse(string input)
{
    string tmp1 = null, tmp2 = null;
    for (int i = 0; i <= input.Length - 1; i += 2)
    {
        tmp1 += input[i];
        tmp2 += input[i + 1];
    }
    char[] charArray = tmp2.ToCharArray();
    Array.Reverse(charArray);
    return string.Concat(tmp1, new string(charArray));
}

Langue : C#
Bypass Adfly Countdown ( 5 .. 4 ... 3 ... 2 ... 1 ... )
 
Attendre 5 secondes ce n'est pas la mort :mmh: sinon bravo pour le code :)
 
Retour
Haut