From 9669e2ae9eafbeab2d8a19bdde310d1440331f76 Mon Sep 17 00:00:00 2001 From: aradhyabundela Date: Sun, 15 Sep 2024 18:02:32 +0000 Subject: [PATCH] xyz --- SOLUTION | 2 +- mySolution.sh | 14 ++++++++++++++ secretGenerator.tar | Bin 0 -> 10240 bytes 3 files changed, 15 insertions(+), 1 deletion(-) mode change 100644 => 100755 mySolution.sh create mode 100644 secretGenerator.tar diff --git a/SOLUTION b/SOLUTION index 0e969ab..5750a32 100644 --- a/SOLUTION +++ b/SOLUTION @@ -1,3 +1,3 @@ - << Change this line. The secret must be placed in the first line +814c5723c21e7e90a3eae36c8df3c513 # Good Luck! \ No newline at end of file diff --git a/mySolution.sh b/mySolution.sh old mode 100644 new mode 100755 index e69de29..cdc827d --- a/mySolution.sh +++ b/mySolution.sh @@ -0,0 +1,14 @@ +#!/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 +mv generateSecret.sh ./secretDir +cd secretDir +touch .secret +chmod 600 .secret +chmod 777 generateSecret.sh +cd .. +./secretDir/generateSecret.sh diff --git a/secretGenerator.tar b/secretGenerator.tar new file mode 100644 index 0000000000000000000000000000000000000000..9a799ef3f18291e3db9be073d9899c4fde68a684 GIT binary patch literal 10240 zcmeHK-A>yu6z+AN;t&|!q>-jAO)n-UF$SX=P_$M;(}a+lxWpo{k?m3{?P9O7*V~iq zIBC1mR)s<THFBj=0YoS;C8{z&Xx zkO7cT3Z=4739j354oFW?X#Dy0I|a=ojov$LGXYW1fRJ$L&^fT%Pp<<3lmFM0Q%N*! z(NI$Dsd&YvnH*n`{}mil`CkpnHvd=5!hCg`8>J58r4CWC<7~pMB%x*@g@{SOXds#i z?yxTWfDPD*z*Sj{d}h*x%MYdua0h^fu>kjoumtm73m63ysE}O9_q6sxN0Tv(V;(?HgJDOW)>`O_)LMD3Z2xaOe zMn2S3givrz7+0V~il>gw$&65*=K-3WdDEdFsj(`0+@;Ke8JxQlIG4N}t(UkmjrY(M zAUT4?;SojC0QxZthaDlK8u~0r&=F9`9gP;y6Jq1Irf^GT%9KKml+!$D@1Ik%9a#=tf5kgD)m` zhA@I13qz_enV$3k1WyJFoX&J7jNdSR4Lu%FiT?2j{|#gE1d1%Z6%xN{&nzs$C2Vi! z2}S1!pPp5%oFLOvPq-)YTH%~VHPuVu<1C5Bzq}@V7MyOtchQr>RnW(KK^{sb+QyMNBE@y)*D3pT zJqVcoKdxm*re?1GIcWO-a__%trEcGU>mhtf>m2?~e>0KLP$zj^Yl~CreWLq)BA<1Y zf8_pW#1HR(6+fs|?E7zusxRY0G9tJfom681S|p;0gHe|z#?D~un1TLECLn*i-1MIB481) K2v`IbAn+Gn`BsVm literal 0 HcmV?d00001