PDA

View Full Version : Bit-HDTV passing its source code!



AdrianPhoto
04-12-2010, 11:44 PM
Some error at Bit-HDTV forced the torrents.php file to be downloaded instead of being interpreted by PHP.
take a shot:
http://www.bit-hdtv.com/torrents.php

snippy

<?
//kell
//ob_start("ob_gzhandler");
require_once("include/bittorrent.php");
dbconn(false);
loggedinorreturn();

// Cache kezdes innen //
/*
$getpage = (int)$_GET["page"];
$notcat = (!isset($_GET["cat"]));
$halottis = (!isset($_GET["incldead"]));
$vanlap = (isset($_GET["page"]));
//$activeonly = (!isset($_GET["incldead"]));
$tagfelett = ($CURUSER);
$cachefile = "/root/browse_cache/browse-". $getpage. ".html";
$cachetime = 120; // 60 mp
if (file_exists($cachefile) && (time() - $cachetime < filemtime($cachefile)) && $tagfelett && $vanlap && $notcat && $halottis)
{
include($cachefile);
//}

anon
04-12-2010, 11:47 PM
Misleading title. :dry:

AdrianPhoto
04-12-2010, 11:54 PM
Sorry, didn't mean passing as in "The staff are giving it away".
but actually torrents.php is very important, the other files (libtorrent, config..) they can be found in any open-source tracker.

fstemon
04-13-2010, 12:19 AM
I just tried http://www.bit-hdtv.com/admin.php (http://yougotrickrolled.com/) and I saw the admin password. It was in a comment! LOL. Since I'm a nice guy I sent an email to him. If you're lucky, he hasn't changed it yet!

ca_aok
04-13-2010, 12:20 AM
I just tried http://www.bit-hdtv.com/admin.php (http://yougotrickrolled.com/) and I saw the admin password. It was in a comment! LOL. Since I'm a nice guy I sent an email to him. If you're lucky, he hasn't changed it yet!
That's always great for security :pinch:

fstemon
04-13-2010, 12:22 AM
I just tried http://www.bit-hdtv.com/admin.php (http://yougotrickrolled.com/) and I saw the admin password. It was in a comment! LOL. Since I'm a nice guy I sent an email to him. If you're lucky, he hasn't changed it yet!
That's always great for security :pinch:

Yeah, it's true. Click the link and see for yourself.

stoi
04-13-2010, 12:23 AM
the admin one is a rickrolled link, and no i didnt press it, just hovered over it.

snagit
04-13-2010, 12:24 AM
That doesn't seem to work anymore.

From the site:

Site is back running as normal.

Guess we should close this thread?

AdrianPhoto
04-13-2010, 05:43 AM
actually no, the site isn't working as normal
funny thing.. if you have some PHP skills and with some variables passing you could get so many other stuff

Disme
04-13-2010, 06:11 AM
actually no, the site isn't working as normal
funny thing.. if you have some PHP skills and with some variables passing you could get so many other stuff

I love trackers that invest a lot of time and dedication to making their sites secure :dry:

AdrianPhoto
04-13-2010, 01:55 PM
I love trackers that invest a lot of time and dedication to making their sites secure
to be honest, the problem isn't with their modded source-code, the problem is probably with the servers they're hosting their tracker on

pro267
04-15-2010, 06:54 PM
I love trackers that invest a lot of time and dedication to making their sites secureto be honest, the problem isn't with their modded source-code, the problem is probably with the servers they're hosting their tracker on
Not with their servers themselves, but rather the integration of PHP and the web server. Most probable causes are not loading the PHP module or moving to a new version of PHP while leaving the old style code tags.

AdrianPhoto
04-15-2010, 07:34 PM
Most probable causes are not loading the PHP module or moving to a new version of PHP while leaving the old style code tags.
I guess that would load the php file as a text file, not force downloading the .php
well anyway, they're having a bad time..