Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Downloads
Reply
Thread Tools
  #151  
Old 15th May 2009, 20:18
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
I suggest that you join their demo site if you want to keep up with what is going on!

Link is in first post.
Reply With Quote
  #152  
Old 16th May 2009, 00:01
sharpe's Avatar
sharpe sharpe is offline
Senior Member
 
Join Date: Sep 2008
Posts: 52
Default
yeah well if i do that i must (unfurtanally) make a registration,(again)
i dont know how its with u but i have 285 sites that i'm currently regged on, round about..

Register again?? for a changelog??
knock it off will ya...
__________________
Aoccdrnig to a rscheearch sudty at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it wouthit a porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Amzanig huh? Yaeh and I awlyas thgouht slpeling was ipmorantt.
Reply With Quote
  #153  
Old 16th May 2009, 02:06
Krypto Krypto is offline
Retired from BVList
 
Join Date: Jan 2008
P2P
Posts: 510
Default
Never said there was a changelog on their! But there are some bug fixes etc...
Reply With Quote
  #154  
Old 25th May 2009, 06:06
bantatai bantatai is offline
Member
 
Join Date: Apr 2009
P2P
Posts: 2
Default I am Not speak English proficiently
I am Sorry
I am Not speak English proficiently

I have problam

When I install finish [Tbdev Official Modded Version By Big Joos (BETA) Includes Installer ]

I can't login this page by user: installer pass : codeman
and user : Admin pass : xxx
Click the image to open in full size.

I muddled on Setup .php files

I see readme.txt

What is disable hot-linking ?

I don't have secrets.php in include folder

I hope, I do not cause nuisance

Thanks.

Reply With Quote
  #155  
Old 25th May 2009, 16:16
Verix's Avatar
Verix Verix is offline
Senior Member
 
Join Date: Feb 2009
Poland
Posts: 54
Thumbs down owner account error
I've almost installed this engine.
I created my account, but when I want to login, it's impossible because:
Please enter password to access this page

Incorrect password.


What's wrong?
Reply With Quote
  #156  
Old 26th May 2009, 08:58
swizzles swizzles is offline
Member
 
Join Date: Apr 2009
P2P
Posts: 3
Default
Quote:
Originally Posted by Bigjoos View Post
If you get a bit code in the installer causing issue replace it with default code from 01.01.08 , thats the core of the installer - If your getting issues and dont understand how to work with the maxcoder function then comment the function out on bittorrent.php and then comment out all the

Code:
maxcoder():
Thats on every file and thats it job done no more banned for unauthorized staff :)
Hello, I would like to keep this function in for security, however is it at all possible you can inform me on what to edit in the maxcoder.php or bittorrent.php to stop the banning.

I have added all the relevant nicks into the maxcoder page which was written to staff names and id successfully and saved, but still I get the error.

I have tried to comment the whole block the function calls for in bittorrent.php and took the maxcoder file out of the picture. All i get is a white page.

BTW this code rocks :)

Some advice for a relative n00b would be great tyvm in advance.

swizzles

Last edited by swizzles; 26th May 2009 at 09:23.
Reply With Quote
  #157  
Old 26th May 2009, 09:58
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Default
Linux or windows ? - Default userclasses or added anymore ? - As the function looks for your minimum staff class and also covers the max class on the site which prevents account hijack to super class or staff period if not authorized, which will be 4 and 7 on the default release which you set on bittorrent.php - If its saving those changes and you have the usernames for max class and userid's for under max class only then the system should work perfectly - The function can be changed - the ip ban can be removed from it by commenting it out and the disablement could be changed to a warning only by changing the query - Post the block if you dont understand the changes needed or even better join my test server - Fynnon posted the url few pages back - from there we can help you better and you learn more about the source direct from me.
Reply With Quote
  #158  
Old 26th May 2009, 10:22
swizzles swizzles is offline
Member
 
Join Date: Apr 2009
P2P
Posts: 3
Default
Quote:
Originally Posted by Bigjoos View Post
Linux or windows ? - Default userclasses or added anymore ? - As the function looks for your minimum staff class and also covers the max class on the site which prevents account hijack to super class or staff period if not authorized, which will be 4 and 7 on the default release which you set on bittorrent.php - If its saving those changes and you have the usernames for max class and userid's for under max class only then the system should work perfectly - The function can be changed - the ip ban can be removed from it by commenting it out and the disablement could be changed to a warning only by changing the query - Post the block if you dont understand the changes needed or even better join my test server - Fynnon posted the url few pages back - from there we can help you better and you learn more about the source direct from me.
Sorry, Its Linux, and ty for your prompt answer. I will attempt to interpret the code:

PHP Code:
function maxcoder ()
{
    global 
$CURUSER;
    
$lmaxclass 7;
    
$filename ROOT_PATH "settings/STAFFNAMES";
    
$filename2 ROOT_PATH "settings/STAFFIDS";
    if (
$CURUSER['class'] >= $lmaxclass) {
        
$fp fopen($filename'r');
        while (!
feof($fp)) {
            
$staffnames fgets($fp);
            
$results explode(' '$staffnames);
        }
        
$added sqlesc(get_date_time());
        if (!
in_array($CURUSER['username'], $resultstrue)) { // /////== true for strict comparison - super class detection .. not in array = disable the fuckers and ban the ip
            
sql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");
            
$ban_ip sqlesc(trim(ip2long($_SERVER['REMOTE_ADDR'])));
            
$comment sqlesc('Super User Hack Attempt');
            
$added sqlesc(get_date_time());
            
sql_query("INSERT INTO bans (added, addedby, first, last, comment) VALUES ($added, '0', $ban_ip$ban_ip$comment)") or sqlerr(__FILE____LINE__);
            
$subject sqlesc("Alert Super User Has been Detected");
            
$body sqlesc("User " $CURUSER["username"] . " has attempted to hack the tracker using a super class - the account has been disabled");
            
auto_post($subject $body);
            
$msg "Hack Attempt Detected - now go to ip bans in staff tools and cache the ban : Username: " $CURUSER["username"] . " - UserID: " $CURUSER["id"] . " - UserIP : " getip();
            
sql_query("INSERT INTO messages (poster, sender, receiver, added, subject, msg) VALUES(0, 0, '1', '" get_date_time() . "', " $subject " , " sqlesc($msg) . ")") or sqlerr(__FILE____LINE__);
            
write_log($msg);
            
fclose($fp);
            
stderr("Access Denied!""Ha Ha you retard - Did you honestly think you could pull that one off !");
        }
        
fclose($fp);
    }
    
define ('UC_STAFF'4); ///////== Minumum Staff Level (4=UC_MODERATOR)
    
if ($CURUSER['class'] >= UC_STAFF) {
        
$fp2 fopen($filename2'r');
        while (!
feof($fp2)) {
            
$staffids fgets($fp2);
            
$results2 explode(' '$staffids);
        }
        if (!
in_array($CURUSER['id'], $results2true)) { // ////== true for strict comparison if there not in the array disable the fuckers and ban the ip :)
            
sql_query("UPDATE users set enabled='no' WHERE id=$CURUSER[id]");
            
$ban_ip sqlesc(trim(ip2long($_SERVER['REMOTE_ADDR'])));
            
$comment sqlesc('Unauthorized Staff Account Hack');
            
$added sqlesc(get_date_time());
            
sql_query("INSERT INTO bans (added, addedby, first, last, comment) VALUES ($added, '0', $ban_ip$ban_ip$comment)") or sqlerr(__FILE____LINE__);
            
$subject sqlesc("Staff Account Hack Detected");
            
$body sqlesc("User " $CURUSER["username"] . " has attempted to hack the tracker using an unauthorized account- the account has been disabled");
            
auto_post($subject $body);
            
$msg "Fake Account Detected now go to ip bans in staff tools and cache the ban : Username: " $CURUSER["username"] . " - UserID: " $CURUSER["id"] . " - UserIP : " getip();
            
sql_query("INSERT INTO messages (poster, sender, receiver, added, subject, msg) VALUES(0, 0, '1', '" get_date_time() . "', " $subject " , " sqlesc($msg) . ")") or sqlerr(__FILE____LINE__);
            
write_log($msg);
            
fclose($fp2);
            
stderr("Access Denied!""Sorry but your not an authorized staff member - nice try your banned !");
        }
        
fclose($fp2);
    }
    return 
true;

I know the next function called is if you try to login it'll issue the

Code:
403 Forbidden</h1>Unauthorized IP address.
if the above is followed:

From what you are saying the function is still in default, so in theory it should work, however its still banning any user that gets promoted. My staff are logging as users and its when i try to promote that causes the problem. I have tried to change it in the Sql DB, but this as I suspected was also picked up as a hack..lol

Can you tell me whats needed, and yes i will join the test site ty.

swizzles
Reply With Quote
  #159  
Old 26th May 2009, 10:33
Bigjoos's Avatar
Bigjoos Bigjoos is offline
U-232 Dev
 
Join Date: May 2008
United Kingdom
Posts: 244
Talking Edits
PHP Code:
function maxcoder ()
{
    global 
$CURUSER;
    
$lmaxclass 7;
    
$filename ROOT_PATH "settings/STAFFNAMES";
    
$filename2 ROOT_PATH "settings/STAFFIDS";
    if (
$CURUSER['class'] >= $lmaxclass) {
        
$fp fopen($filename'r');
        while (!
feof($fp)) {
            
$staffnames fgets($fp);
            
$results explode(' '$staffnames);
        }
        
$added sqlesc(get_date_time());
        if (!
in_array($CURUSER['username'], $resultstrue)) { // /////== true for strict comparison - super class detection .. not in array = warning issued ?
            
sql_query("UPDATE users set warned='yes' WHERE id=$CURUSER[id]");
            
$subject sqlesc("Alert Super User Has been Detected");
            
$body sqlesc("User " $CURUSER["username"] . " has attempted to hack the tracker using a super class - the account has been disabled");
            
auto_post($subject $body);
            
$msg "Hack Attempt Detected - Member has been warned : Username: " $CURUSER["username"] . " - UserID: " $CURUSER["id"] . " - UserIP : " getip();
            
sql_query("INSERT INTO messages (poster, sender, receiver, added, subject, msg) VALUES(0, 0, '1', '" get_date_time() . "', " $subject " , " sqlesc($msg) . ")") or sqlerr(__FILE____LINE__);
            
write_log($msg);
            
fclose($fp);
            
stderr("Access Denied!""Ha Ha  - Did you honestly think you could pull that one off !");
        }
        
fclose($fp);
    }
    
define ('UC_STAFF'4); ///////== Minumum Staff Level (4=UC_MODERATOR)
    
if ($CURUSER['class'] >= UC_STAFF) {
        
$fp2 fopen($filename2'r');
        while (!
feof($fp2)) {
            
$staffids fgets($fp2);
            
$results2 explode(' '$staffids);
        }
        if (!
in_array($CURUSER['id'], $results2true)) { // ////== true for strict comparison if there not in the array disable the fuckers and ban the ip :)
            
sql_query("UPDATE users set warned='yes' WHERE id=$CURUSER[id]");
            
$subject sqlesc("Staff Account Hack Detected");
            
$body sqlesc("User " $CURUSER["username"] . " has attempted to hack the tracker using an unauthorized account- the account has been disabled");
            
auto_post($subject $body);
            
$msg "Fake Account Detected - User warned : Username: " $CURUSER["username"] . " - UserID: " $CURUSER["id"] . " - UserIP : " getip();
            
sql_query("INSERT INTO messages (poster, sender, receiver, added, subject, msg) VALUES(0, 0, '1', '" get_date_time() . "', " $subject " , " sqlesc($msg) . ")") or sqlerr(__FILE____LINE__);
            
write_log($msg);
            
fclose($fp2);
            
stderr("Access Denied!""Sorry but your not an authorized staff member - nice try your banned !");
        }
        
fclose($fp2);
    }
    return 
true;

Thats it altered now - querys i changed disabled = yes to warned = yes - I have removed the ip ban function from it, easy added back though its only a few lines you can see from comparing both blocks - Remember if any staff have fallen foul of it you need to delete those entrys from the bans table - See when it saves - if you refresh your page after the save using the refresh link does it show the new additions ?

Last edited by Bigjoos; 26th May 2009 at 10:37. Reason: typo
Reply With Quote
  #160  
Old 26th May 2009, 12:53
Edy24 Edy24 is offline
Member
 
Join Date: May 2009
P2P
Posts: 1
Default
upload files after 500 da internet service that can to do?
Reply With Quote
Reply

Tags
codex , installer , v4


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YSE PRE6 with installer kp380lv Yuna Scatari Edition (YSE) 4 11th May 2010 23:32
$$looking for a installer and coder for my tracker$$ wltan Sell & Buy 9 8th May 2010 20:42
Gazelle Installer and Programmer Gazeller Sell & Buy 1 16th January 2010 20:23
My theme for tbdev installer KiD Community Cafe 2 17th October 2009 10:28



All times are GMT +2. The time now is 14:43. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.