Created
September 3, 2017 20:15
-
-
Save joekir/4adf21729b513a2688eb512cf9987f74 to your computer and use it in GitHub Desktop.
Takes a plaintext input fuzzes it and generates the QR code output of that in a file called test.png
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 | |
if [ -z "$1" ]; then | |
echo please provide the input qr content file name | |
exit 1 | |
fi | |
qrencode -s 10 -d 10000 -o test.png `cat $1 | radamsa` && display test.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment