cool-retro-term icon indicating copy to clipboard operation
cool-retro-term copied to clipboard

Deobfuscate screenshot URLs

Open Alhadis opened this issue 1 year ago • 0 comments

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

Alhadis avatar Feb 17 '23 17:02 Alhadis