mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-23 22:39:24 +02:00
removed "cat -" pipe, it works fine as is
This commit is contained in:
parent
83194c4083
commit
0412550d45
|
@ -26,7 +26,7 @@ mkdir -p -m 700 access_granted
|
||||||
generator_session=$(zcat -f $system_dict | shuf -n 2 | tr -d "\n'")
|
generator_session=$(zcat -f $system_dict | shuf -n 2 | tr -d "\n'")
|
||||||
randpadding=$(head -c 8 /dev/urandom | base64)
|
randpadding=$(head -c 8 /dev/urandom | base64)
|
||||||
printf "$randpadding\t$generator_session\n"
|
printf "$randpadding\t$generator_session\n"
|
||||||
cat - |
|
|
||||||
while read -r cmd mesg; do
|
while read -r cmd mesg; do
|
||||||
if [ "$cmd" = "reg" ]; then
|
if [ "$cmd" = "reg" ]; then
|
||||||
key=$(echo "$mesg" | cut -d' ' -f 2)
|
key=$(echo "$mesg" | cut -d' ' -f 2)
|
||||||
|
|
Loading…
Reference in New Issue