recon_22 (deleted file)

View the exercise here: PentesterLab: Recon 22

OBJECTIVE

For this challenge, your goal is to find a file that has been deleted in repo9.

WHY?

Often, when committing secrets by mistake, developers just remove the file and commit again. Leaving the information available for anyone willing to search for it.

SOLUTION

Open repo9

To copy repo9 on our machine:

git clone https://guthub.com/hackycorp/repo9
cd repo9
ls
tig
  • Tig is a text-mode interface for Git, allowing you to view and navigate Git repositories in a terminal. It provides a user-friendly way to browse commits, view diffs, and interact with your Git history, making it easier to manage your source code directly from the command line.

Press Enter to see the details of the file. Press Up/Down arrow keys or scroll to check each file to see the flag.

Last updated