Archiving - eitan-j/tech-journal GitHub Wiki

To upload

  • zip if needed
  • find length
    • right click, Properties
  • find hash
    • open command prompt
    • CertUtil -hashfile <file> MD5
  • write in Meta.txt
    • format Name,Bytes,MD5;
  • add .exe to filename
  • open Exe2Image.jar
  • select input and output
  • select Red
  • press convert
  • output will have .png at end
  • upload PNG

To download

  • download PNG
  • open Exe2Image.jar
  • select input and output
  • select Red
  • press convert
  • remove all but original file extension
  • open hex editor
  • remove data after last byte from Meta.txt
    • remember that the first byte is position 0, so the last byte will be in the position one less than the size
  • compare hash
    • open command prompt
    • CertUtil -hashfile <file> MD5
    • hash should be the same as in Meta.txt
  • unzip if needed
⚠️ **GitHub.com Fallback** ⚠️