Extremlym Posted December 12, 2017 Report Share Posted December 12, 2017 Hello !!! how can i add a file in .torrent file without changing the HASH ? EXAMPLE RAW TORRENT EDITED "files" : [ { "length" : 31, "path" : [ "example.txt" ] }, { "length" : 1099525988, "path" : [ "The.Snowman.2017.HC.WEBRip.x264-ExtremlymTorrents.ws.mp4" ] } ], "name" : "The.Snowman.2017.HC.WEBRip.x264-ExtremlymTorrents.ws", "piece length" : 1048576, "pieces" : "blabla } } using $dict['value'] ??? from TORRENTS-UPLOAD.php? // Edit Torrent Comment 2017 Extremlym require_once("backend/BDecode.php"); require_once("backend/BEncode.php"); $dict = BDecode(file_get_contents($site_config["torrent_dir"] . "/$id.torrent")); $dict['comment'] = "Torrent downloaded from " . $site_config['SITENAME']; $dict['created by'] = "Torrent created for " . $site_config['SITEURL']; $dict['publisher-url'] = "Site: " . $site_config['SITEURL']; Link to comment Share on other sites More sharing options...
DreadWingKnight Posted December 12, 2017 Report Share Posted December 12, 2017 You don't. Link to comment Share on other sites More sharing options...
PiusX Posted December 13, 2017 Report Share Posted December 13, 2017 Only the torrent creator can do or update the changes you have no control over it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.