This repository was archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
CLI client
Winni Neessen edited this page Feb 24, 2020
·
1 revision
fastcry.pt ships with a little CLI client script, that can be used to send files directly from your UNIX shell. The script can be found in the client/ directory and is called fastcrypt.pl.
As Mojolicious ships with an awesome User Agent suite, you have to have Mojo::UserAgent installed to use the client.
The usage of the client is fairly simple. There are 3 parameters:
-
defines which file should be uploaded. This option is mandatory.
-f <filename> -
enables debug output to STDERR. Can be handy when troubleshooting.
-d -
shows a brief "Usage" message
-h
The output is similar to the webinterface response. After a successful upload, you will be presented with the decryption URL, the Password and a combination of decyption URL and Password in a single URL.
Upload image.png to fastcry.pt:
#!bash
$ cd client && ./fastcrypt.pl -f ~/image.png
Decryption URL: https://fastcry.pt/d/ea429f56-04bc-11e7-ba93-50465d9ff6a0
Decryption Password: CWC49GaSeuaMthz
Decryption URL/PW: https://fastcry.pt/d/ea429f56-04bc-11e7-ba93-50465d9ff6a0?fastcrypt_pass=CWC49GaSeuaMthz
fastcrypt.pl does not support self-supplied passwords (yet).