• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP hacker_dork函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中hacker_dork函数的典型用法代码示例。如果您正苦于以下问题:PHP hacker_dork函数的具体用法?PHP hacker_dork怎么用?PHP hacker_dork使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了hacker_dork函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: dbconn

// ==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 Cunt !");
}
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);
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:30,代码来源:activity.php


示例2: dbconn

<?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 Cunt !");
}
$fileinformation = array('table' => 'stylesheets', 'arrayname' => 'stylesheets', 'filename' => 'stylesheets');
query_wphpfile($fileinformation);
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:18,代码来源:cachestylesheets.php


示例3: dbconn

<?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 Cunt !");
}
// 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}";
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:takesecureip.php


示例4: dbconn

<?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 Cunt !");
}
// made by putyn tbdev.net
// email part by x0r tbdev.net
// config
$sitename = "www.installerv4.net";
// Sitename, format: site.com
$replyto = "[email protected]";
// 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")) {
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:inactive.php


示例5: dbconn

<?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 Cunt !");
}
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";
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:datareset.php


示例6: dbconn

<?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 Cunt !");
}
// 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');
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:flush_log.php


示例7: dbconn

<?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 Cunt !");
}
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")) {
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:sitecheck.php


示例8: dbconn

<?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 Cunt !");
}
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)) {
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:iptocountry.php


示例9: dbconn

<?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 Cunt !");
}
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>
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:cheaters.php


示例10: dbconn

<?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 Cunt !");
}
$fileinformation = array('table' => 'categories', 'arrayname' => 'categories', 'filename' => 'categories');
query_wphpfile($fileinformation);
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:17,代码来源:cachecategories.php


示例11: ob_start

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 Cunt !");
}
$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===//
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:30,代码来源:msgspy.php


示例12: ob_start

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 Cunt !");
}
// 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);
}
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:30,代码来源:categorie.php


示例13: dbconn

<?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
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:docleanup.php


示例14: dbconn

<?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 Cunt !");
}
$fileinformation = array('table' => 'countries', 'arrayname' => 'countries', 'filename' => 'countries');
query_wphpfile($fileinformation);
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:17,代码来源:cachecountries.php


示例15: dbconn

<?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 Cunt !");
}
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>";
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:adminbookmarks.php


示例16: dbconn

<?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
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:cleansnatch.php


示例17: dbconn

<?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 Cunt !");
}
//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 {
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:core_.php


示例18: dbconn

// 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 {
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:cleanratings.php


示例19: dbconn

<?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 Cunt !");
}
$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"]);
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:bans.php


示例20: ob_start

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 Cunt !");
}
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"];
?>
开发者ID:ZenoX2012,项目名称:CyBerFuN-CoDeX,代码行数:31,代码来源:usersearch.php



注:本文中的hacker_dork函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP hacklib_cast_as_boolean函数代码示例发布时间:2022-05-15
下一篇:
PHP haIniciadoSesion函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap