Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tkhduracell/79b663c6465924448d5fe3854be175d8 to your computer and use it in GitHub Desktop.
Save tkhduracell/79b663c6465924448d5fe3854be175d8 to your computer and use it in GitHub Desktop.
Somewhat secure file sharing
# encrypt
gpg -ac -o- backup.tar > backup.enc.tar
# upload
curl -F'[email protected]' -F 'secret=' -H 'User-Agent: curl/7.54.1' https://0x0.st
# download and decrypt
curl https://0x0.st/...enc.tar | gpg -d -o decrypted.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment