Exemplo n.º 1
0
// ==nvsource script
// == slight updates for Tbdev Installer
require "include/bittorrent.php";
require_once "include/bbcode_functions.php";
require_once "include/user_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Activity Charts - Nosey C**t !");
}
function get_count($inactive_time)
{
    $arr = mysql_fetch_assoc(mysql_query("SELECT COUNT(*) AS cnt FROM users WHERE UNIX_TIMESTAMP(`last_access`)<" . $inactive_time));
    return $arr["cnt"];
}
function stat_row($time, $count)
{
    global $usercount;
    echo '<tr><td class="tablea">', $time, "</td>\n";
    echo '<td class="tableb" nowrap><img src="pic/bar.gif" height="9" width="';
    echo (int) ((double) $count / (double) $usercount * 600), '"> ', $count, '</td></tr>', "\n";
}
stdhead("User Activity Chart");
begin_frame("User Activity Chart", false);
Exemplo n.º 2
0
<?php

include 'include/bittorrent.php';
include 'include/user_functions.php';
require_once "cacher.php";
dbconn(true);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Cache Sheets - Nosey C**t !");
}
$fileinformation = array('table' => 'stylesheets', 'arrayname' => 'stylesheets', 'filename' => 'stylesheets');
query_wphpfile($fileinformation);
Exemplo n.º 3
0
<?php

require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_ADMINISTRATOR) {
    hacker_dork("Secure Ip - Nosey C**t !");
}
// in the case part add staff names exactly as they are on site
//example
//case 'Admin':
//case 'System':
// and so on
switch ($_POST['staffname']) {
    case 'Mindless':
    case 'System':
        $name = safeChar($_POST['staffname']);
        $pass = safeChar($_POST['secrettop']);
        break;
    default:
        $naughtyboy = getip();
        $name = safeChar($_POST['staffname']);
        $msg = "Someone is trying to login through the Staff login page with the name {$name} and ip {$naughtyboy}";
Exemplo n.º 4
0
<?php

require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Inactive Users - Nosey C**t !");
}
// made by putyn tbdev.net
// email part by x0r tbdev.net
// config
$sitename = "www.installerv4.net";
// Sitename, format: site.com
$replyto = "*****@*****.**";
// The Reply-to email.
$record_mail = true;
// set this true or false . If you set this true every time whene you send a mail the time , userid , and the number of mail sent will be recorded
$days = 2;
//number of days of inactivite
// end config
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $action = $_POST["action"];
    if (empty($_POST["userid"]) && ($action == "deluser" || $action == "mail")) {
Exemplo n.º 5
0
<?php

// ////////Data reset by Putyn///////////////////////////
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_ADMINISTRATOR) {
    hacker_dork("Reset Ratio - Nosey C**t !");
}
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    $tid = isset($_POST["tid"]) ? 0 + $_POST["tid"] : 0;
    if ($tid == 0) {
        stderr(":w00t:", "wtf are your trying to do!?");
    }
    if (get_row_count("torrents", "where id=" . $tid) != 1) {
        stderr(":w00t:", "That is not a torrent !!!!");
    }
    $q = mysql_query("SELECT s.downloaded as sd , t.id as tid, t.name,t.size, u.username,u.id as uid,u.downloaded as ud FROM torrents as t LEFT JOIN snatched as s ON s.torrentid = t.id LEFT JOIN users as u ON u.id = s.userid WHERE t.id =" . $tid) or print mysql_error();
    while ($a = mysql_fetch_assoc($q)) {
        $newd = $a["ud"] > 0 ? $a["ud"] - $a["sd"] : 0;
        $new_download[] = "(" . $a["uid"] . "," . $newd . ")";
        $tname = $a["name"];
        $msg = "Hey , " . $a["username"] . "\n";
Exemplo n.º 6
0
<?php

require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
parked();
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Flush Log - Nosey C**t !");
}
// delete items older than a month
$secs = 96 * 60 * 60;
stdhead("Flush log");
sql_query("DELETE FROM flush_log WHERE " . gmtime() . " - UNIX_TIMESTAMP(added) > {$secs}") or sqlerr(__FILE__, __LINE__);
$res = sql_query("SELECT added, txt FROM flush_log ORDER BY added DESC") or sqlerr(__FILE__, __LINE__);
echo '<h1>Flushed log</h1>';
if (mysql_num_rows($res) == 0) {
    echo '<b>Nobody Flushed</b>';
} else {
    echo '<table border=1 cellspacing=0 cellpadding=5><tr><td class=colhead2 align=left>Date</td><td class=colhead2 align=left>Time</td><td class=colhead2 align=left>Who Flushed</td></tr>';
    while ($arr = mysql_fetch_assoc($res)) {
        // =======change colors
        $count = ++$count % 2;
        $class = 'clearalt' . ($count == 0 ? '6' : '7');
Exemplo n.º 7
0
<?php

require "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Site-Check - Nosey C**t !");
}
stdhead();
begin_frame("Tracker Stats");
print "<br /><br />\n<b>Tracker Info</b><br>\n";
// check torrents' folder
if (file_exists($torrent_dir)) {
    if (is_writable($torrent_dir)) {
        print "<br />\nTorrent's folder {$torrent_dir} <span style=\"color:blue; font-weight: bold;\">ok</span><br />\n";
    } else {
        print "<br />\nTorrent's folder {$torrent_dir} is <span style=\"color:#FF0000; font-weight: bold;\">ERROR</span><br />\n";
    }
} else {
    print "<br />\nTorrent's folder {$torrent_dir} <span style=\"color:#FF0000; font-weight: bold;\">ERROR NOT FOUND!</span><br />\n";
}
if (file_exists("include/bittorrent.php")) {
    if (is_writable("include/bittorrent.php.php")) {
Exemplo n.º 8
0
<?php

// ///////////////////////////////////ip to country/////////////////////////////////
require "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_ADMINISTRATOR) {
    hacker_dork("Ip To Country - Nosey C**t !");
}
function i2c_realip()
{
    $ip = false;
    if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
        $ip = $_SERVER['HTTP_CLIENT_IP'];
    }
    if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
        $ips = explode(', ', $_SERVER['HTTP_X_FORWARDED_FOR']);
        if ($ip) {
            array_unshift($ips, $ip);
            $ip = false;
        }
        $i = 0;
        while ($i < count($ips)) {
Exemplo n.º 9
0
<?php

require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
parked();
if (get_user_class() < UC_ADMINISTRATOR) {
    hacker_dork("Ratio Cheaters - Nosey C**t !");
}
stdhead("Cheaters");
begin_main_frame();
begin_frame("Cheating Users:", true);
// Will: added this for page links
$res = sql_query("SELECT COUNT(*) FROM cheaters {$limit}") or sqlerr();
$row = mysql_fetch_array($res);
$count = $row[0];
list($pagertop, $pagerbottom, $limit) = pager(30, $count, "cheaters.php?");
echo "<table border=0 width=\"100%\" cellspacing=0 cellpadding=0><tr><td align=right>{$pagertop}</td></tr></table><br />";
// end
?>
<script type="text/javascript" src="java_klappe.js"></script>

<form action="takecheaters.php" method=post>
Exemplo n.º 10
0
<?php

include 'include/bittorrent.php';
include 'cacher.php';
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Cache cats - Nosey C**t !");
}
$fileinformation = array('table' => 'categories', 'arrayname' => 'categories', 'filename' => 'categories');
query_wphpfile($fileinformation);
Exemplo n.º 11
0
ob_start("ob_gzhandler");
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 (xxxxx) Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
//optimized, secured, added options, fixed some typos by Alex2005 for TBDEV.NET\\
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Db Admin - Nosey C**t !");
}
$postperpage = 0 + $_GET["postperpage"];
$returnto = $_POST["returnto"];
if (isset($_POST["delmp"])) {
    $do = "DELETE FROM messages WHERE id IN (" . implode(", ", $_POST['delmp']) . ")";
    $res = sql_query($do);
    if ($returnto) {
        header("Location: " . safechar($returnto));
        die;
    } else {
        header("Refresh: 0; url=/msgspy.php");
        stderr("Success", "The messages where successfully deleted!");
    }
}
//===start page===//
Exemplo n.º 12
0
ob_start();
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
// made by putyn tbdev
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Catergory Manager - Nosey C**t !");
}
// fuction cache
function cache_categories()
{
    $res = mysql_query("select id,name,image from categories ORDER BY name ASC ");
    $configfile = "<" . "?php\n\n\$categories = array(\n";
    while ($row = mysql_fetch_assoc($res)) {
        $configfile .= "array('id'=> '{$row['id']}', 'name'=> '{$row['name']}', 'image'=> '{$row['image']}'),\n";
    }
    $configfile .= "\n);\n\n?" . ">";
    $filenum = fopen("cache/categories.php", "w");
    ftruncate($filenum, 0);
    fwrite($filenum, $configfile);
    fclose($filenum);
}
Exemplo n.º 13
0
<?php

require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() != UC_CODER) {
    hacker_dork("DoCleanUp - TuT TuT... Cheating are we ??");
}
function calctime($val)
{
    $days = intval($val / 86400);
    $val -= $days * 86400;
    $hours = intval($val / 3600);
    $val -= $hours * 3600;
    $mins = intval($val / 60);
    $secs = $val - $mins * 60;
    return $days . " Days, " . $hours . " Hours, " . $mins . " Minutes, " . $secs . " Seconds";
}
if (!function_exists('memory_get_usage')) {
    function memory_get_usage()
    {
        // If its Windows
        // Tested on Win XP Pro SP2. Should work on Win 2003 Server too
Exemplo n.º 14
0
<?php

include 'include/bittorrent.php';
include 'cacher.php';
dbconn(true);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Cache countrys - Nosey C**t !");
}
$fileinformation = array('table' => 'countries', 'arrayname' => 'countries', 'filename' => 'countries');
query_wphpfile($fileinformation);
Exemplo n.º 15
0
<?php

require "include/bittorrent.php";
require_once "include/bbcode_functions.php";
dbconn(true);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Admin Bookmarks - Nosey C**t !");
}
stdhead("Staff Bookmarks");
begin_main_frame();
$addbookmark = number_format(get_row_count("users", "WHERE addbookmark='yes'"));
begin_frame("In total ({$addbookmark})", true);
begin_table();
?>
<table cellpadding="4" cellspacing="1" border="0" style="width:800px" class="tableinborder" ><tr><td class="tabletitle">ID</td><td class="tabletitle" align="left">Username</td><td class="tabletitle" align="left">Suspicion</td><td class="tabletitle" align="left">Uploaded</td><td class="tabletitle" align="left">Downloaded</td><td class="tabletitle" align="left">Ratio</td></tr>
<?php 
$res = mysql_query("SELECT id,username,bookmcomment,uploaded,downloaded FROM users WHERE addbookmark='yes' ORDER BY id") or print mysql_error();
while ($arr = @mysql_fetch_assoc($res)) {
    if ($arr["downloaded"] != 0) {
        $ratio = number_format($arr["uploaded"] / $arr["downloaded"], 3);
    } else {
        $ratio = "---";
    }
    $ratio = "<font color=" . get_ratio_color($ratio) . ">{$ratio}</font>";
Exemplo n.º 16
0
<?php

require_once "include/bittorrent.php";
require_once "include/bbcode_functions.php";
require_once "include/user_functions.php";
dbconn();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Cleansnatch file");
}
if (!function_exists('memory_get_usage')) {
    function memory_get_usage()
    {
        // If its Windows
        // Tested on Win XP Pro SP2. Should work on Win 2003 Server too
        // Doesn't work for 2000
        // If you need it to work for 2000 look at http://us2.php.net/manual/en/function.memo...usage.php#54642
        if (substr(PHP_OS, 0, 3) == 'WIN') {
            if (substr(PHP_OS, 0, 3) == 'WIN') {
                $output = array();
                exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $output);
                return preg_replace('/[\\D]/', '', $output[5]) * 1024;
            }
        } else {
            // We now assume the OS is UNIX
            // Tested on Mac OS X 10.4.6 and Linux Red Hat Enterprise 4
Exemplo n.º 17
0
<?php

require_once 'include/bittorrent.php';
require_once 'include/bbcode_functions.php';
require_once 'include/user_functions.php';
//require_once ("include/authenticate.php");
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Admin Cp - Nosey C**t !");
}
//begin staff secure, comment to turn off, uncomment to turn on//
//secureip(UC_MODERATOR);
//end of staff secure//
/* add your ids and uncomment this check
$allowed_ids = array(1);
if (!in_array($CURUSER['id'], $allowed_ids))
    stderr('Error', 'Access Denied!');
    */
//systemcheck();
define('ConfigFN', 'include/config.php');
define('TBVERSION', 'TBDEV.NET-01-06-08 InstallerV4');
if (file_exists(ConfigFN)) {
    include_once ConfigFN;
} else {
Exemplo n.º 18
0
// www.cyberfun.ro //
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
// * Cleanup snatchlist by x0r TBDEV *//==//Clean ratings created from clean snatch by x0r
// == modified to clean old ratings
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Clean ratings file");
}
if (!function_exists('memory_get_usage')) {
    function memory_get_usage()
    {
        // If its Windows
        // Tested on Win XP Pro SP2. Should work on Win 2003 Server too
        // Doesn't work for 2000
        // If you need it to work for 2000 look at http://us2.php.net/manual/en/function.memo...usage.php#54642
        if (substr(PHP_OS, 0, 3) == 'WIN') {
            if (substr(PHP_OS, 0, 3) == 'WIN') {
                $output = array();
                exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $output);
                return preg_replace('/[\\D]/', '', $output[5]) * 1024;
            }
        } else {
Exemplo n.º 19
0
<?php

require_once "include/bittorrent.php";
require_once "include/bbcode_functions.php";
require_once "include/user_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Bans - Nosey C**t !");
}
$doUpdate = false;
$remove = isset($_GET['remove']) ? (int) $_GET['remove'] : 0;
if (is_valid_id($remove)) {
    mysql_query("DELETE FROM bans WHERE id={$remove}") or sqlerr();
    write_log("Ban {$remove} was removed by " . $CURUSER['id'] . " (" . $CURUSER['username'] . ")");
    $doUpdate = true;
}
if ($_SERVER["REQUEST_METHOD"] == "POST" && get_user_class() >= UC_ADMINISTRATOR) {
    // we doing just a cache rewrite or an add & rewrite?
    if (isset($_POST['cacheit'])) {
        $doUpdate = true;
    } else {
        $first = trim($_POST["first"]);
        $last = trim($_POST["last"]);
        $comment = trim($_POST["comment"]);
Exemplo n.º 20
0
ob_start("ob_gzhandler");
require "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
// 0 - No debug; 1 - Show and run SQL query; 2 - Show SQL query only
$DEBUG_MODE = 0;
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_ADMINISTRATOR) {
    hacker_dork("Ratio Edit - Nosey C**t !");
}
stdhead("Administrative User Search");
echo "<h1>Administrative User Search</h1>\n";
if ($_GET['h']) {
    echo "<table width=65% border=0 align=center><tr><td class=embedded bgcolor='#777777'><div align=left>\n\r\n\tFields left blank will be ignored;\n\r\n\tWildcards * and ? may be used in Name, Email and Comments, as well as multiple values\n\r\n\tseparated by spaces (e.g. 'wyz Max*' in Name will list both users named\n\r\n\t'wyz' and those whose names start by 'Max'. Similarly  '~' can be used for\n\r\n\tnegation, e.g. '~alfiest' in comments will restrict the search to users\n\r\n\tthat do not have 'alfiest' in their comments).<br><br>\n\r\n    The Ratio field accepts 'Inf' and '---' besides the usual numeric values.<br><br>\n\r\n\tThe subnet mask may be entered either in dotted decimal or CIDR notation\n\r\n\t(e.g. 255.255.255.0 is the same as /24).<br><br>\n\r\n    Uploaded and Downloaded should be entered in GB.<br><br>\n\r\n\tFor search parameters with multiple text fields the second will be\n\r\n\tignored unless relevant for the type of search chosen. <br><br>\n\r\n\t'Active only' restricts the search to users currently leeching or seeding,\n\r\n\t'Disabled IPs' to those whose IPs also show up in disabled accounts.<br><br>\n\r\n\tThe 'p' columns in the results show partial stats, that is, those\n\r\n\tof the torrents in progress. <br><br>\n\r\n\tThe History column lists the number of forum posts and torrent comments,\n\r\n\trespectively, as well as linking to the history page.\r\n\t<br><br>\n <b>Announcement Feature</b><br><br> To use the announcement feature either specify what criteria you want in the\r\n\tsearch boxes then hit submit query and the new announcement button will appear at the bottom\r\n\tor simply hit submit query to bring up every registered member\n\r\n\t</div></td></tr></table><br><br>\n";
} else {
    echo "<p align=center>(<a href='" . $_SERVER["PHP_SELF"] . "?h=1'>Instructions</a>)";
    echo "&nbsp;-&nbsp;(<a href='" . $_SERVER["PHP_SELF"] . "'>Reset</a>)</p>\n";
}
$highlight = " bgcolor=#BBAF9B";
?>

<form method=get action=<?php 
echo $_SERVER["PHP_SELF"];
?>
Exemplo n.º 21
0
  | Made by Putyn @ tbdev 31/05/2009 |
  +----------------------------------+
*/
include 'include/bittorrent.php';
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_ADMINISTRATOR) {
    hacker_dork("Invite Add - Nosey C**t !");
}
//dont forget to edit this
$maxclass = UC_CODER;
$firstclass = UC_USER;
function mkpositive($n)
{
    return strstr((string) $n, "-") ? 0 : $n;
    // this will return 0 for negative numbers
}
if ($HTTP_SERVER_VARS["REQUEST_METHOD"] == "POST") {
    $classes = isset($_POST["classes"]) ? $_POST["classes"] : "";
    $all = $classes[0] == 255 ? true : false;
    if (empty($classes) && sizeof($classes) == 0) {
        stderr("Err", "You need at least one class selected");
    }
Exemplo n.º 22
0
<?php

require_once "include/bittorrent.php";
require_once "include/bbcode_functions.php";
require_once "include/user_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Upload-Apps - Nosey C**t !");
}
$action = $_GET["action"];
// View applications
if (!$action || $action == "show") {
    if ($action == "show") {
        $hide = "[<a href=/uploadapps.php>Hide accepted/rejected</a>]";
    } else {
        $hide = "[<a href=/uploadapps.php?action=show>Show accepted/rejected</a>]";
        $where = "WHERE status = 'pending'";
        $where1 = "WHERE uploadapp.status = 'pending'";
    }
    $res = sql_query("SELECT count(id) FROM uploadapp {$where}") or sqlerr(__FILE__, __LINE__);
    $row = mysql_fetch_array($res);
    $url = " .{$_SERVER['PHP_SELF']}?";
    $count = $row[0];
    $perpage = 25;
Exemplo n.º 23
0
//
//
////////////////////////////////////////////////////
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
maxcoder();
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Byte Calculator - Nosey C**t !");
}
stdhead('Calculator');
print '' . '
<script>
function calc(from) {
gb = document.sizes.gb.value; mb = document.sizes.mb.value; kb = document.sizes.kb.value; b = document.sizes.byte.value;
if(from==\'gb\') { document.sizes.mb.value=""+gb+""; document.sizes.mb.value*="1024"; document.sizes.kb.value=""+gb+""; document.sizes.kb.value*="1024"; document.sizes.kb.value*="1024"; document.sizes.byte.value=""+gb+""; document.sizes.byte.value*="1024"; document.sizes.byte.value*="1024"; document.sizes.byte.value*="1024"; }
else if(from==\'mb\') { document.sizes.gb.value=""+mb+""; document.sizes.gb.value/="1024"; document.sizes.kb.value=""+mb+""; document.sizes.kb.value*="1024"; document.sizes.byte.value=""+mb+""; document.sizes.byte.value*="1024"; document.sizes.byte.value*="1024"; }
else if(from==\'kb\') { document.sizes.gb.value=""+kb+""; document.sizes.gb.value/="1024"; document.sizes.gb.value/="1024"; document.sizes.mb.value=""+kb+""; document.sizes.mb.value/="1024"; document.sizes.byte.value=""+kb+""; document.sizes.byte.value*="1024"; }
else if(from==\'byte\') { document.sizes.gb.value=""+b+""; document.sizes.gb.value/="1024"; document.sizes.gb.value/="1024"; document.sizes.gb.value/="1024"; document.sizes.mb.value=""+b+""; document.sizes.mb.value/="1024"; document.sizes.mb.value/="1024"; document.sizes.kb.value=""+b+""; document.sizes.kb.value/="1024"; }
}
</script>

<form name="sizes">
<table border="0" width="100%" cellspacing="5" cellpadding="2">
Exemplo n.º 24
0
<?php

// ////////shoutboxhistory by Bigjoos///////////////////////////
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Shout History - Nosey C**t !");
}
stdhead("Admin Shout History Check");
$count1 = number_format(get_row_count("shoutbox"));
print "<h2 align=center>Full Shout History</h2>";
print "<center><font class=small>We currently have " . safeChar($count1) . " shouts on history</font></center>";
begin_main_frame();
$res1 = mysql_query("SELECT COUNT(*) FROM shoutbox {$limit}") or sqlerr();
$row1 = mysql_fetch_array($res1);
$count = $row1[0];
$shoutsperpage = 30;
list($pagertop, $pagerbottom, $limit) = pager($shoutsperpage, $count, "shistory.php?");
print "{$pagertop}";
$res = sql_query("SELECT * FROM shoutbox ORDER BY date DESC {$limit}") or sqlerr(__FILE__, __LINE__);
if (mysql_num_rows($res) == 0) {
    print "\n";
Exemplo n.º 25
0
<?php

require "include/bittorrent.php";
require_once "include/bbcode_functions.php";
require_once "include/user_functions.php";
dbconn();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_ADMINISTRATOR) {
    hacker_dork("Usergroups- Nosey C**t !");
}
/*  ,$usergroups;  Stdhead Global and autoclean */
/* stdhead :)
 if ($usergroups['isbanned'] == 'yes') {
        die("Sorry but your usergroup is banned from this server");
    }
*/
/* example comment.php
if ($usergroups['cancomment'] == 'no' OR $usergroups['cancomment'] != 'yes' OR $row['allow_comments'] == 'no') {
  stderr( "Sorry...", "Your usergroup is not allowed to comment on torrents" );
	exit;
}
*/
/* userlogin
    //unset($GLOBALS["CURUSER"]);    
    to
    unset($GLOBALS["CURUSER"], $GLOBALS["usergroups"], $usergroup);
Exemplo n.º 26
0
<?php

require "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Make Poll - Nosey C**t !");
}
$action = isset($_GET["action"]) ? $_GET["action"] : '';
$pollid = (int) $_GET["pollid"];
if ($action == "edit") {
    if (!is_valid_id($pollid)) {
        stderr("Error", "Invalid ID.");
    }
    $res = sql_query("SELECT * FROM polls WHERE id = {$pollid}") or sqlerr(__FILE__, __LINE__);
    if (mysql_num_rows($res) == 0) {
        stderr("Error", "No poll found with ID.");
    }
    $poll = mysql_fetch_array($res);
}
if ($_SERVER["REQUEST_METHOD"] == "POST") {
    if ($action == 'edit' && !is_valid_id($pollid)) {
        stderr("Error", "Invalid ID.");
Exemplo n.º 27
0
// vim: expandtab sw=4 ts=4 sts=4:
require "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn(false);
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
/**
* Checks if the user is allowed to do what he tries to...
*/
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Mysql Overview - Nosey C**t !");
}
// Do we wanna continue here, or skip to just the overview?
if (isset($_GET['Do']) && isset($_GET['table'])) {
    $Do = $_GET['Do'] === "T" ? sqlesc($_GET['Do']) : "";
    //for later use!
    // Make sure the GET only has alpha letters and nothing else
    if (!ereg('[^A-Za-z_]+', $_GET['table'])) {
        $Table = '`' . $_GET['table'] . '`';
        //add backquotes to GET or we is doomed!
    } else {
        print "Pig Dog!";
        //Silly boy doh!!
        exit;
    }
    $sql = "OPTIMIZE TABLE {$Table}";
Exemplo n.º 28
0
<?php

require "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_MODERATOR) {
    hacker_dork("Moforums - Nosey C**t !");
}
// Presets
$act = isset($_GET["act"]) ? $_GET["act"] : '';
$id = 0 + $_GET['id'];
if (!$act) {
    $act = "forum";
}
// DELETE FORUM ACTION
if ($act == "del") {
    if (get_user_class() < UC_SYSOP) {
        stderr("Error", "Permission denied.");
    }
    if (!$id) {
        header("Location: {$PHP_SELF}?act=forum");
        die;
    }
Exemplo n.º 29
0
// http://xlist.ro/
require_once "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/bbcode_functions.php";
// * Cleanup snatchlist by x0r TBDEV *//==//Clean comments created from clean snatch by x0r
// == modified to clean old comments
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Clean Comments file");
}
if (!function_exists('memory_get_usage')) {
    function memory_get_usage()
    {
        // If its Windows
        // Tested on Win XP Pro SP2. Should work on Win 2003 Server too
        // Doesn't work for 2000
        // If you need it to work for 2000 look at http://us2.php.net/manual/en/function.memory-get-usage.php
        if (substr(PHP_OS, 0, 3) == 'WIN') {
            if (substr(PHP_OS, 0, 3) == 'WIN') {
                $output = array();
                exec('tasklist /FI "PID eq ' . getmypid() . '" /FO LIST', $output);
                return preg_replace('/[\\D]/', '', $output[5]) * 1024;
            }
        } else {
Exemplo n.º 30
0
<?php

require "include/bittorrent.php";
// require ("include/user_functions.php");
require "include/bbcode_functions.php";
dbconn();
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
if (get_user_class() < UC_SYSOP) {
    hacker_dork("Forum Manage - Nosey C**t !");
}
$id = (int) +$_GET['id'];
// DELETE FORUM ACTION
if ($_GET['action'] == "del") {
    if (!$id) {
        header("Location: {$BASEURL}/forummanage.php");
        die;
    }
    $result = sql_query("SELECT * FROM topics where forumid = '" . unsafeChar($_GET['id']) . "'");
    if ($row = mysql_fetch_array($result)) {
        do {
            sql_query("DELETE FROM posts where topicid = '" . unsafeChar($row["id"]) . "'") or sqlerr(__FILE__, __LINE__);
        } while ($row = mysql_fetch_array($result));
    }
    sql_query("DELETE FROM topics where forumid = '" . unsafeChar($_GET['id']) . "'") or sqlerr(__FILE__, __LINE__);
    sql_query("DELETE FROM forums where id = '" . unsafeChar($_GET['id']) . "'") or sqlerr(__FILE__, __LINE__);