Skip to content

xob0t/gp-file-hide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Why?

Google Photos allows only media uploads. You'd find this useful if you want to:

  • Store not supported files
  • Hide your media from Google, this way you can even store it encrypted

hide_as_media.py

This script generates a media (with random color!), then appends your file's bytes to it.
The original file's filename is also saved within, so you can rename the output if you need to.
The output file structure is:

  1. Media
  2. Separator string
  3. Filename length
  4. Filename
  5. Target file

Important!

If you upload such file in "Storage saver" quality, any info that was appended to it by this script will be stripped and lost! Same will happen if you convert it later by changing the global storage quiality.

undo.py

Restores the file as it was before running hide_as_media.py.
Done by searching for the separator, and exctracting info if it was found.

About

Disguise any file as media to upload it to Google Photos

Topics

Resources

Stars

Watchers

Forks

Languages