Home Illumination [FORENSICS][EASY] Writeup
Post
Cancel

Illumination [FORENSICS][EASY] Writeup

HTB Img

Challenge Description

Challenge Details

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

Unzip_Files

Then cd into Illumination.JS directory as cd Illumination.JS and list the files in the directory as ls -la

list_files

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.

repo_log

Using git show 335d6cfe3cdc25b89cae81c50ffb957b86bf5a4a we can view the, log message and textual diff of that commit.

repo_log

Here we can see the token is shown at the end of the file.
token

Let us decode the base64 encoding of the token value.

flag


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.

This post is licensed under CC BY 4.0 by the author.