Created
June 19, 2018 12:01
-
-
Save kaspergrubbe/ee7eaab700c3bc405c6f82cfe96234d9 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
while true; do | |
FILENAME=$(date +%s) | |
openssl rand -out $(echo $FILENAME).bin -base64 $(( 2**30 * 3/4 )) | |
curl -T $(echo $FILENAME).bin ftp://ftp.example.com --user user:password | |
rm $(echo $FILENAME).bin | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment