From 2d57577a4e53d60343752beac3a4dc3573a8ac3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?SURAJ=F0=9F=8C=9E?= Date: Thu, 19 Sep 2024 14:54:09 +0530 Subject: [PATCH] Suraj Singh (500107752) --- SOLUTION | 4 +--- mySolution.sh | 13 +++++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/SOLUTION b/SOLUTION index 0e969ab..1281400 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 \ No newline at end of file diff --git a/mySolution.sh b/mySolution.sh index e69de29..6e6419d 100644 --- a/mySolution.sh +++ b/mySolution.sh @@ -0,0 +1,13 @@ +#!/bin/bash +wget https://exit-zero-academy.github.io/DevOpsTheHardWayAssets/linux_project/secretGenerator.tar.gz +gunzip secretGenerator.tar.gz +tar -xvf secretGenerator.tar +cd src +rm -rf maliciousFiles +mkdir secretDir +cd secretDir +touch .secret +chmod 600 .secret +cd .. +chmod +x generateSecret.sh +./generateSecret.sh \ No newline at end of file