File "gu.txt"

Full Path: /home/gerstori/public_html/bin-20260721140833/gu.txt
File size: 403 bytes
MIME-type: text/x-ruby; charset=us-ascii
Charset: utf-8

require 'vendor/autoload.php';

use Arokettu\Bencode\Bencode;

$filePath = 'example.torrent';

$torrentData = Bencode::load($filePath);

echo "name tracker: " . ($torrentData['announce'] ?? 'no') . "\n";
echo "comment " . ($torrentData['comment'] ?? 'no') . "\n";

if (isset($torrentData['info'])) {
    echo "name theme/dir: " . ($torrentData['info']['name'] ?? 'no') . "\n";
}

print_r($torrentData);