From 5f7fe2ac9627c37f2f4f3f659f8ae75e6d0b6b03 Mon Sep 17 00:00:00 2001 From: ekardnam Date: Thu, 21 Feb 2019 11:45:47 +0000 Subject: [PATCH] fixed, need thinking as commands can be injected in eval --- megafono_bot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/megafono_bot.sh b/megafono_bot.sh index 2cda15e..988e04b 100755 --- a/megafono_bot.sh +++ b/megafono_bot.sh @@ -20,7 +20,7 @@ do # after the while loop while read line do - ./toot.sh $line + eval ./toot.sh $line sleep ${SLEEP_INTERVAL} done < ${DATA_FILE}