Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 2.14 KB

challenge.md

File metadata and controls

48 lines (31 loc) · 2.14 KB

Crane API

  • Published: 03/19/2024 (#5/6 in round)
  • Category: OSINT/Misc.
  • Points: 100
  • Author: GodderE2D

This developer tried to hide the API key from their GitHub repository, but they didn't do a very good job at covering all the bases.

Tip: The flag is the API key in csd{api_key} format.

Attachments

Hint

This hint costed 20 points.

Reveal hint

By looking at this commit, you can see that the developer tried to remove their .env file from the commit history using git filter-repo.

This is the same method recommended by GitHub. Try reading their documentation on this here. In particular, focus on what is being said in the warning alert.

Write-up

Reveal write-up
  • cf129df mentions that git filter-repo is used to remove the secret from the commit history
  • The removed text in ef00fbd tells us that a contributor worked on this project. In Github, people usually contribute by forking the project
    • So the contributor's repos should be looked at to see if there is a fork of this repo
  • After knowing that you should look at the forks, you can go to Insights tab > Forks > Switch to tree view (list view is broken for some reason) > see cranetributor16/crane-api as a repo

Flag: csd{M11174rY_6r4D3_H1570rY}

Write-up by GodderE2D