2017 © Pedro Peláez
 

library torrent-fake-seeder

Fake a torrent's seed

image

devitek/torrent-fake-seeder

Fake a torrent's seed

  • Friday, July 25, 2014
  • by CaporalDead
  • Repository
  • 1 Watchers
  • 14 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

A little script to show how easy it is to spoof a torrent tracker with fake data

This script is just a PoC. Provide your torrent file and use it like this :, (*1)

php composer.phar require devitek/torrent-fake-seeder dev-master

and then create a php file and put this :, (*2)

<?php

require_once('vendor/autoload.php');

use Devitek\Net\Torrent\Client\Azureus\Azureus45;
use Devitek\Net\Torrent\Seeder;
use Devitek\Net\Torrent\Torrent;

$torrent = new Torrent('file.torrent');
$client  = new Azureus45();
$seeder  = new Seeder($client, $torrent);

$seeder->bind('update', function ($data) {
    echo $data['uploaded'] . ' MB at ' . $data['speed'] . ' MB/sec uploaded' . PHP_EOL;
});

$seeder->bind('error', function ($data) {
    echo $data['exception']->getMessage() . PHP_EOL;
});

$seeder->seed();

This will fakely seed your file.torrent file., (*3)


Please use it carefully. Feel free to test, fork and improve it., (*4)

The Versions

25/07 2014

dev-master

9999999-dev

Fake a torrent's seed

  Sources   Download

The Requires

  • php >=5.4.0

 

by Thomas SIEFFERT

25/07 2014

0.1

0.1.0.0

Fake a torrent's seed

  Sources   Download

The Requires

  • php >=5.4.0

 

by Thomas SIEFFERT