Marial's Notes
  • Hello!
  • Pentesterlab Labs
    • Recon Badge
      • recon_00 (/robots.txt)
      • recon_01 (404 pages)
      • recon_02 (/.well-known/security.txt)
      • recon_03 (directory listing)
      • recon_04 (/admin)
      • recon_05 (wfuzz)
      • recon_06 (vhost)
      • recon_07 (vhost over TLS)
      • recon_08 (alt name)
      • recon_09 (header)
      • recon_10 (visual recon)
      • recon_11 (virtual host brute)
      • recon_12 (load balance)
      • recon_13 (TXT)
      • recon_14 (zone transfer)
      • recon_15 (int zone transfer)
      • recon_16 (bind version)
      • recon_17 (dev name)
      • recon_18 (public repos)
      • recon_19 (find email)
      • recon_20 (check branches 1)
      • recon_21 (check branches 2)
      • recon_22 (deleted file)
      • recon_23 (commit message)
      • recon_24 (assets)
      • recon_25 (S3)
      • recon_26 (JS)
  • TryHackMe Rooms
    • Basic Pentesting
    • EasyPeasy
    • Kenobi
    • Vulnversity
Powered by GitBook
On this page
  • OBJECTIVE
  • WHY?
  • SOLUTION

Was this helpful?

  1. Pentesterlab Labs
  2. Recon Badge

recon_22 (deleted file)

Previousrecon_21 (check branches 2)Nextrecon_23 (commit message)

Last updated 7 months ago

Was this helpful?

View the exercise here:

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.

PentesterLab: Recon 22