a simple script to upload whatever on Amazon Prime Photos

¯\_(ツ)_/¯

panda 11ccb1d2f8 added dependency checks 4 months ago
20231103_01_fakekitten_2_upload_anything_amazon_photos_01.jpeg 11ccb1d2f8 added dependency checks 4 months ago
FakeKitten.sh 11ccb1d2f8 added dependency checks 4 months ago
README.md 7d8c60570c Update 'README.md' 4 months ago

README.md

FakeKitten

a simple script to upload whatever on Amazon Prime Photos

¯\(ツ)

why:

Amazon Prime Photos allows you to upload everything as long as it's an image, giving you unlimited storage (I expect them to do facial recognitioning or other unholy things with your images).

so we can leverage this dynamic to upload any file to resemble an image, just by appending the original file at the end of a random image we are generating on the fly.

the images will be saved as a raw image file, .DNG extension, so the site won't touch it trying to re-compress the image to save files

I've tried to upload files and managed to get 3.5GB without issues

usage:

encoding:

./FakeKitten.sh yourfile.pdf encode

you will obtain a file named:

FakeKitten_143442_yourfile.pdf_3a1863591abdce897987971928512865db_random.DNG

where the file name is composed like this:

[constant]\_[image blocksize]\_[originale filename]\_[sha1sum of the original file]\_[decoy image filename]

at this point you can manually upload it on Amazon Prime Photos

encoding and encrypt your file:

use encode_enc:

./FakeKitten.sh yourfile.pdf encode_enc

this will use a symmetric password for the encryption with gpg, you will be asked for said password with a prompt

the different thing with the normal encoding is the filename, which will be:

FakeKittenENC_143442_yourfile.pdf.gpg_3a1863591abdce897987971928512865db_random.DNG

decoding:

decoding will automatically take care of differentiating between an encrypted and non-encrypted original file, if the file was encrypted you will be asked for the password

./FakeKitten.sh FakeKitten_143442_yourfile.pdf_3a1863591abdce897987971928512865db_random.DNG decode

you will obtain your original file:

yourfile.pdf

todo:

  • now uses random images
  • filename is of a raw file (.DNG) so Amazon Photos does not try to fiddle with the image
  • added encryption
  • checks for prerequisites (convert and gpg)
  • debug sha1 of encrypted image, it works but it's not the one of the original file