A bittorrent ratio spoof tool
Find a file
2023-07-03 15:10:32 -03:00
.github/workflows ci go-version upgrade 2021-03-15 00:06:56 -03:00
assets rand and empty result tracker gracefuly exit 2020-12-01 20:58:06 -03:00
bencode outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
emulation outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
generator outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
input outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
printer outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
ratiospoof outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
tracker outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
.gitignore outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
go.mod outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
go.sum initial multiple-client build 2021-03-12 23:15:18 -03:00
LICENSE create license 2020-04-28 22:44:40 -03:00
main.go outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00
Makefile no cache make test 2023-07-03 15:10:32 -03:00
README.md outdated torrent samples update, fix readme link 2023-07-03 15:05:45 -03:00

ratio-spoof

Ratio-spoof is a cross-platform, free and open source tool to spoof the download/upload amount on private bittorrent trackers.

Motivation

Here in brazil, not everybody has a great upload speed, and most of the private trackers requires a ratio to be greater than or equal to 1 (e.g. if you downloaded 1gb you must upload 1gb as well) in order to survive. Plus, i have always been fascinated by the bittorrent protocol, i even made a bittorrent webclient to learn a bit about it so with the current global covid-19 lockdown i got some free time and decided to code my own simple cli tool to spoof bittorrent trackers.

How does it works?

Bittorrent protocol works in such a way that there is no way that a tracker knows how much certain peer have downloaded or uploaded, so the tracker depends on the peer itself telling the amounts.

Ratio-spoof acts like a normal bittorrent client but without downloading or uploading anything, in fact it just tricks the tracker pretending that.

Usage

usage: 
	./ratio-spoof -t <TORRENT_PATH> -d <INITIAL_DOWNLOADED> -ds <DOWNLOAD_SPEED> -u <INITIAL_UPLOADED> -us <UPLOAD_SPEED> 

optional arguments:
	-h           		show this help message and exit
	-p [PORT]    		change the port number, default: 8999
	-c [CLIENT_CODE]	change the client emulation, default: qbit-4.0.3
	  
required arguments:
	-t  <TORRENT_PATH>     
	-d  <INITIAL_DOWNLOADED> 
	-ds <DOWNLOAD_SPEED>						  
	-u  <INITIAL_UPLOADED> 
	-us <UPLOAD_SPEED> 						  
	  
<INITIAL_DOWNLOADED> and <INITIAL_UPLOADED> must be in %, b, kb, mb, gb, tb
<DOWNLOAD_SPEED> and <UPLOAD_SPEED> must be in kbps, mbps
[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.3
./ratio-spoof -d 90% -ds 100kbps -u 0% -us 1024kbps -t (torrentfile_path) 
  • Will start "downloading" with the initial value of 90% of the torrent total size at 100 kbps speed until it reaches 100% mark.
  • Will start "uploading" with the initial value of 0% of the torrent total size at 1024kbps (aka 1mb/s) indefinitely.
./ratio-spoof -d 2gb -ds 500kbps -u 1gb -us 1024kbps -t (torrentfile_path) 
  • Will start "downloading" with the initial value of 2gb downloaded if possible at 500kbps speed until it reaches 100% mark.
  • Will start "uploading" with the initial value of 1gb uplodead at 1024kbps (aka 1mb/s) indefinitely.

Will i get caught using it ?

Depends wether you use it carefuly, Its a hard task to catch cheaters, but if you start uploading crazy amounts out of nowhere or seeding something with no active leecher on the swarm you may be in risk.

Bittorrent client supported

The default client emulation is qbittorrent v4.0.3, however you can change it by using the -c argument

Resources

http://www.bittorrent.org/beps/bep_0003.html

https://wiki.theory.org/BitTorrentSpecification