mirror of
https://github.com/ap-pauloafonso/ratio-spoof.git
synced 2026-05-16 14:51:46 +00:00
Merge 8112984455 into 032536eda4
This commit is contained in:
commit
6c2b3846dd
4 changed files with 21 additions and 4 deletions
2
Makefile
2
Makefile
|
|
@ -2,7 +2,7 @@ test:
|
||||||
go test ./... -count=1 --cover
|
go test ./... -count=1 --cover
|
||||||
|
|
||||||
torrent-test:
|
torrent-test:
|
||||||
go run main.go -c qbit-4.3.3 -t bencode/torrent_files_test/debian-12.0.0-amd64-DVD-1.iso.torrent -d 0% -ds 100kbps -u 0% -us 100kbps
|
go run main.go -c qbit-5.1.4 -t bencode/torrent_files_test/debian-12.0.0-amd64-DVD-1.iso.torrent -d 0% -ds 100kbps -u 0% -us 100kbps
|
||||||
|
|
||||||
release:
|
release:
|
||||||
@if test -z "$(rsversion)"; then echo "usage: make release rsversion=v1.2"; exit 1; fi
|
@if test -z "$(rsversion)"; then echo "usage: make release rsversion=v1.2"; exit 1; fi
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ required arguments:
|
||||||
|
|
||||||
<INITIAL_DOWNLOADED> and <INITIAL_UPLOADED> must be in %, b, kb, mb, gb, tb
|
<INITIAL_DOWNLOADED> and <INITIAL_UPLOADED> must be in %, b, kb, mb, gb, tb
|
||||||
<DOWNLOAD_SPEED> and <UPLOAD_SPEED> must be in kbps, mbps
|
<DOWNLOAD_SPEED> and <UPLOAD_SPEED> must be in kbps, mbps
|
||||||
[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.3
|
[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.3, qbit-5.1.4
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
||||||
17
emulation/static/qbit-5.1.4.json
Normal file
17
emulation/static/qbit-5.1.4.json
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"name": "qBittorrent v5.1.4",
|
||||||
|
"peerId": {
|
||||||
|
"regex":"-qB5140-[A-Za-z0-9_~\\(\\)\\!\\.\\*-]{12}"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"generator": "defaultKeyGenerator"
|
||||||
|
},
|
||||||
|
"rounding": {
|
||||||
|
"generator": "defaultRoudingGenerator"
|
||||||
|
},
|
||||||
|
"query": "info_hash={infohash}&peer_id={peerid}&port={port}&uploaded={uploaded}&downloaded={downloaded}&left={left}&corrupt=0&key={key}&event={event}&numwant={numwant}&compact=1&no_peer_id=1&supportcrypto=1&redundant=0",
|
||||||
|
"headers": {
|
||||||
|
"User-Agent": "qBittorrent/5.1.4",
|
||||||
|
"Accept-Encoding": "gzip"
|
||||||
|
}
|
||||||
|
}
|
||||||
2
main.go
2
main.go
|
|
@ -41,7 +41,7 @@ required arguments:
|
||||||
|
|
||||||
<INITIAL_DOWNLOADED> and <INITIAL_UPLOADED> must be in %, b, kb, mb, gb, tb
|
<INITIAL_DOWNLOADED> and <INITIAL_UPLOADED> must be in %, b, kb, mb, gb, tb
|
||||||
<DOWNLOAD_SPEED> and <UPLOAD_SPEED> must be in kbps, mbps
|
<DOWNLOAD_SPEED> and <UPLOAD_SPEED> must be in kbps, mbps
|
||||||
[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.3
|
[CLIENT_CODE] options: qbit-4.0.3, qbit-4.3.3, qbit-5.1.4
|
||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue