From 6dd96998d7d558c542a7e9d2d892fc9baf992ff2 Mon Sep 17 00:00:00 2001 From: Chanchreek Date: Mon, 16 Sep 2024 09:50:06 +0530 Subject: [PATCH] Update SOLUTION and mySolution.sh --- SOLUTION | 4 +--- mySolution.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/SOLUTION b/SOLUTION index 0e969ab..b52900a 100644 --- a/SOLUTION +++ b/SOLUTION @@ -1,3 +1 @@ - << Change this line. The secret must be placed in the first line - -# Good Luck! \ No newline at end of file +814c5723c21e7e90a3eae36c8df3c513 diff --git a/mySolution.sh b/mySolution.sh index e69de29..3224c23 100644 --- a/mySolution.sh +++ b/mySolution.sh @@ -0,0 +1,12 @@ +#! bin/bash + +cd src/ || exit +mkdir secretDir +rm -rf maliciousFiles +cd secretDir || exit +touch .secret +chmod 600 .secret +cd ../ +/bin/bash generateSecret.sh + +