JTR Basics

  • download & build crunch & jtr
    • check that all development libraries are available
  • create hash (e.g. zip2john zipfile > filehash)
  • run it: try every combination of given charset with passwords length from 9 to 13
    • crunch 9 13 “abcdef0123456789+-()” | john -stdin filehash

Bash Shortcuts

^a Go to start of line
^e Go to end of line
^k Delete from cursor to end of line
^u Delete from cursor to start of line
^w Delete from cursor to start of word
Alt+d Delete from cursor to end of word
^y Paste whatever was deleted last

Converting Satellite Transport Stream (*.ts) to MKV

Convert all files using ffmpeg while keeping all streams (video/audio/subtitles):

for f in *.ts; do ffmpeg -i "$f" -c copy -map 0:v -map 0:a -map 0:s "$f".mkv; done

This prevents any conversion and thus keeps the quality at the source level. Quotes are required to work correctly with filenames containing spaces.