Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile


<?php



$curl = curl_init();

curl_setopt_array($curl, [

   CURLOPT_URL        => 'https://itorrents.org/autoupload.php',

   CURLOPT_POST       => 1,

   CURLOPT_POSTFIELDS => [

       'file' => new CurlFile('/tmp/the-x-factor-uk-s15e02-720p-hdtv-x264-ftp.torrent', 'application/x-bittorrent', 'the-x-factor-uk-s15e02-720p-hdtv-x264-ftp')

   ],

   CURLOPT_TIMEOUT        => 5,

   CURLOPT_RETURNTRANSFER => 1,

   CURLOPT_HEADER         => 1,

   CURLOPT_USERAGENT      => 'TT/v2.08'

]);

$data = curl_exec($curl);

curl_close($curl);

var_dump($data);


Triggers an error from cloudflare... but even so if that method not available then soap is active in php7
They do not provide a curl example, i would recommend installing the pecl extension as they say on their site.
That is a issue that he would have to resolve, but in terms of the exploit that was available here that was resolved.
I would call that more of a mirroring service for torrents.

I made an actual API uploading service for TT some years ago, the core really needs this feature.
If i remember correctly this is already patched in v2.08-FINAL by myself

[ATTACH type="full" alt="5166"]5166[/ATTACH]

As you can see in the image, the edit secret cannot be empty which means the secret will never just match md5(email)
Have you tested this is actually a problem because for me i am having difficulty making the flaw work. By looking at the write it, it means the editsecret column must be empty, but in the version 2.08 i have seen we check to prevent that from being empty.
You guys may find this useful:


<?php
function scrapeSupported($tracker)

{

   $pieces = parse_url($tracker);

   if (! isset($pieces['scheme'])) {

       return false;

   } elseif (! preg_match('@^(http[s]?|udp)$@', $pieces['scheme'])) {

       return false;

   }

   $delimiter = strripos($pieces['path'], '/');

   if ($delimiter === false) {

       return false;

   } elseif (substr($pieces['path'], ++$delimiter, 8) !== 'announce') {

       return false;

   } else {

       return true;

   }

}



$urls[] = "http://example.com/announce";

$urls[] = "http://example.com/x/announce";

$urls[] = "http://example.com/announce.php";

$urls[] = "http://example.com/a";

$urls[] = "http://example.com/announce?x2%0644";

$urls[] = "http://example.com/announce?x=2/4";

$urls[] = "http://example.com/x%064announce";

$urls[] = "http://foobar.org:8080/passkey/announce";

foreach ($urls as $url) {

   $results[$url] = scrapeSupported($url);

}

var_dump($results);




It returns as follows:


array(8) {

 ["http://example.com/announce"]=>

 bool(true)

 ["http://example.com/x/announce"]=>

 bool(true)

 ["http://example.com/announce.php"]=>

 bool(true)

 ["http://example.com/a"]=>

 bool(false)

 ["http://example.com/announce?x2%0644"]=>

 bool(true)

 ["http://example.com/announce?x=2/4"]=>

 bool(true)

 ["http://example.com/x%064announce"]=>

 bool(false)

 ["http://foobar.org:8080/passkey/announce"]=>

 bool(true)

}


I would recommend implementing it to the core in order to determine where a announce url supports scrape or not.
"m-jay, post: 66998, member: 20288":

$file = new SplFileObject('backend/config.php', 'w'); $file->fwrite('<?php ' . "\r\n\r\n" . '$site_config = ' . var_export((array)$_POST, true) . ';');


I would not use this in production, instead manually do validation for each field.
You should not be using backend/Parse.php that is only used to decode the .torrent file. To obtain the infohash of a torrent just use the database and if im honest with you the megascrape is pretty slow, you should convert it to a cli app that can make use of multithreading.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 3
  • Members: 0
  • Guests online: 3
  • Comments: 3
  • Messages: 1,728