A tool for decrypting ExtraTorrent's js-based page encryption.
src/
tests/
vendor/
Via Composer
$ composer require pxgamer/decrypt-et
This is primarily to be used when creating a proxy of ET content.
It is a quick project to decrypt the encrypted content on ExtraTorrent pages.
use pxgamer\DecryptET\Decrypt;
$Decrypt = new Decrypt();
// Fetch the page content from ET (alternatively you can set the HTML manually using $this->__set('full_page', $value)
$Decrypt->fetch();
// Populate the JSON class with the values from the JSON in Decrypt->full_page
$Decrypt->populate();
// Decrypt the content
$Decrypt->decrypt();
// Output the decrypted content
echo $Decrypt->__get('decrypted');
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.