Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
21.78k stars 837 forks source link

Deobfuscate screenshot URLs #779

Open Alhadis opened 1 year ago

Alhadis commented 1 year ago

Unless Imgur-hosted URLs are specifically blacklisted by whatever software or service processes AppData XML, there's no good reason to use GitHub's proxified URLs over the originals.

(The last pathname component of camo.githubusercontent.com URLs is a hex representation of the original URL string, which is how I managed to recover them).

$ url='https://camo.githubusercontent.com/2443e662e95733ba6ae331f391f6ec036d1ee7fd/687474703a2f2f692e696d6775722e636f6d2f4e5566766e6c752e706e67'
$ printf '%s' "${url##*/}" | xxd -p -r