Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev
Reply
  #1  
Old 6th June 2020, 03:17
Tedmorris Tedmorris is offline
Senior Member
 
Join Date: Sep 2017
Posts: 62
Default Ratiomaster stop uploading to zero leechers
PHP Code:
// if user is a seeder, then only supply leechers.
$wantseeds '';
if (
$seeder == 'yes'$wantseeds 'AND seeder = "no"';
    
$res mysql_query("SELECT $fields FROM peers WHERE torrent = $torrentid $wantseeds $limit") or err'peers query failure' );
unset(
$wantseeds); 
So this code stops a seeder supplying to himself but how could this code be tweaked to stop a leecher spoofing fake upload amounts IF they are the only leech?

So we have lets say 20 seeds and one leecher using ratiomaster how could the leecher be stopped or detected uploading spoofed data when that user is the only leecher?
Reply With Quote
  #2  
Old 14th June 2020, 10:29
Elena Elena is offline
Senior Member
 
Join Date: Sep 2010
P2P
Posts: 111
Default
I have a user, downloaded 4.10 MB, and uploaded 4.73 GB. Explicitly clocked up the rating, but the machine will not see this, only with your hands you need to look and edit the statics of the user.
Attached Thumbnails
01.png  
Reply With Quote
  #3  
Old 14th June 2020, 18:45
rio rio is offline
Senior Member
 
Join Date: May 2019
P2P
Posts: 55
Default
You can use Ajax to update the info jQuery is pretty easy or you could use vanilla js
https://api.jquery.com/jquery.ajax/
https://developer.mozilla.org/en-US/...etting_Started
__________________
Live Free... Share Free...
Reply With Quote
Reply

Thread Tools

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



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