Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Sql inject
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2023-06-10 04:17:16
Looks like in invite.php there is a code that gets sql inject . I dont have much information, only that he can find passwords of users through invite page.
Thats all that he said to me thanks in advance
2023-06-10 07:21:38
Which version of TT,
which code M-jay or MM,
some attachment of invite.php


Thanks


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2023-06-10 08:30:29
3.0 Micro Edition
invite.php
Download
2023-06-10 11:50:43
It was common knowledge that invite had a "backdoor" in this way...
Don't know if it helps you but try and see

You can test it if it works:

In config.php add that:


// email encrypt
$site_config["clef"] = 'AHIJKLMNOPQRSTUVWXYZabcde,;:!§#)nopqrstuvwxyz0123456789+@='; // change your key as you wish


invite.php
Download



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2023-06-10 13:13:33
I will try thank you
2023-06-11 11:01:53
i think i need the function for
$crypt = new Cryptage();
2023-06-11 14:47:59
Sorry:

in functions.php add this line:

require_once(BACKEND."/encrypt_email.php"); //   Mail encrypt functions

and in backend folder add attachmend file
encrypt_email.php
Download



www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2023-06-11 18:16:47
yeps looks like it stop it in a way , thank you
2023-06-11 21:38:49
Glad to help you against cheaters


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2023-06-16 18:47:31
Also all GET/POST variables that expect a integer from user-input (url or form submission), should always be wrapped with intval(). This is because it filters out potentially malicious code, and delivers a real integer.

somesite.com/torrents-details.php?id=5guys

Intval filters and returns:

somesite.com/torrents-details.php?id=5

Additionally, anyone can run a for loop on a torrent index and collect all of the IDS and store them in a array and then mass-download them all from any account. This produces abuse. Encrypted links are the way to deal with this.

The problem ?id=5, 6, 7, 8, 9, etc
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728