otp.sh update

This commit is contained in:
tangobravo14
2023-05-18 14:01:07 +03:00
parent 6cfe3ff853
commit 33cc11b677
+2 -3
View File
@@ -14,7 +14,7 @@ pagecount=10
otpath='./otp.txt' otpath='./otp.txt'
bookserial=`sudo base64 /dev/hwrng | tr -dc '0-9'| head -c 5` bookserial=`sudo base64 /dev/random | tr -dc '0-9'| head -c 5`
@@ -38,8 +38,7 @@ do
do do
randnum=`sudo base64 /dev/hwrng | tr -dc '0-9'| head -c randnum=`sudo base64 /dev/random | tr -dc '0-9'| head -c $blocksize`
$blocksize`
echo -n $randnum >> $otpath; echo -n $randnum >> $otpath;