Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   TSSE v5.6 DECODED (NULLED BY Nightcrawler) (http://www.bvlist.com/showthread.php?t=3580)

Daz 25th September 2012 03:19

Quote:

Originally Posted by DJHicks (Post 35726)
Bump: BUMP!!! ****


I'm guessing i have to edit this piece of code but not being a php buff i'm unsure what to do so will try a few things but any pointers greatly appriciated! lol

PHP Code:

# Function redirect v.0.7

function redirect($url$message=''$title=''$wait=3$usephp=false$withbaseurl=true)

{

    global 
$SITENAME,$BASEURL,$lang;

    if (empty(
$message))

        
$message $lang->global['redirect'];

    if(empty(
$title))

        
$title $SITENAME;        

    
$url fix_url($url);

    if (
$withbaseurl)

        
$url $BASEURL.(substr($url01) == '/' '' '/').$url;

    if (
$usephp)

    {        

        @
header ('Location: '.$url);

        exit;

    }

    
$defaulttemplate ts_template();

    
ob_start();

?> 


Yeah, because you should use TS SE on the root of a domain or root of a subdomain, you will see that issue with the redirect function if your install is in a folder (for example yourdomain.com/tracker)

Bump: I don't know why my reply didn't post :suicide:

but the error is because you need to install at the root of a domain or subdomain for example, you can't use TS SE in a folder for example at yourdomain.com/tsse

jhuberus 26th October 2012 07:27

Having an issue with take.php.... When trying to edit a torrent and click save i get a blank page after editing is there any fix for this?

Tones 26th October 2012 15:19

takeedit.php
 
PHP Code:

<?
/***********************************************/
/*=========[TS Special Edition v.5.6]==========*/
/*=============[Special Thanks To]=============*/
/*        DrNet - wWw.SpecialCoders.CoM        */
/*          Vinson - wWw.Decode4u.CoM          */
/*    MrDecoder - wWw.Fearless-Releases.CoM    */
/*           Fynnon - wWw.BvList.CoM           */
/***********************************************/


  
function validfilename ($name)
  {
    return 
preg_match ('/^[^\\0-\\x1f:\\\\\\/?*\\xff#<>|]+$/si'$name);
  }

  function 
isscene ($name$type 1)
  {
    if (
50 <= strlen ($name))
    {
      
$name substr ($name050);
    }

    
$pre['regexp'] = '|<td>(.*)<td>(.*)<td>(.*)</table>|';
    
$pre['url'] = 'http://orlydb.com/?q=' $name '&opt=0';
    
$pre['file'] = @file_get_contents ($pre['url']);
    
$pre['file'] = @str_replace (array ('\\r''\\n'), ''$pre['file']);
    @
preg_match ($pre['regexp'], $pre['file'], $pre['matches']);
    return 
$pre['matches'][$type];
  }

  function 
dict_check ($d$s)
  {
    global 
$lang;
    if (
$d['type'] != 'dictionary')
    {
      
stderr ($lang->global['error'], $lang->upload['dicterror1']);
    }

    
$a explode (':'$s);
    
$dd $d['value'];
    
$ret = array ();
    foreach (
$a as $k)
    {
      unset (
$t);
      if (
preg_match ('/^(.*)\\((.*)\\)$/'$k$m))
      {
        
$k $m[1];
        
$t $m[2];
      }

      if (!isset (
$dd[$k]))
      {
        
stderr ($lang->global['error'], $lang->upload['dicterror2']);
      }

      if (isset (
$t))
      {
        if (
$dd[$k]['type'] != $t)
        {
          
stderr ($lang->global['error'], $lang->upload['dicterror3']);
        }

        
$ret[] = $dd[$k]['value'];
        continue;
      }
      else
      {
        
$ret[] = $dd[$k];
        continue;
      }
    }

    return 
$ret;
  }

  function 
dict_get ($d$k$t)
  {
    global 
$lang;
    if (
$d['type'] != 'dictionary')
    {
      
stderr ($lang->global['error'], $lang->upload['dicterror1']);
    }

    
$dd $d['value'];
    if (!isset (
$dd[$k]))
    {
      return 
null;
    }

    
$v $dd[$k];
    if (
$v['type'] != $t)
    {
      
stderr ($lang->global['error'], $lang->upload['dicterror4']);
    }

    return 
$v['value'];
  }

  function 
unesc ($x)
  {
    if (
get_magic_quotes_gpc ())
    {
      return 
stripslashes ($x);
    }

    return 
$x;
  }

  require_once 
'global.php';
  
gzip ();
  
dbconn ();
  
loggedinorreturn ();
  
maxsysop ();
  
define ('TE_VERSION''1.6 ');
  
define ('TU_VERSION'true);
  
$lang->load ('edit');
  
$is_mod is_mod ($usergroups);
  
$updateset = array ();
  require 
INC_PATH '/functions_getvar.php';
  
getvar (array ('id''subject''message''type'));
  
$id = (int)$id;
  
int_check ($idtrue);
  if (((((empty (
$subject) OR empty ($message)) OR empty ($type)) AND !isset ($_GET['remove_image'])) AND !isset ($_GET['remove_link'])))
  {
    
stderr ($lang->global['error'], $lang->global['dontleavefieldsblank']);
  }

  
$res sql_query ('SELECT owner, filename, t_image, t_link, added, ts_external FROM torrents WHERE id = ' sqlesc ($id));
  
$row mysql_fetch_assoc ($res);
  if (!
$row)
  {
    
stderr ($lang->global['error'], $lang->global['notorrentid']);
  }

  if ((
$CURUSER['id'] != $row['owner'] AND !$is_mod))
  {
    
print_no_permission (true);
  }

  if ((
$_POST['scene'] == 'yes' AND $_contents isscene (trim ($subject))))
  {
    
$pretime strtotime ($row['added']) - strtotime ($_contents);
    
$updateset[] = '' 'isScene = \'' $pretime '\'';
  }
  else
  {
    
$updateset[] = 'isScene = \'0\'';
  }

  if (isset (
$_GET['remove_image']))
  {
    
$image str_replace ('' $BASEURL '/''./'$row['t_image']);
    if (
file_exists ($image))
    {
      
unlink ($image);
    }

    
sql_query ('UPDATE torrents SET t_image = \'\' WHERE id = ' sqlesc ($id));
    
redirect ('edit.php?id=' $id);
    exit ();
  }
  else
  {
    if (isset (
$_GET['remove_link']))
    {
      
sql_query ('UPDATE torrents SET t_link = \'\' WHERE id = ' sqlesc ($id));
      
redirect ('edit.php?id=' $id);
      exit ();
    }
  }

  
$fname = (((((!empty ($_POST['filename']) AND $_POST['filename'] != $row['filename']) AND get_extension ($_POST['filename']) == 'torrent') AND validfilename ($_POST['filename'])) AND $is_mod) ? trim ($_POST['filename']) : $row['filename']);
  
$fname preg_replace ('#\\s+#''_'$fname);
  
preg_match ('/^(.+)\\.torrent$/si'$fname$matches);
  
$shortfname $matches[1];
  
$nfoaction $_POST['nfoaction'];
  if (
$nfoaction == 'update')
  {
    
$nfofile $_FILES['nfo'];
    if (!
$nfofile)
    {
      
print_no_permission ();
    }

    if (
65535 $nfofile['size'])
    {
      
stderr ($lang->global['error'], $lang->edit['nfotoobig']);
    }

    
$nfofilename $nfofile['tmp_name'];
    if ((@
is_uploaded_file ($nfofilename) AND < @filesize ($nfofilename)))
    {
      (
sql_query ('' 'REPLACE INTO ts_nfo (id, nfo) VALUES (\'' $id '\', ' sqlesc (str_replace ('\\x0d\\x0d\\x0a''\\x0d\\x0a'file_get_contents ($nfofilename))) . ')') OR sqlerr (__FILE__92));
    }
  }
  else
  {
    if (
$nfoaction == 'remove')
    {
      
sql_query ('' 'DELETE FROM ts_nfo WHERE id = \'' $id '\'');
    }
  }

  if (((!empty (
$_FILES['t_image_file']) OR !empty ($_POST['t_image_url'])) OR !empty ($_POST['t_link'])))
  {
    
$lang->load ('upload');
    include_once 
INC_PATH '/class_upload.php';
    
$upload = new ts_upload ();
    if (((!empty (
$_POST['t_image_url']) AND $_POST['t_image_url'] != $lang->upload['field23']) AND $_POST['t_image_url'] != $row['t_image']))
    {
      
$t_image fix_url ($_POST['t_image_url']);
      
$upload->url $t_image;
      
$upload->file_type 'image';
      
$upload->allowed_ext = array ('gif''jpg''png');
      
$upload->check_url ();
      
$updateset[] = 't_image = ' sqlesc ($t_image);
    }
    else
    {
      if ((((!empty (
$_FILES['t_image_file']) AND $_FILES['t_image_file'] != $row['t_image']) AND !empty ($_FILES['t_image_file']['name'])) AND !empty ($_FILES['t_image_file']['tmp_name'])))
      {
        include_once 
INC_PATH '/class_upload2.php';
        
$handle = new Upload ($_FILES['t_image_file']);
        
$handle->allowed = array ('image/gif''image/jpg''image/jpeg''image/png');
        
$allowed implode (','$handle->allowed);
        
$allowed str_replace ('image/'''$allowed);
        
$handle->file_new_name_body $id;
        
$handle->image_text $SITENAME;
        
$handle->image_text_direction 'v';
        
$handle->image_text_background '#000000';
        
$handle->image_text_font 1;
        
$handle->image_text_position 'BL';
        
$handle->image_text_padding_x 2;
        
$handle->image_text_padding_y 8;
        
$handle->Process (TSDIR '/' $torrent_dir '/images/');
        if (
$handle->processed)
        {
          
$t_image $BASEURL '/' $torrent_dir '/images/' $handle->file_dst_name;
          
$updateset[] = 't_image = ' sqlesc ($t_image);
        }
        else
        {
          
stderr ($lang->global['error'], sprintf ($lang->upload['invalid_image'], $allowed));
        }

        
$handle->Clean ();
      }
    }

    if ((!empty (
$_POST['t_link']) AND $_POST['t_link'] != $row['t_link']))
    {
      
$t_link fix_url ($_POST['t_link']);
      if (
substr ($t_link11) != '/')
      {
        
$t_link '' $t_link '/';
      }

      
$upload->url $t_link;
      
$upload->valid_link = array ('http://www.imdb.com/title/');
      
$upload->file_type 'imdb';
      
$upload->check_url ();
      if (
strstr ($t_link'imdb'))
      {
        include_once 
INC_PATH '/ts_imdb.php';
      }

      
$updateset[] = 't_link = ' sqlesc ($t_link);
    }
  }

  if ((isset (
$_FILES['file']) AND !empty ($_FILES['file']['name'])))
  {
    @
set_time_limit (300);
    @
ini_set ('upload_max_filesize', (1000 $max_torrent_size $max_torrent_size 10485760));
    @
ini_set ('memory_limit''20000M');
    @
ignore_user_abort (1);
    require_once 
INC_PATH '/benc.php';
    
$lang->load ('upload');
    
$f $_FILES['file'];
    
$f preg_replace ('#\\s+#''_'$f);
    
$fname unesc ($f['name']);
    if (empty (
$fname))
    {
      
stderr ($lang->global['error'], $lang->global['dontleavefieldsblank']);
    }

    if (!
validfilename ($fname))
    {
      
stderr ($lang->global['error'], $lang->upload['fileerror1']);
    }

    if (!
preg_match ('/^(.+)\\.torrent$/si'$fname$matches))
    {
      
stderr ($lang->global['error'], $lang->upload['fileerror2']);
    }

    
$shortfname $matches[1];
    
$tmpname $f['tmp_name'];
    if (!@
is_uploaded_file ($tmpname))
    {
      
stderr ($lang->global['error'], $lang->upload['uploaderror1']);
    }

    if (!@
filesize ($tmpname))
    {
      
stderr ($lang->global['error'], $lang->upload['uploaderror2']);
    }

    if (
$privatetrackerpatch == 'yes')
    {
      
$alink $announce_urls[0];
    }
    else
    {
      
$alink $announce_urls[0] . '?passkey=' $CURUSER['passkey'];
    }

    
$dict bdec_file ($tmpname$max_torrent_size);
    if (!isset (
$dict))
    {
      
stderr ($lang->global['error'], $lang->upload['uploaderror3']);
    }

    list (
$ann$info) = dict_check ($dict'announce(string):info');
    list (
$dname$plen$pieces) = dict_check ($info'name(string):piece length(integer):pieces(string)');
    
$external false;
    if ((
$externalscrape == 'yes' AND $ann != $alink))
    {
      
$external true;
      
$updateset[] = 'ts_external = \'yes\'';
      
$updateset[] = 'ts_external_url = ' sqlesc ($ann);
      
$updateset[] = 'visible = \'yes\'';
      
$updateset[] = 'ts_external_lastupdate = \'0\'';
    }
    else
    {
      
$updateset[] = 'ts_external = \'no\'';
      
$updateset[] = 'ts_external_url = \'\'';
    }

    if ((
$external AND $usergroups['canexternal'] != 'yes'))
    {
      
stderr ($lang->global['error'], $lang->upload['externalerror']);
    }

    if ((
$privatetrackerpatch == 'no' AND !$external))
    {
      if (!
in_array ($ann$announce_urls1))
      {
        
$aok false;
        foreach (
$announce_urls as $au)
        {
          if (
$ann == '' $au '?passkey=' $CURUSER['passkey'])
          {
            
$aok true;
            continue;
          }
        }

        if (!
$aok)
        {
          
stderr ($lang->global['error'], $lang->upload['invalidannounceurl'] . $announce_urls[0] . '?passkey=' $CURUSER['passkey']);
        }
      }
    }

    if (
strlen ($pieces) % 20 != 0)
    {
      
stderr ($lang->global['error'], $lang->upload['invalidpieces']);
    }

    if ((
$privatetrackerpatch == 'yes' AND !$external))
    {
      if (((isset (
$dict['value']['announce-list']) OR isset ($dict['value']['nodes'])) OR (isset ($dict['value']['azureus_properties']['value']['dht_backup_enable']) AND $dict['value']['azureus_properties']['value']['dht_backup_enable']['value'] != 0)))
      {
        
stderr ($lang->global['error'], $lang->upload['dhterror']);
      }
    }

    
$filelist = array ();
    
$totallen dict_get ($info'length''integer');
    if (isset (
$totallen))
    {
      
$filelist[] = array ($dname$totallen);
    }
    else
    {
      
$flist dict_get ($info'files''list');
      if (!isset (
$flist))
      {
        
stderr ($lang->global['error'], $lang->upload['dicterror5']);
      }

      if (!
count ($flist))
      {
        
stderr ($lang->global['error'], $lang->upload['dicterror6']);
      }

      
$totallen 0;
      foreach (
$flist as $fn)
      {
        list (
$ll$ff) = dict_check ($fn'length(integer):path(list)');
        
$totallen += $ll;
        
$ffa = array ();
        foreach (
$ff as $ffe)
        {
          if (
$ffe['type'] != 'string')
          {
            
stderr ($lang->global['error'], $lang->upload['dicterror7']);
          }

          
$ffa[] = $ffe['value'];
        }

        if (!
count ($ffa))
        {
          
stderr ($lang->global['error'], $lang->upload['dicterror7']);
        }

        
$ffe implode ('/'$ffa);
        
$filelist[] = array ($ffe$ll);
      }
    }

    
$updateset[] = 'size = ' sqlesc ($totallen);
    
$updateset[] = 'numfiles = ' sqlesc (count ($filelist));
    if ((
$privatetrackerpatch == 'yes' AND !$external))
    {
      
$dict['value']['announce'] = bdec (benc_str ($announce_urls[0]));
      
$dict['value']['info']['value']['private'] = bdec ('i1e');
      
$dict['value']['info']['value']['source'] = bdec (benc_str (('' '[') . $BASEURL '] ' $SITENAME));
      unset (
$dict['value']['created by']);
      unset (
$dict['value']['announce-list']); 
      unset (
$dict['value'][nodes]);
      
$dict bdec (benc ($dict));
      list (
$ann$info) = dict_check ($dict'announce(string):info');
    }

    
$infohash pack ('H*'sha1 ($info['string']));
    
$updateset[] = 'info_hash = ' sqlesc ($infohash);
  }

  
$updateset[] = 'filename = ' sqlesc ($fname);
  
$updateset[] = 'offensive = \'' . ($_POST['offensive'] ? 'yes' 'no') . '\'';
  
$updateset[] = 'anonymous = \'' . ($_POST['anonymous'] ? 'yes' 'no') . '\'';
  
$updateset[] = 'name = ' sqlesc ($subject);
  
$updateset[] = 'descr = ' sqlesc ($message);
  
$updateset[] = 'category = ' . ($type);
  if (
$is_mod)
  {
    
$updateset[] = 'free = \'' . ($_POST['free'] == 'yes' 'no') . '\'';
    
$updateset[] = 'isnuked = \'' . ($_POST['isnuked'] == 'yes' 'no') . '\'';
    
$updateset[] = 'isrequest = \'' . ($_POST['isrequest'] == 'yes' 'no') . '\'';
    
$updateset[] = 'silver = \'' . (($_POST['silver'] == AND $_POST['free'] != 1) ? 'yes' 'no') . '\'';
    if (
$_POST['banned'] == 1)
    {
      
$updateset[] = 'banned = \'yes\'';
      
$_POST['visible'] = 0;
    }
    else
    {
      
$updateset[] = 'banned = \'no\'';
    }

    if (
$_POST['sticky'] == 'yes')
    {
      
$updateset[] = 'sticky = \'yes\'';
    }
    else
    {
      
$updateset[] = 'sticky = \'no\'';
    }

    if (
$_POST['doubleupload'] == 'yes')
    {
      
$updateset[] = 'doubleupload = \'yes\'';
    }
    else
    {
      
$updateset[] = 'doubleupload = \'no\'';
    }

    if (
$_POST['allowcomments'] == 'yes')
    {
      
$updateset[] = 'allowcomments = \'yes\'';
    }
    else
    {
      
$updateset[] = 'allowcomments = \'no\'';
    }
  }

  
$updateset[] = 'visible = \'' . ($_POST['visible'] ? 'yes' 'no') . '\'';
  
sql_query ('UPDATE torrents SET ' join (','$updateset) . ' WHERE id = ' sqlesc ($id));
  if ((
mysql_affected_rows () AND $tmpname))
  {
    if ((
$privatetrackerpatch == 'yes' AND !$external))
    {
      @
unlink ('' $torrent_dir '/' $id '.torrent');
      
$fp = @fopen ('' $torrent_dir '/' $id '.torrent''w');
      if (
$fp)
      {
        @
fwrite ($fp, @benc ($dict), @strlen (@benc ($dict)));
        @
fclose ($fp);
      }
    }

    if ((
$privatetrackerpatch == 'no' AND !$external))
    {
      @
move_uploaded_file ($tmpname'' $torrent_dir '/' $id '.torrent');
    }

    if (
$external)
    {
      
$externaltorrent '' $torrent_dir '/' $id '.torrent';
      @
move_uploaded_file ($tmpname$externaltorrent);
      include_once 
INC_PATH '/ts_external_scrape/ts_external.php';
    }
  }

  if (
file_exists (TSDIR '/' $cache '/latesttorrents.html'))
  {
    @
unlink (TSDIR '/' $cache '/latesttorrents.html');
  }

  
$video_info implode ('~'$_POST['video']);
  
$audio_info implode ('~'$_POST['audio']);
  
$query sql_query ('SELECT tid FROM ts_torrents_details WHERE tid = ' sqlesc ($id));
  if (
mysql_num_rows ($query))
  {
    
sql_query ('UPDATE ts_torrents_details SET video_info = ' sqlesc ($video_info) . ', audio_info = ' sqlesc ($audio_info) . ' WHERE tid = ' sqlesc ($id));
  }
  else
  {
    
sql_query ('' 'INSERT INTO ts_torrents_details (tid,video_info,audio_info) VALUES (' $id ', ' sqlesc ($video_info) . ',' sqlesc ($audio_info) . ')');
  }

  
write_log ('Torrent ' intval ($id) . ' (' htmlspecialchars_uni ($subject) . ('' ') was edited by ' $CURUSER['username']));
  
redirect ('details.php?id=' $id);
?>


jhuberus 26th October 2012 20:09

Quote:

Originally Posted by Tones (Post 37051)
PHP Code:

<?
/***********************************************/
/*=========[TS Special Edition v.5.6]==========*/
/*=============[Special Thanks To]=============*/
/*        DrNet - wWw.SpecialCoders.CoM        */
/*          Vinson - wWw.Decode4u.CoM          */
/*    MrDecoder - wWw.Fearless-Releases.CoM    */
/*           Fynnon - wWw.BvList.CoM           */
/***********************************************/


  
function validfilename ($name)
  {
    return 
preg_match ('/^[^\\0-\\x1f:\\\\\\/?*\\xff#<>|]+$/si'$name);
  }

  function 
isscene ($name$type 1)
  {
    if (
50 <= strlen ($name))
    {
      
$name substr ($name050);
    }

    
$pre['regexp'] = '|<td>(.*)<td>(.*)<td>(.*)</table>|';
    
$pre['url'] = 'http://orlydb.com/?q=' $name '&opt=0';
    
$pre['file'] = @file_get_contents ($pre['url']);
    
$pre['file'] = @str_replace (array ('\\r''\\n'), ''$pre['file']);
    @
preg_match ($pre['regexp'], $pre['file'], $pre['matches']);
    return 
$pre['matches'][$type];
  }

  function 
dict_check ($d$s)
  {
    global 
$lang;
    if (
$d['type'] != 'dictionary')
    {
      
stderr ($lang->global['error'], $lang->upload['dicterror1']);
    }

    
$a explode (':'$s);
    
$dd $d['value'];
    
$ret = array ();
    foreach (
$a as $k)
    {
      unset (
$t);
      if (
preg_match ('/^(.*)\\((.*)\\)$/'$k$m))
      {
        
$k $m[1];
        
$t $m[2];
      }

      if (!isset (
$dd[$k]))
      {
        
stderr ($lang->global['error'], $lang->upload['dicterror2']);
      }

      if (isset (
$t))
      {
        if (
$dd[$k]['type'] != $t)
        {
          
stderr ($lang->global['error'], $lang->upload['dicterror3']);
        }

        
$ret[] = $dd[$k]['value'];
        continue;
      }
      else
      {
        
$ret[] = $dd[$k];
        continue;
      }
    }

    return 
$ret;
  }

  function 
dict_get ($d$k$t)
  {
    global 
$lang;
    if (
$d['type'] != 'dictionary')
    {
      
stderr ($lang->global['error'], $lang->upload['dicterror1']);
    }

    
$dd $d['value'];
    if (!isset (
$dd[$k]))
    {
      return 
null;
    }

    
$v $dd[$k];
    if (
$v['type'] != $t)
    {
      
stderr ($lang->global['error'], $lang->upload['dicterror4']);
    }

    return 
$v['value'];
  }

  function 
unesc ($x)
  {
    if (
get_magic_quotes_gpc ())
    {
      return 
stripslashes ($x);
    }

    return 
$x;
  }

  require_once 
'global.php';
  
gzip ();
  
dbconn ();
  
loggedinorreturn ();
  
maxsysop ();
  
define ('TE_VERSION''1.6 ');
  
define ('TU_VERSION'true);
  
$lang->load ('edit');
  
$is_mod is_mod ($usergroups);
  
$updateset = array ();
  require 
INC_PATH '/functions_getvar.php';
  
getvar (array ('id''subject''message''type'));
  
$id = (int)$id;
  
int_check ($idtrue);
  if (((((empty (
$subject) OR empty ($message)) OR empty ($type)) AND !isset ($_GET['remove_image'])) AND !isset ($_GET['remove_link'])))
  {
    
stderr ($lang->global['error'], $lang->global['dontleavefieldsblank']);
  }

  
$res sql_query ('SELECT owner, filename, t_image, t_link, added, ts_external FROM torrents WHERE id = ' sqlesc ($id));
  
$row mysql_fetch_assoc ($res);
  if (!
$row)
  {
    
stderr ($lang->global['error'], $lang->global['notorrentid']);
  }

  if ((
$CURUSER['id'] != $row['owner'] AND !$is_mod))
  {
    
print_no_permission (true);
  }

  if ((
$_POST['scene'] == 'yes' AND $_contents isscene (trim ($subject))))
  {
    
$pretime strtotime ($row['added']) - strtotime ($_contents);
    
$updateset[] = '' 'isScene = \'' $pretime '\'';
  }
  else
  {
    
$updateset[] = 'isScene = \'0\'';
  }

  if (isset (
$_GET['remove_image']))
  {
    
$image str_replace ('' $BASEURL '/''./'$row['t_image']);
    if (
file_exists ($image))
    {
      
unlink ($image);
    }

    
sql_query ('UPDATE torrents SET t_image = \'\' WHERE id = ' sqlesc ($id));
    
redirect ('edit.php?id=' $id);
    exit ();
  }
  else
  {
    if (isset (
$_GET['remove_link']))
    {
      
sql_query ('UPDATE torrents SET t_link = \'\' WHERE id = ' sqlesc ($id));
      
redirect ('edit.php?id=' $id);
      exit ();
    }
  }

  
$fname = (((((!empty ($_POST['filename']) AND $_POST['filename'] != $row['filename']) AND get_extension ($_POST['filename']) == 'torrent') AND validfilename ($_POST['filename'])) AND $is_mod) ? trim ($_POST['filename']) : $row['filename']);
  
$fname preg_replace ('#\\s+#''_'$fname);
  
preg_match ('/^(.+)\\.torrent$/si'$fname$matches);
  
$shortfname $matches[1];
  
$nfoaction $_POST['nfoaction'];
  if (
$nfoaction == 'update')
  {
    
$nfofile $_FILES['nfo'];
    if (!
$nfofile)
    {
      
print_no_permission ();
    }

    if (
65535 $nfofile['size'])
    {
      
stderr ($lang->global['error'], $lang->edit['nfotoobig']);
    }

    
$nfofilename $nfofile['tmp_name'];
    if ((@
is_uploaded_file ($nfofilename) AND < @filesize ($nfofilename)))
    {
      (
sql_query ('' 'REPLACE INTO ts_nfo (id, nfo) VALUES (\'' $id '\', ' sqlesc (str_replace ('\\x0d\\x0d\\x0a''\\x0d\\x0a'file_get_contents ($nfofilename))) . ')') OR sqlerr (__FILE__92));
    }
  }
  else
  {
    if (
$nfoaction == 'remove')
    {
      
sql_query ('' 'DELETE FROM ts_nfo WHERE id = \'' $id '\'');
    }
  }

  if (((!empty (
$_FILES['t_image_file']) OR !empty ($_POST['t_image_url'])) OR !empty ($_POST['t_link'])))
  {
    
$lang->load ('upload');
    include_once 
INC_PATH '/class_upload.php';
    
$upload = new ts_upload ();
    if (((!empty (
$_POST['t_image_url']) AND $_POST['t_image_url'] != $lang->upload['field23']) AND $_POST['t_image_url'] != $row['t_image']))
    {
      
$t_image fix_url ($_POST['t_image_url']);
      
$upload->url $t_image;
      
$upload->file_type 'image';
      
$upload->allowed_ext = array ('gif''jpg''png');
      
$upload->check_url ();
      
$updateset[] = 't_image = ' sqlesc ($t_image);
    }
    else
    {
      if ((((!empty (
$_FILES['t_image_file']) AND $_FILES['t_image_file'] != $row['t_image']) AND !empty ($_FILES['t_image_file']['name'])) AND !empty ($_FILES['t_image_file']['tmp_name'])))
      {
        include_once 
INC_PATH '/class_upload2.php';
        
$handle = new Upload ($_FILES['t_image_file']);
        
$handle->allowed = array ('image/gif''image/jpg''image/jpeg''image/png');
        
$allowed implode (','$handle->allowed);
        
$allowed str_replace ('image/'''$allowed);
        
$handle->file_new_name_body $id;
        
$handle->image_text $SITENAME;
        
$handle->image_text_direction 'v';
        
$handle->image_text_background '#000000';
        
$handle->image_text_font 1;
        
$handle->image_text_position 'BL';
        
$handle->image_text_padding_x 2;
        
$handle->image_text_padding_y 8;
        
$handle->Process (TSDIR '/' $torrent_dir '/images/');
        if (
$handle->processed)
        {
          
$t_image $BASEURL '/' $torrent_dir '/images/' $handle->file_dst_name;
          
$updateset[] = 't_image = ' sqlesc ($t_image);
        }
        else
        {
          
stderr ($lang->global['error'], sprintf ($lang->upload['invalid_image'], $allowed));
        }

        
$handle->Clean ();
      }
    }

    if ((!empty (
$_POST['t_link']) AND $_POST['t_link'] != $row['t_link']))
    {
      
$t_link fix_url ($_POST['t_link']);
      if (
substr ($t_link11) != '/')
      {
        
$t_link '' $t_link '/';
      }

      
$upload->url $t_link;
      
$upload->valid_link = array ('http://www.imdb.com/title/');
      
$upload->file_type 'imdb';
      
$upload->check_url ();
      if (
strstr ($t_link'imdb'))
      {
        include_once 
INC_PATH '/ts_imdb.php';
      }

      
$updateset[] = 't_link = ' sqlesc ($t_link);
    }
  }

  if ((isset (
$_FILES['file']) AND !empty ($_FILES['file']['name'])))
  {
    @
set_time_limit (300);
    @
ini_set ('upload_max_filesize', (1000 $max_torrent_size $max_torrent_size 10485760));
    @
ini_set ('memory_limit''20000M');
    @
ignore_user_abort (1);
    require_once 
INC_PATH '/benc.php';
    
$lang->load ('upload');
    
$f $_FILES['file'];
    
$f preg_replace ('#\\s+#''_'$f);
    
$fname unesc ($f['name']);
    if (empty (
$fname))
    {
      
stderr ($lang->global['error'], $lang->global['dontleavefieldsblank']);
    }

    if (!
validfilename ($fname))
    {
      
stderr ($lang->global['error'], $lang->upload['fileerror1']);
    }

    if (!
preg_match ('/^(.+)\\.torrent$/si'$fname$matches))
    {
      
stderr ($lang->global['error'], $lang->upload['fileerror2']);
    }

    
$shortfname $matches[1];
    
$tmpname $f['tmp_name'];
    if (!@
is_uploaded_file ($tmpname))
    {
      
stderr ($lang->global['error'], $lang->upload['uploaderror1']);
    }

    if (!@
filesize ($tmpname))
    {
      
stderr ($lang->global['error'], $lang->upload['uploaderror2']);
    }

    if (
$privatetrackerpatch == 'yes')
    {
      
$alink $announce_urls[0];
    }
    else
    {
      
$alink $announce_urls[0] . '?passkey=' $CURUSER['passkey'];
    }

    
$dict bdec_file ($tmpname$max_torrent_size);
    if (!isset (
$dict))
    {
      
stderr ($lang->global['error'], $lang->upload['uploaderror3']);
    }

    list (
$ann$info) = dict_check ($dict'announce(string):info');
    list (
$dname$plen$pieces) = dict_check ($info'name(string):piece length(integer):pieces(string)');
    
$external false;
    if ((
$externalscrape == 'yes' AND $ann != $alink))
    {
      
$external true;
      
$updateset[] = 'ts_external = \'yes\'';
      
$updateset[] = 'ts_external_url = ' sqlesc ($ann);
      
$updateset[] = 'visible = \'yes\'';
      
$updateset[] = 'ts_external_lastupdate = \'0\'';
    }
    else
    {
      
$updateset[] = 'ts_external = \'no\'';
      
$updateset[] = 'ts_external_url = \'\'';
    }

    if ((
$external AND $usergroups['canexternal'] != 'yes'))
    {
      
stderr ($lang->global['error'], $lang->upload['externalerror']);
    }

    if ((
$privatetrackerpatch == 'no' AND !$external))
    {
      if (!
in_array ($ann$announce_urls1))
      {
        
$aok false;
        foreach (
$announce_urls as $au)
        {
          if (
$ann == '' $au '?passkey=' $CURUSER['passkey'])
          {
            
$aok true;
            continue;
          }
        }

        if (!
$aok)
        {
          
stderr ($lang->global['error'], $lang->upload['invalidannounceurl'] . $announce_urls[0] . '?passkey=' $CURUSER['passkey']);
        }
      }
    }

    if (
strlen ($pieces) % 20 != 0)
    {
      
stderr ($lang->global['error'], $lang->upload['invalidpieces']);
    }

    if ((
$privatetrackerpatch == 'yes' AND !$external))
    {
      if (((isset (
$dict['value']['announce-list']) OR isset ($dict['value']['nodes'])) OR (isset ($dict['value']['azureus_properties']['value']['dht_backup_enable']) AND $dict['value']['azureus_properties']['value']['dht_backup_enable']['value'] != 0)))
      {
        
stderr ($lang->global['error'], $lang->upload['dhterror']);
      }
    }

    
$filelist = array ();
    
$totallen dict_get ($info'length''integer');
    if (isset (
$totallen))
    {
      
$filelist[] = array ($dname$totallen);
    }
    else
    {
      
$flist dict_get ($info'files''list');
      if (!isset (
$flist))
      {
        
stderr ($lang->global['error'], $lang->upload['dicterror5']);
      }

      if (!
count ($flist))
      {
        
stderr ($lang->global['error'], $lang->upload['dicterror6']);
      }

      
$totallen 0;
      foreach (
$flist as $fn)
      {
        list (
$ll$ff) = dict_check ($fn'length(integer):path(list)');
        
$totallen += $ll;
        
$ffa = array ();
        foreach (
$ff as $ffe)
        {
          if (
$ffe['type'] != 'string')
          {
            
stderr ($lang->global['error'], $lang->upload['dicterror7']);
          }

          
$ffa[] = $ffe['value'];
        }

        if (!
count ($ffa))
        {
          
stderr ($lang->global['error'], $lang->upload['dicterror7']);
        }

        
$ffe implode ('/'$ffa);
        
$filelist[] = array ($ffe$ll);
      }
    }

    
$updateset[] = 'size = ' sqlesc ($totallen);
    
$updateset[] = 'numfiles = ' sqlesc (count ($filelist));
    if ((
$privatetrackerpatch == 'yes' AND !$external))
    {
      
$dict['value']['announce'] = bdec (benc_str ($announce_urls[0]));
      
$dict['value']['info']['value']['private'] = bdec ('i1e');
      
$dict['value']['info']['value']['source'] = bdec (benc_str (('' '[') . $BASEURL '] ' $SITENAME));
      unset (
$dict['value']['created by']);
      unset (
$dict['value']['announce-list']); 
      unset (
$dict['value'][nodes]);
      
$dict bdec (benc ($dict));
      list (
$ann$info) = dict_check ($dict'announce(string):info');
    }

    
$infohash pack ('H*'sha1 ($info['string']));
    
$updateset[] = 'info_hash = ' sqlesc ($infohash);
  }

  
$updateset[] = 'filename = ' sqlesc ($fname);
  
$updateset[] = 'offensive = \'' . ($_POST['offensive'] ? 'yes' 'no') . '\'';
  
$updateset[] = 'anonymous = \'' . ($_POST['anonymous'] ? 'yes' 'no') . '\'';
  
$updateset[] = 'name = ' sqlesc ($subject);
  
$updateset[] = 'descr = ' sqlesc ($message);
  
$updateset[] = 'category = ' . ($type);
  if (
$is_mod)
  {
    
$updateset[] = 'free = \'' . ($_POST['free'] == 'yes' 'no') . '\'';
    
$updateset[] = 'isnuked = \'' . ($_POST['isnuked'] == 'yes' 'no') . '\'';
    
$updateset[] = 'isrequest = \'' . ($_POST['isrequest'] == 'yes' 'no') . '\'';
    
$updateset[] = 'silver = \'' . (($_POST['silver'] == AND $_POST['free'] != 1) ? 'yes' 'no') . '\'';
    if (
$_POST['banned'] == 1)
    {
      
$updateset[] = 'banned = \'yes\'';
      
$_POST['visible'] = 0;
    }
    else
    {
      
$updateset[] = 'banned = \'no\'';
    }

    if (
$_POST['sticky'] == 'yes')
    {
      
$updateset[] = 'sticky = \'yes\'';
    }
    else
    {
      
$updateset[] = 'sticky = \'no\'';
    }

    if (
$_POST['doubleupload'] == 'yes')
    {
      
$updateset[] = 'doubleupload = \'yes\'';
    }
    else
    {
      
$updateset[] = 'doubleupload = \'no\'';
    }

    if (
$_POST['allowcomments'] == 'yes')
    {
      
$updateset[] = 'allowcomments = \'yes\'';
    }
    else
    {
      
$updateset[] = 'allowcomments = \'no\'';
    }
  }

  
$updateset[] = 'visible = \'' . ($_POST['visible'] ? 'yes' 'no') . '\'';
  
sql_query ('UPDATE torrents SET ' join (','$updateset) . ' WHERE id = ' sqlesc ($id));
  if ((
mysql_affected_rows () AND $tmpname))
  {
    if ((
$privatetrackerpatch == 'yes' AND !$external))
    {
      @
unlink ('' $torrent_dir '/' $id '.torrent');
      
$fp = @fopen ('' $torrent_dir '/' $id '.torrent''w');
      if (
$fp)
      {
        @
fwrite ($fp, @benc ($dict), @strlen (@benc ($dict)));
        @
fclose ($fp);
      }
    }

    if ((
$privatetrackerpatch == 'no' AND !$external))
    {
      @
move_uploaded_file ($tmpname'' $torrent_dir '/' $id '.torrent');
    }

    if (
$external)
    {
      
$externaltorrent '' $torrent_dir '/' $id '.torrent';
      @
move_uploaded_file ($tmpname$externaltorrent);
      include_once 
INC_PATH '/ts_external_scrape/ts_external.php';
    }
  }

  if (
file_exists (TSDIR '/' $cache '/latesttorrents.html'))
  {
    @
unlink (TSDIR '/' $cache '/latesttorrents.html');
  }

  
$video_info implode ('~'$_POST['video']);
  
$audio_info implode ('~'$_POST['audio']);
  
$query sql_query ('SELECT tid FROM ts_torrents_details WHERE tid = ' sqlesc ($id));
  if (
mysql_num_rows ($query))
  {
    
sql_query ('UPDATE ts_torrents_details SET video_info = ' sqlesc ($video_info) . ', audio_info = ' sqlesc ($audio_info) . ' WHERE tid = ' sqlesc ($id));
  }
  else
  {
    
sql_query ('' 'INSERT INTO ts_torrents_details (tid,video_info,audio_info) VALUES (' $id ', ' sqlesc ($video_info) . ',' sqlesc ($audio_info) . ')');
  }

  
write_log ('Torrent ' intval ($id) . ' (' htmlspecialchars_uni ($subject) . ('' ') was edited by ' $CURUSER['username']));
  
redirect ('details.php?id=' $id);
?>


didnt work after editing again i get a page error

Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.
Please contact the website owners to inform them of this problem.

PAX 26th October 2012 21:35

1 Attachment(s)
:ok:

jhuberus 27th October 2012 00:04

Quote:

Originally Posted by PAX (Post 37054)
:ok:

thanks this fixed the issue

johnbrakes 28th October 2012 15:18

error user
 
Hello, because when I click on my username I get this error?

http://s19.postimage.org/ovxoaupk3/error.png

Marco 8th November 2012 22:52

Hello
 
i write in many places ,and once i have it , but i didn't remember what i did that time.

So , i need , to put on my index a warn message when users didn't read they message.
Something what dissapear after reading all messages.
I know exist a popup options but that's so anoying.

Or to put on shoutbox - if you read it all your pm's you can shout , if not you have to read pm's first

Daz 11th November 2012 22:28

Quote:

Originally Posted by johnbrakes (Post 37067)
Hello, because when I click on my username I get this error?

http://s19.postimage.org/ovxoaupk3/error.png

Did you delete your .htaccess file? if so, try turning off search engine friendly URLS in admin panel... Just a guess but I think that's the problem.

jhuberus 16th November 2012 18:05

how do u change yourself after making installation to syop instead of team lead ok nvm that question I'm an idiot found it and didn't need to change it.

But i do have an issue. When it comes to downloading and uploading torrents. It show's how much where uploaded but it doesn't give what was downloaded. so when i know i downloaded 4gb it still show 0, i thought maybe there was a delay but it's been two days, is there a fix for that

ajit007 22nd January 2013 22:09

Facing this issue
 
An error has occured! http://dxtorrent.com/include/templat...tion_close.gif Retrieval of remote file failed!


Plz help me in finding the solution...Thanks :)

x360zone 23rd January 2013 09:33

hi
 
Quote:

Originally Posted by ajit007 (Post 39020)
An error has occured! http://dxtorrent.com/include/templat...tion_close.gif Retrieval of remote file failed!


Plz help me in finding the solution...Thanks :)


