Challenge Description
A Junior Developer just switched to a new source control platform. Can you find the secret token?
SOLUTION
Download the zip file provide by the challenge. The Password for the zip file would be hackthebox
.
First of all unzip the files from zip file using the command unzip Illumination.zip
Then cd
into Illumination.JS
directory as cd Illumination.JS
and list the files in the directory as ls -la
Here, it can be seen that the directory contain .git
folder, which seems that it is a git repository.
Then using the command git log
, we can view the commit details.
Using git show 335d6cfe3cdc25b89cae81c50ffb957b86bf5a4a
we can view the, log message and textual diff of that commit.
Here we can see the token
is shown at the end of the file.
Let us decode the base64
encoding of the token
value.
This is how, I solved this challenge.
Thankyou, for reading my writeup :)
Hope, I would see you in my next writeup.
Support Me if you want to.