pxgamer/decrypt-et

A tool for decrypting ExtraTorrent's js-based page encryption.

v1.1.4 2017-12-06 09:42 UTC

This package is auto-updated.

Last update: 2024-04-11 14:01:17 UTC


README

Latest Version on Packagist Software License Build Status Style CI Code Coverage Total Downloads

A tool for decrypting ExtraTorrent's js-based page encryption.

Structure

src/
tests/
vendor/

Install

Via Composer

$ composer require pxgamer/decrypt-et

Usage

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');

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email owzie123@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.