i think it only happens with images
,option one add the image to the description
option to try a new host
option 3 do a fresh reinstall from scratch and try again:ok:

antibiotic1 1st February 2013 00:29

Hi! I had installed tsse 5.6 and it was working fine. Then i tried to change the default template look, background.gif and other tings. When i was doing that i had logged to my site from chrome, opera mozilla(from same account) and then my site stopped working. Now it shows only blank page http://torrentmk.tk/
Any help? ps.It is free webhosting hourb.com/

Chez 1st February 2013 14:31

Quote:

Originally Posted by antibiotic1 (Post 39185)
Hi! I had installed tsse 5.6 and it was working fine. Then i tried to change the default template look, background.gif and other tings. When i was doing that i had logged to my site from chrome, opera mozilla(from same account) and then my site stopped working. Now it shows only blank page http://torrentmk.tk/
Any help? ps.It is free webhosting hourb.com/


Check the Database in phpmyadmin and see if the stylesheets are there ... is show blank page because the stylesheet is corupt or it doesn't exist

antibiotic1 1st February 2013 14:46

Friend i cant find stylesheet in my phpmyadmin, only i can see ts_templates

mothership 1st February 2013 15:34

there is no stylesheet in phpmyadmin...in site folder find includes folder/templates... this it were theme/themes are... ftp theme of your choice to that folder make sure its compatable with tsse v5.6 and if you want other than default theme go to tracker settings/theme and language settings select default theme and save.

antibiotic1 1st February 2013 15:42

i cant go to tracker settings because when i go to my site it shows my blank page, i tried uploading other compatible themes and changed the default one in include>config.php but nothing still i have blank homepage http://torrentmk.tk/

x360zone 1st February 2013 15:48

hi
 
its probably becoz your on free hosting

mothership 1st February 2013 16:10

[maybe a quick fix]...what ever you set the default theme as empty the contents of that folder and replace with the contents of the default theme that comes with source if that don't work id guess x360 is right [free hosting]

antibiotic1 1st February 2013 16:16

i had tried but nothing :( can you tell me any other free hosting not like this one that will turn off my site?

x360zone 1st February 2013 16:21

info
 
roght what happens with a free host they stop you from using the prcesses in your case you probably did something wrong or the resources where over used on your case free hosting is setup with about 8-16mb ram where as paid hosting is say 64mb upwards
on free hosting once you do this ur usually fluffed with them,
last thing what ever you did just replace the original files
so if you edited the default theme replace if if you altered the database you should have backed up first lol
reload the site again

antibiotic1 1st February 2013 19:08

how to add utorrent 3.2.3 build 38705 to Allowed Clients. I know it is on annuonce settings but will it be -UT323- or something else?

edit: i found the answer, so can anyone post his list of allowed clients?

eckeO5 21st February 2013 15:35

need help
 
:sos::sos::sos:

hi i have noticed these days following:

on root runnning TSSE v 5.6 decoded, this version here i mean,

are always entries in the file user.log like this one f.e.:

Quote:

Feb 20 18:09:00 rootname suhosin[14874]: ALERT - script tried to disable memory_limit by setting it to a negative value -1 bytes which is not allowed (attacker 'ip adress', file '/var/www/rootfolder/include/functions_filelist.php', line 102)
Quote:

Feb 21 14:16:44 rootname suhosin[6869]: ALERT - script tried to disable memory_limit by setting it to a negative value -503316480 bytes which is not allowed (attacker 'ip adress', file '/var/www/rootfolder/takeedit.php', line 276)
The most entrys are like this two ones:
Quote:

Feb 21 14:17:18 rootname suhosin[6870]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable 'peer_id' (attacker '85.246.81.159', file '/var/www/rootfolder/announce.php')
or this
Quote:

Feb 21 14:18:30 rootname suhosin[6876]: ALERT - ASCII-NUL chars not allowed within request variables - dropped variable '?info_hash' (attacker '193.107.17.19', file '/var/www/rootfolder/scrape.php')
which causes the more and more data is written to the file user.log

may be some1 does know why this happen or can help how to stop it???

by the way this are just 4 examples, there are thousands of new entrys in some hours!!!!!

greetz to all

ecke :sos::sos::sos:

melwyn 10th March 2013 12:11

Tracker sending invalid data <NULL>
 
When I try to seed or download torrents I get the following message

Code:

Tracker sending invalid data:
The announce.php is as follows:
Code:

/***********************************************/
/*=========[TS Special Edition v.5.6]==========*/
/*=============[Special Thanks To]=============*/
/*        DrNet - wWw.SpecialCoders.CoM        */
/*          Vinson - wWw.Decode4u.CoM          */
/*    MrDecoder - wWw.Fearless-Releases.CoM    */
/*          Fynnon - wWw.BvList.CoM          */
/***********************************************/


  function checkconnect ($host, $port)
  {
    global $checkconnectable;
    if ((!$checkconnectable OR $checkconnectable == 'no'))
    {
      return 'yes';
    }

    if ($fp = @fsockopen ($host, $port, $errno, $errstr, 5))
    {
      fclose ($fp);
      return 'yes';
    }

    return 'no';
  }

  function stop ($msg)
  {
    global $db;
    if ($db)
    {
      mysql_close ($db);
    }

    header ('Content-Type: text/plain');
    header ('Pragma: no-cache');
    exit ('d14:failure reason' . strlen ($msg) . ':' . $msg . 'e');
  }

  function sqlesc ($value)
  {
    if (get_magic_quotes_gpc ())
    {
      $value = stripslashes ($value);
    }

    if (!is_numeric ($value))
    {
      $value = '\'' . mysql_real_escape_string ($value) . '\'';
    }

    return $value;
  }

  function send_action ($actionmessage, $resetpasskey = false)
  {
    global $announce_actions;
    global $Tid;
    global $Result;
    global $ip;
    global $passkey;
    if ($announce_actions != 'yes')
    {
      return null;
    }

    @mysql_query ('INSERT DELAYED INTO announce_actions (torrentid, userid, ip, passkey, actionmessage, actiontime) VALUES (' . @implode (',', @array_map ('sqlesc', array ($Tid, $Result['userid'], $ip, $passkey, $actionmessage, $_SERVER['REQUEST_TIME']))) . ')');
    if ($resetpasskey)
    {
      @mysql_query ('UPDATE users SET passkey = \'\' WHERE id = ' . @sqlesc ($Uid) . ' AND passkey = ' . @sqlesc ($passkey));
    }

  }

  error_reporting (E_ALL & ~E_NOTICE);
  set_magic_quotes_runtime (0);
  ini_set ('magic_quotes_sybase', 0);
  define ('IN_ANNOUNCE', true);
  define ('TSDIR', dirname (__FILE__));
  require TSDIR . '/include/config_announce.php';
  require TSDIR . '/include/languages/' . $defaultlanguage . '/announce.lang.php';
  $compact = (isset ($_GET['compact']) ? 0 + $_GET['compact'] : 0);
  $peer_id = (isset ($_GET['peer_id']) ? $_GET['peer_id'] : '');
  $port = (isset ($_GET['port']) ? 0 + $_GET['port'] : '');
  $event = (isset ($_GET['event']) ? $_GET['event'] : '');
  $downloaded = (isset ($_GET['downloaded']) ? 0 + $_GET['downloaded'] : '');
  $uploaded = (isset ($_GET['uploaded']) ? 0 + $_GET['uploaded'] : '');
  $left = (isset ($_GET['left']) ? 0 + $_GET['left'] : '');
  $numwant = min ((isset ($_GET['numwant']) ? 0 + $_GET['numwant'] : (isset ($_GET['num_want']) ? 0 + $_GET['num_want'] : (isset ($_GET['num want']) ? 0 + $_GET['num want'] : 50))), 50);
  $update_user = $update_torrent = $update_snatched = array ();
  if (strpos ($_GET['passkey'], '?'))
  {
    $chop = $_GET['passkey'];
    $delim = '?';
    $half = strtok ($chop, $delim);
    $onehalf = array ();
    while (is_string ($half))
    {
      if ($half)
      {
        $onehalf[] = $half;
      }

      $half = strtok ($delim);
    }

    unset ($chop);
    unset ($delim);
    unset ($half);
    $_GET['passkey'] = $onehalf[0];
    $delim2 = '=';
    $hash = strtok ($onehalf[1], $delim2);
    $onehash = array ();
    while (is_string ($hash))
    {
      if ($hash)
      {
        $onehash[] = $hash;
      }

      $hash = strtok ($delim2);
    }

    $_GET['info_hash'] = $onehash[1];
    unset ($onehalf);
    unset ($delim2);
    unset ($hash);
    unset ($onehash);
  }

  $passkey = (isset ($_GET['passkey']) ? $_GET['passkey'] : '');
  $info_hash = (isset ($_GET['info_hash']) ? $_GET['info_hash'] : '');
  if (get_magic_quotes_gpc ())
  {
    $info_hash = stripslashes ($info_hash);
    $peer_id = stripslashes ($peer_id);
  }

  if (((((strlen ($passkey) === 32 AND strlen ($info_hash) === 20) AND strlen ($peer_id) === 20) AND 0 < $port) AND $port < 65535))
  {
    if (($passkey AND $passkey == 'tssespecialtorrentv1byxamsep2007'))
    {
      stop ($l['registerfirst'] . $BASEURL . '/signup.php');
    }
  }
  else
  {
    stop ($l['error']);
  }

  $ip = htmlspecialchars ($_SERVER['REMOTE_ADDR']);
  $agent = htmlspecialchars ($_SERVER['HTTP_USER_AGENT']);
  $seeder = ($left == 0 ? 'yes' : 'no');
  if (($db = @mysql_connect ($mysql_host, $mysql_user, $mysql_pass) AND $select = @mysql_select_db ($mysql_db, $db)))
  {
  }
  else
  {
    stop ($l['cerror']);
  }

  ($Query = mysql_query ('
                                        SELECT t.id as tid, t.name, t.category, t.size, t.added, t.visible, t.banned, t.free, t.silver, t.doubleupload,
                    u.id as userid, u.enabled, u.uploaded, u.downloaded, u.usergroup, u.birthday, u.ip,
                                        g.isbanned, g.candownload, g.canviewviptorrents, g.isvipgroup, g.canfreeleech, g.waitlimit, g.slotlimit,
                                        c.vip as isviptorrent
                                        FROM torrents t
                                        INNER JOIN users u ON (u.passkey = ' . sqlesc ($passkey) . ')
                                        INNER JOIN usergroups g ON (u.usergroup = g.gid)
                                        LEFT JOIN categories c ON (t.category=c.id)
                                        WHERE (t.info_hash = ' . sqlesc ($info_hash) . ' OR t.info_hash = ' . sqlesc (preg_replace ('' . '/ *$/s', '', $info_hash)) . ')
                                        LIMIT 1') OR stop ($l['sqlerror'] . ' TU1'));
  if ((((!$Result = mysql_fetch_assoc ($Query) OR !$Tid = $Result['tid']) OR $Result['enabled'] != 'yes') OR !$Result['userid']))
  {
    stop ($l['tuerror']);
  }

  if (($checkip == 'yes' AND $Result['ip'] != $ip))
  {
    stop ($l['invalidip']);
  }

  if (($detectbrowsercheats == 'yes' AND ((isset ($_SERVER['HTTP_COOKIE']) AND isset ($_SERVER['HTTP_ACCEPT_LANGUAGE'])) AND isset ($_SERVER['HTTP_ACCEPT_CHARSET']))))
  {
    send_action ('This user tried to cheat with a browser!', true);
    stop ($l['invalidagent']);
  }

  if ($bannedclientdetect == 'yes')
  {
    $Stop = false;
    if (((isset ($_SERVER['HTTP_ACCEPT']) AND 'text/html, */*' == $_SERVER['HTTP_ACCEPT']) OR ((isset ($_SERVER['HTTP_CONNECTION']) AND 'Close' == $_SERVER['HTTP_CONNECTION']) AND 'gzip, deflate' != $_SERVER['HTTP_ACCEPT_ENCODING'])))
    {
      $Stop = true;
    }
    else
    {
      if (((isset ($_SERVER['HTTP_ACCEPT']) AND $_SERVER['HTTP_ACCEPT'] == 'text/html, */*') AND $_SERVER['HTTP_ACCEPT_ENCODING'] == 'identity'))
      {
        $Stop = true;
      }
      else
      {
        $userclient = substr ($peer_id, 0, 8);
        $allowed_clients = explode (',', $allowed_clients);
        if (!in_array ($userclient, $allowed_clients))
        {
          $Stop = true;
        }
      }
    }

    if ($Stop === true)
    {
      stop ($l['bannedclient']);
    }
  }

  $fields = 'peer_id, ip, port, uploaded, downloaded, seeder, last_action, (UNIX_TIMESTAMP() - UNIX_TIMESTAMP(last_action)) AS announcetime, UNIX_TIMESTAMP(prev_action) AS prevts, connectable, userid';
  unset ($self);
  $gp_eq = ($nc == 'yes' ? ' AND connectable = \'yes\'' : '');
  $wantseeds = ($seeder == 'yes' ? ' AND seeder = \'no\'' : '');
  if ($compact != 1)
  {
    $resp = 'd8:intervali' . $announce_interval . ($privatetrackerpatch == 'yes' ? 'e7:privatei1' : '') . 'e5:peersl';
  }
  else
  {
    $resp = 'd8:intervali' . $announce_interval . 'e5:peers';
  }

  $peer = array ();
  $peer_num = 0;
  $query_peers = mysql_query ('SELECT ' . $fields . ' FROM peers WHERE torrent = ' . $Tid . $gp_eq . $wantseeds . ' ORDER BY last_action DESC LIMIT ' . $numwant);
  if ($compact != 1)
  {
    while ($result_peers = mysql_fetch_assoc ($query_peers))
    {
      if ($result_peers['userid'] === $Result['userid'])
      {
        $self = $result_peers;
        continue;
      }

      $resp .= 'd2:ip' . strlen ($result_peers['ip']) . ':' . $result_peers['ip'] . '4:porti' . $result_peers['port'] . 'ee';
    }

    $resp .= 'ee';
  }
  else
  {
    while ($result_peers = mysql_fetch_assoc ($query_peers))
    {
      $peer_ip = explode ('.', $result_peers['ip']);
      $peer_ip = pack ('C*', $peer_ip[0], $peer_ip[1], $peer_ip[2], $peer_ip[3]);
      $peer_port = pack ('n*', (int)$result_peers['port']);
      $time = intval (time () % 7680 / 60);
      if ($left == 0)
      {
        $time += 128;
      }

      $time = pack ('C', $time);
      $peer[] = $time . $peer_ip . $peer_port;
      ++$peer_num;
    }

    $o = '';
    $i = 0;
    while ($i < $peer_num)
    {
      $o .= substr ($peer[$i], 1, 6);
      ++$i;
    }

    $resp .= strlen ($o) . ':' . $o . 'e';
    unset ($peer);
  }

  $selfwhere = 'torrent = ' . $Tid . ' AND userid = ' . $Result['userid'];
  if (!isset ($self))
  {
    $Query = mysql_query ('SELECT ' . $fields . ' FROM peers WHERE ' . $selfwhere . ' LIMIT 1');
    if (mysql_num_rows ($Query))
    {
      $self = mysql_fetch_assoc ($Query);
    }
  }

  if (((isset ($self) AND 0 < $announce_wait) AND $_SERVER['REQUEST_TIME'] - $announce_wait < $self['prevts']))
  {
    stop ($l['antispam'] . $announce_wait);
  }

  if (!isset ($self))
  {
    if (($Result['canviewviptorrents'] != 'yes' AND $Result['isviptorrent'] == 'yes'))
    {
      send_action ('This user tried to download a VIP torrent!', true);
      stop ($l['dlerror']);
    }
    else
    {
      if ($Result['candownload'] != 'yes')
      {
        stop ($l['dlerror']);
      }
    }

    if (($Result['isvipgroup'] != 'yes' AND ($waitsystem == 'yes' OR $maxdlsystem == 'yes')))
    {
      $gigs = $Result['uploaded'] / (1024 * 1024 * 1024);
      $ratio = (0 < $Result['downloaded'] ? $Result['uploaded'] / $Result['downloaded'] : 0);
      if ($waitsystem == 'yes')
      {
        $elapsed = floor (($_SERVER['REQUEST_TIME'] - strtotime ($Result['added'])) / 3600);
        if ($waitsystemtype == 1)
        {
          if (($ratio < $ratio1 OR $gigs < $upload1))
          {
            $wait = $delay1;
          }
          else
          {
            if (($ratio < $ratio2 OR $gigs < $upload2))
            {
              $wait = $delay2;
            }
            else
            {
              if (($ratio < $ratio3 OR $gigs < $upload3))
              {
                $wait = $delay3;
              }
              else
              {
                if (($ratio < $ratio4 OR $gigs < $upload4))
                {
                  $wait = $delay4;
                }
                else
                {
                  $wait = 0;
                }
              }
            }
          }
        }
        else
        {
          $wait = $Result['waitlimit'];
        }

        if (($elapsed < $wait AND 0 < $wait))
        {
          stop ($l['werror'] . ' (' . ($wait - $elapsed) . $l['hour'] . ')');
        }
      }

      if ($maxdlsystem == 'yes')
      {
        if ($waitsystemtype == 1)
        {
          if (($ratio < $ratio5 OR $gigs < $upload5))
          {
            $max = $slot1;
          }
          else
          {
            if (($ratio < $ratio6 OR $gigs < $upload6))
            {
              $max = $slot2;
            }
            else
            {
              if (($ratio < $ratio7 OR $gigs < $upload7))
              {
                $max = $slot3;
              }
              else
              {
                if (($ratio < $ratio8 OR $gigs < $upload8))
                {
                  $max = $slot4;
                }
                else
                {
                  $max = 0;
                }
              }
            }
          }
        }
        else
        {
          $max = $Result['slotlimit'];
        }

        if (0 < $max)
        {
          ($res = @mysql_query ('SELECT userid FROM peers WHERE userid = \'' . $Result['userid'] . '\' AND seeder = \'no\' LIMIT 1') OR stop ($l['sqlerror'] . ' P1'));
          if ($max < mysql_num_rows ($res))
          {
            stop ($l['merror'] . $max);
          }
        }
      }
    }
  }
  else
  {
    require_once TSDIR . '/' . $cache . '/freeleech.php';
    $TIMENOW = date ('Y-m-d H:i:s');
    if (($__F_START < $TIMENOW AND $TIMENOW < $__F_END))
    {
      switch ($__FLSTYPE)
      {
        case 'freeleech':
        {
          $Result['free'] = 'yes';
          $Result['canfreeleech'] = 'yes';
          break;
        }

        case 'silverleech':
        {
          $Result['silver'] = 'yes';
          break;
        }

        case 'doubleupload':
        {
          $Result['doubleupload'] = 'yes';
        }
      }
    }

    unset ($__F_START);
    unset ($__F_END);
    unset ($__FLSTYPE);
    unset ($TIMENOW);
    if ((($bdayreward == 'yes' AND $bdayrewardtype) AND $Result['birthday']))
    {
      $curuserbday = explode ('-', $Result['birthday']);
      if (date ('j-n') === $curuserbday[0] . '-' . $curuserbday[1])
      {
        switch ($bdayrewardtype)
        {
          case 'freeleech':
          {
            $Result['free'] = 'yes';
            $Result['canfreeleech'] = 'yes';
            break;
          }

          case 'silverleech':
          {
            $Result['silver'] = 'yes';
            break;
          }

          case 'doubleupload':
          {
            $Result['doubleupload'] = 'yes';
          }
        }
      }
    }

    unset ($curuserbday);
    unset ($bdayreward);
    unset ($bdayrewardtype);
    $realupload = max (0, $uploaded - $self['uploaded']);
    $upthis = ($Result['doubleupload'] == 'yes' ? $realupload * 2 : $realupload);
    $downthis = max (0, $downloaded - $self['downloaded']);
    $upspeed = (0 < $realupload ? $realupload / $self['announcetime'] : 0);
    $downspeed = (0 < $downthis ? $downthis / $self['announcetime'] : 0);
    $announcetime = ($self['seeder'] == 'yes' ? 'seedtime = seedtime + \'' . $self['announcetime'] . '\'' : 'leechtime = leechtime + \'' . $self['announcetime'] . '\'');
    if ((0 < $upthis OR 0 < $downthis))
    {
      if ((536870912 < $realupload AND $aggressivecheat == 'yes'))
      {
        send_action ('There was no Leecher on this torrent however this user uploaded ' . $realupload . ' bytes, which might be a cheat attempt with a cheat software such as Ratio Maker, Ratio Faker etc..');
      }

      $dled = ($Result['silver'] == 'yes' ? $downthis / 2 : $downthis);
      if (0 < $upthis)
      {
        $update_user[] = 'uploaded = uploaded + \'' . $upthis . '\'';
      }

      if (((0 < $dled AND $Result['free'] != 'yes') AND $Result['canfreeleech'] != 'yes'))
      {
        $update_user[] = 'downloaded = downloaded + \'' . $dled . '\'';
      }
    }

    if ($max_rate < $upspeed)
    {
      (mysql_query ('INSERT DELAYED INTO cheat_attempts (added, uid, agent, transfer_rate, beforeup, upthis, timediff, ip, torrentid) VALUES(NOW(), ' . $Result['userid'] . ', ' . sqlesc ($agent) . ', ' . sqlesc ($upspeed) . ', ' . sqlesc ($Result['uploaded']) . ', ' . sqlesc ($realupload) . ', ' . sqlesc ($self['announcetime']) . ', ' . sqlesc ($ip) . ', ' . sqlesc ($Tid) . ')') OR stop ($l['sqlerror'] . ' C1'));
    }
  }

  if ($event == 'stopped')
  {
    if (isset ($self))
    {
      if ($snatchmod == 'yes')
      {
        mysql_query ('UPDATE snatched seeder = \'no\' WHERE torrentid = \'' . $Tid . '\' AND userid = \'' . $Result['userid'] . '\'');
      }

      mysql_query ('DELETE FROM peers WHERE ' . $selfwhere);
      if (mysql_affected_rows ())
      {
        $update_torrent[] = ($self['seeder'] == 'yes' ? 'seeders = IF(seeders > 0, seeders - 1, 0)' : 'leechers = IF(leechers > 0, leechers - 1, 0)');
      }
    }
  }
  else
  {
    if ($event == 'completed')
    {
      if ($snatchmod == 'yes')
      {
        $update_snatched[] = 'finished = \'yes\'';
        $update_snatched[] = 'completedat = NOW()';
      }

      $update_torrent[] = 'times_completed = times_completed + 1';
    }

    if (isset ($self))
    {
      $connectable = ($self['connectable'] == 'yes' ? 'yes' : checkconnect ($ip, $port));
      if ($snatchmod == 'yes')
      {
        $update_snatched[] = '' . 'seeder = \'' . $seeder . '\'';
        $update_snatched[] = '' . 'connectable = \'' . $connectable . '\'';
        $update_snatched[] = 'last_action = NOW()';
        $update_snatched[] = '' . 'port = \'' . $port . '\'';
        $update_snatched[] = 'agent = ' . sqlesc ($agent);
        $update_snatched[] = $announcetime;
        if (0 < $upspeed)
        {
          $update_snatched[] = '' . 'upspeed = \'' . $upspeed . '\'';
        }

        if (0 < $downspeed)
        {
          $update_snatched[] = '' . 'downspeed = \'' . $downspeed . '\'';
        }

        $update_snatched[] = 'ip = ' . sqlesc ($ip);
        $update_snatched[] = '' . 'uploaded = uploaded + \'' . $realupload . '\'';
        $update_snatched[] = '' . 'downloaded = downloaded + \'' . $downthis . '\'';
        $update_snatched[] = '' . 'to_go = \'' . $left . '\'';
      }

      mysql_query ('' . 'UPDATE peers SET uploaded = ' . $uploaded . ', downloaded = ' . $downloaded . ', to_go = ' . $left . ', last_action = NOW(), prev_action = \'' . $self['last_action'] . ('' . '\', seeder = \'' . $seeder . '\'') . (($seeder == 'yes' AND $self['seeder'] != $seeder) ? ', finishedat = ' . $_SERVER['REQUEST_TIME'] : '') . ('' . ' WHERE ' . $selfwhere));
      if ((mysql_affected_rows () AND $self['seeder'] != $seeder))
      {
        if ($seeder == 'yes')
        {
          $update_torrent[] = 'seeders = seeders + 1';
          $update_torrent[] = 'leechers = IF(leechers > 0, leechers - 1, 0)';
        }
        else
        {
          $update_torrent[] = 'leechers = leechers + 1';
          $update_torrent[] = 'seeders = IF(seeders > 0, seeders - 1, 0)';
        }
      }
    }
    else
    {
      if (in_array ($port, array (21, 22, 411, 412, 413, 6881, 6882, 6883, 6884, 6885, 6886, 6887, 6889, 1214, 6346, 6347, 4662, 6699, 65535)))
      {
        stop ($l['invalidport']);
      }
      else
      {
        $connectable = checkconnect ($ip, $port);
        if (($connectable == 'no' AND $nc == 'yes'))
        {
          stop ($l['conerror']);
        }
      }

      if ($snatchmod == 'yes')
      {
        $res = @mysql_query ('SELECT 1 FROM snatched WHERE torrentid = \'' . $Tid . '\' AND userid = \'' . $Result['userid'] . '\'');
        if (@mysql_num_rows ($res) == 0)
        {
          mysql_query ('' . 'INSERT DELAYED INTO snatched (torrentid, userid, port, startdat, last_action, agent, ip) VALUES (' . $Tid . ', ' . $Result['userid'] . ('' . ', ' . $port . ', NOW(), NOW(), ') . sqlesc ($agent) . ', ' . sqlesc ($ip) . ')');
        }
      }

      $ret = mysql_query ('' . 'INSERT DELAYED INTO peers (connectable, torrent, peer_id, ip, port, uploaded, downloaded, to_go, started, last_action, seeder, userid, agent, uploadoffset, downloadoffset, passkey) VALUES (\'' . $connectable . '\', ' . $Tid . ', ' . sqlesc ($peer_id) . ', ' . sqlesc ($ip) . ('' . ', ' . $port . ', ' . $uploaded . ', ' . $downloaded . ', ' . $left . ', NOW(), NOW(), \'' . $seeder . '\', ') . $Result['userid'] . ', ' . sqlesc ($agent) . ('' . ', ' . $uploaded . ', ' . $downloaded . ', ') . sqlesc ($passkey) . ')');
      if ($ret)
      {
        $update_torrent[] = ($seeder == 'yes' ? 'seeders = seeders + 1' : 'leechers = leechers + 1');
      }
    }
  }

  if ((((0 < $kpsseed AND $seeder == 'yes') AND $announce_interval - 10 < $self['announcetime']) AND ($bonus == 'enable' OR $bonus == 'disablesave')))
  {
    $update_user[] = 'seedbonus = seedbonus + \'' . $kpsseed . '\'';
  }

  if ($seeder == 'yes')
  {
    if (($Result['banned'] != 'yes' AND $Result['visible'] == 'no'))
    {
      $update_torrent[] = 'visible = \'yes\'';
    }

    $update_torrent[] = 'last_action = NOW()';
  }

  if (count ($update_torrent))
  {
    mysql_query ('UPDATE torrents SET ' . implode (',', $update_torrent) . ' WHERE id = \'' . $Tid . '\'');
    unset ($update_torrent);
  }

  if (count ($update_user))
  {
    mysql_query ('UPDATE users SET ' . implode (',', $update_user) . ' WHERE id = \'' . $Result['userid'] . '\'');
    unset ($update_user);
  }

  if (count ($update_snatched))
  {
    mysql_query ('UPDATE snatched SET ' . implode (',', $update_snatched) . ' WHERE torrentid = \'' . $Tid . '\' AND userid = \'' . $Result['userid'] . '\'');
    unset ($update_snatched);
  }

  header ('Expires: Sat, 1 Jan 2000 01:00:00 GMT');
  header ('Last-Modified: ' . gmdate ('D, d M Y H:i:s') . 'GMT');
  header ('Cache-Control: no-cache, must-revalidate');
  header ('Pragma: no-cache');
  header ('Content-type: text/html; charset=' . $charset);
  if (((($compact != 1 AND isset ($_SERVER['HTTP_ACCEPT_ENCODING'])) AND $_SERVER['HTTP_ACCEPT_ENCODING'] == 'gzip') AND $gzipcompress == 'yes'))
  {
    header ('Content-Encoding: gzip');
    echo gzencode ($resp, 9, FORCE_GZIP);
  }
  else
  {
    if ($compact)
    {
      header ('Content-Type: text/plain');
      echo $resp;
    }
    else
    {
      echo $resp;
    }
  }

  mysql_close ($db);
  exit ();
?>


vandammages 19th March 2013 22:09

load ('index'); require_once INC_PATH . '/plugins/ts_plugin
 
Hi I just installed Xampp v3.10 on windows server 2008 to test this out.

I was able to install in root directory xampp/htdocs. run the installer from /install all when well..

but now if I type http://localhost/index.php

I get this error

load ('index'); require_once INC_PATH . '/plugins/ts_plugin_config.php'; $defaulttemplate = ts_template (); $is_mod = is_mod ($usergroups); stdhead (sprintf ($lang->index['welcome'], $SITENAME), TRUE, 'collapse', ''); $_header = ' '; $_footer = '
'; $_div = '
{3}
{1} ' . $_title_bracket . ' {2}



any ideas?

Thank for the support.

Nightcrawler 20th March 2013 00:30

Its way old wouldn't use it unless you know how to secure and update the whole source.

Krypto 20th March 2013 00:47

Can you give examples of what's insecure?

Then at least members will be aware of it.

vandammages 20th March 2013 00:55

Quote:

Originally Posted by Nightcrawler (Post 40053)
Its way old wouldn't use it unless you know how to secure and update the whole source.



So what would you recommend to setup a very small private torrent tracker for like 20-30 buddies?

MaVerick88 23rd March 2013 09:56

bb code
 
please help me i have fixed all the errors i was getting exept this one when i use bb code for bold on text and i save it i get this error

The connection to the server was lost during loading.
This page may be temporarily unavailable or overloaded. try again
somewhat later.
If you are unable to load any pages, check your computer
to the Internet.If you are using a firewall or proxy, make sure that the
Firefox permission to access the Internet.

popoff 26th April 2013 18:36

Help
 
hi bvlist im having a problem when i upload a torrent using an image from pc it works fine but when i put an image link in its seys

An error has occured! Retrieval of remote file failed!

can someone please help

x360zone 26th April 2013 19:31

hi
 
sometimes its the hosting/vps/dedi its been setup on
and sometimes its the way the site has been setup on the host
and lastly some images just wont show due to external

h0Ax 1st May 2013 15:12

Quote:

Originally Posted by Nightcrawler (Post 16458)
attention

Attention


REPORT: error.php is a backdoor





I have pretty much nulled this one as far as the eye can see there is no callbacks in any of the code relating to TS
I have also added in the TS ip in the ban list to ensure there is no way the server can be reached.

:ok:

how to use this?? Sorry I'm noob :sad:

antibiotic1 11th May 2013 02:22

we need to delete the error.php or?? can anyone post that file without backdoors?

Birdy 26th May 2013 21:29

Quote:

Originally Posted by Nightcrawler (Post 16458)
attention

Attention


REPORT: error.php is a backdoor




What can we do to fix the backdoor???

Black1 8th June 2013 02:42

1 Attachment(s)
The whole file (error.php) is a backdoor. Just delete it.
Ban IP TS currect ip

Also you should edit this file (/admin/include/adminfunctions.php)
function stop_script ($msg = 'Your Script License has been Terminated!')
Just add it in comments
PHP Code:

/*  function stop_script ($msg = 'Your Script License has been Terminated!')
  {
    echo '<style type="text/css">
    <!--
    .warnbox
    {
        line-height: 1.4em; 
        float:center;
        background: lightyellow; 
        border:1px solid black;
        border-color:#6D90B0;
        font:normal 12px verdana;
        line-height:18px;
        z-index:100;
        border-right: 4px solid black;
        border-bottom: 4px solid black;
        padding: 0 0 3px 31px;
    }
    .red
    {
        color: #9f0808;
        font:bold 12px verdana;
    }
    a { color: #9f0808; background: inherit; text-decoration:none; }
    a:hover { background: inherit; text-decoration:underline; }
    -->
    </style>
    <div class="warnbox" align="center">
    <p align="center" class="red">    
    ' . $msg . ' Please contact the TS Team regarding the issue by clicking following link: no thanks!    
    </font>
    </p>
    <p align="center">
    <strong>This could be because of one of the following reasons:</strong>
    <ul>
    <li>Your account has either been suspended or you have been banned from accessing this resource.</li>
    <li>Your account may still be awaiting activation or moderation.</li>
    <li>Feel free to contact us about this error message.</li>
    </ul></p>';
    exit ();
  }*/ 

I have uploaded the edited php file.
USE IT AT YOUR OWN RISK. IM NOT A CODER. I TESTED IT AND IT WORKS FINE.

I have batch searched with "TextCrawler" all TSSE 5.6 *.php files with "hot words" like
violation, claiming, unauthorised, purchase, license, security, _deletefiles_
and I didnt find anything except error.php and adminfunctions.php

include/ts_functions.php has also something like a small backdoor
but is already disabled by nightcrawler

x360zone 8th June 2013 08:56

hi
 
shame the whole code is now a relic.. one reason i moved to btmanager was a nice ride while it lasted but time for update/upgrade
funny how about 30% of the forum have been running it with little or no issues even with the backdoor since it was nulled/decoded lol simple option just delete it...
and R.I.P Ts5.6

Black1 8th June 2013 15:04

The backdoor is probably inactive anyway. Xam is busy stealing money and :sun:, he wont even care about a 5.6
Simply delete error.php and everything will be fine.
The backdoor was not hidden. Wasnt even obfuscated. If you opened error.php and view the code it was pretty damn obvious from the beginning.
I will disagree with you x360zone!
TSSE 5.6 is a great source, but because it is nulled it is not easy for everyone to use.
A newbie should NOT start with this source.

oatgarum 9th August 2013 12:40

Shoutbox
 
Sorry, you are not authorized to Shout! <---this is the error shows in shoutbox.... Why i cant send message in shoutbox all users even in a team leader account. i check all settings possibilities in tracker settings but i cant find there which i can active/disabled.

Thank you and help is greatly appreciated.

firefly007 10th August 2013 12:04

Have you looked at the groups?

oatgarum 10th August 2013 13:07

@firefly thank you for ur reply and help .... yap i looked up in the group i check all except the banned group, but still showing (Sorry, you are not authorized to Shout!)


All times are GMT +2. The time now is 20:52.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.