Created
November 26, 2021 11:29
-
-
Save yfe404/0cefc1c22be44df7d9d0b21df7656be3 to your computer and use it in GitHub Desktop.
Send encrypted files anonymously using pastebin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre-conditions | |
-------------- | |
- The following packages must be installed on both ends: gpg, xxd. | |
- Sender and Receiver must know the password to encrypt/decrypt the data. | |
Sender | |
------ | |
$ gpg --symmetric $FILE_TO_SEND | |
$ xxd $FILE_TO_SEND.gpg > dump | |
$ cat dump | xclip | |
# post content of clipboard on pastebin using tor/vpn (automatic way of doing so will be added later) | |
Receiver | |
-------- | |
$ wget $URL_ON_PASTEBIN -O out | |
$ xxd -r out > data.gpg | |
$ gpg --decrypt data.gpg > data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment