found this script here: h t t p s : / / gist.github.com/jamescmartinez/6913761
works perfectly!
Code:#!/usr/bin/env ruby require 'openssl' data = File.open('blob', 'r:ASCII-8BIT').read c = OpenSSL::Cipher.new('AES-128-ECB') c.decrypt c.key = 'M02cnQ51Ji97vwT4' o = ''.force_encoding('ASCII-8BIT') data.bytes.each_slice(16) { |s| o += c.update(s.map(&:chr).join) } o += c.final File.open('blob.jpg', 'w') { |f| f.write(o) }
Do you have to run that as a ruby script? Or just a batch file? That is what I'm no sure about.