Coder Social home page Coder Social logo

dents / torche Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 0.0 17 KB

Torrent file checker - verifies files in a directory against a torrent file in the same directory

License: MIT License

JavaScript 100.00%
torrents torrent torrent-files file file-validation sha1 hash security storage datahoarding

torche's Introduction

torche

Torrent file checker - verifies files in a directory against a torrent file in the same directory. Should work anywhere you can install node.js

Useful when you get files from a questionable source. For example, suppose your internet at home is extremely slow so you end up getting a Linux ISO on a USB drive from a shady "friend". Your would like to make sure the ISO has not been tampered with:

  1. Install torche: npm install torche -g (make sure you have npm set up to install globals properly.)
  2. Create a new folder, let's say Ubuntu20LTS
  3. Copy the questionable ISO in there (ubuntu-20.04-desktop-amd64.iso)
  4. Download the .torrent file into the same directory (ubuntu-20.04-desktop-amd64.iso.torrent)
  5. Run torche ./Ubuntu20LTS/
  6. Make sure you get a successful verification:
$ torche Ubuntu20LTS/
VERIFYING ubuntu-20.04-desktop-amd64.iso.torrent
9FC20B9E98EA98B4A35E6223041A5EF94EA27809
Found 1 of 1 in torrent
VERIFIED 2,590/2,590 PIECES; 2,715,254,784 BYTES OK

Obviously this is a contrived example since most modern Linux ISOs will have signature files for this exact purpose. torche is useful when all you have is a torrent file and absolutely nothing else to go on.

torche's People

Contributors

dents avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.