Created
July 31, 2016 17:31
-
-
Save Peetz0r/2386c21899c83fa552478cafa577d3be 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 | |
SECRET='XXXXXXXXXXXXXXXX' | |
( | |
echo 100; | |
while true; do | |
echo -e '#Token: '$(oathtool --totp -b $SECRET)'\n'$(echo '3.3*('$(date +%s.%N)'%30)' | bc); | |
sleep .1; | |
done; | |
) | zenity --progress --auto-kill --title='Token' --no-cancel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment