Bionic & Meet the Team
Date: 14, March, 2021
Author: Dhilip Sanjay S
Initial Recon
Initial clue - VCS being revealed.
<!-- Vela, can we please stop sharing our version control software out on the public internet? -->
So immediately I tried to access
https://constellations.page/.git
, but it was Forbidden.
Forbidden
You don't have permission to access /.git/ on this server.
But the access to files like
/index
,/HEAD
were successful./logs/HEAD
folder:
0000000000000000000000000000000000000000 1142cc3145fdba8d9eb8f9c9e7ee79bdfda64d9a Leo Rison <[email protected]e> 1614124430 -0500 commit (initial): Added initial assets and landing page
1142cc3145fdba8d9eb8f9c9e7ee79bdfda64d9a 87b17a86409582c162e260795afdf104dc1d46b1 Leo Rison <[email protected]e> 1614124968 -0500 commit: Added the Meet The Team page
87b17a86409582c162e260795afdf104dc1d46b1 8e9e7afad5d1f7c6c3dcf322a3a94aeebc1e0073 Leo Rison <[email protected]e> 1614125173 -0500 commit: Management said I need to remove the team details so I redacted that page and added it to robots.txt
8e9e7afad5d1f7c6c3dcf322a3a94aeebc1e0073 87b17a86409582c162e260795afdf104dc1d46b1 Leo Rison <[email protected]e> 1614125488 -0500 checkout: moving from master to 87b17a
87b17a86409582c162e260795afdf104dc1d46b1 0780dea9ede681b1e4276d74740bb11056d97c39 Leo Rison <[email protected]e> 1614125881 -0500 commit: Management said I need to remove the team details so I redacted that page and added it to robots.txt
0780dea9ede681b1e4276d74740bb11056d97c39 87b17a86409582c162e260795afdf104dc1d46b1 Leo Rison <[email protected]e> 1614125918 -0500 checkout: moving from 0780dea9ede681b1e4276d74740bb11056d97c39 to 87b17a86409582c162e260795afdf104dc1d46b1
87b17a86409582c162e260795afdf104dc1d46b1 1142cc3145fdba8d9eb8f9c9e7ee79bdfda64d9a Leo Rison <[email protected]e> 1614125954 -0500 checkout: moving from 87b17a86409582c162e260795afdf104dc1d46b1 to 1142cc
1142cc3145fdba8d9eb8f9c9e7ee79bdfda64d9a 4c88ac1c56fe228267cf415c3ef87d7c3b8abd60 Leo Rison <[email protected]e> 1614125972 -0500 commit: Added the Meet The Team page
4c88ac1c56fe228267cf415c3ef87d7c3b8abd60 e7d4663ac6b436f95684c8bfc428cef0d7731455 Leo Rison <[email protected]e> 1614126014 -0500 commit: Management said I need to remove the team details so I redacted that page and added it to robots.txt
Searching for Tools
Looking for the appropriate git commit
By running
git log --patch
inside the git folder, we find two flags:One flag in meet-the-team.html: flag{4063962f3a52f923ddb4411c139dd24c}
<!-- Projects Section --> <section id="projects" class="projects-section bg-light"> <div class="container"> <ul> <li><h4><b>Orion Morra</b> — Support</h4></li> <li><h4><b>Lyra Patte</b> — Marketing</h4></li> <li><h4><b>Leo Rison</b> — Development</h4></li> <li><h4><b>Gemini Coley</b> — Operations</h4></li> <li><h4><b>Hercules Scoxland</b> — Sales</h4></li> <li><h4><b>Vela Leray</b> — Management</h4></li> <li><h4><b>Pavo Welly</b> — HR</h4></li> <li><h4><b>Gus Rodry</b> — Accounting</h4></li> <!-- <li><h4><b>flag{4063962f3a52f923ddb4411c139dd24c}</b></h4></li> --> </ul> </div> </section>
Another flag in robots.txt: flag{33b5240485dda77430d3de22996297a1}
+User-agent: * +Disallow: /meet-the-team.html + +flag{33b5240485dda77430d3de22996297a1}
References
Useful git commands:
git log --patch
git log | grep commit | cut -d " " -f2 | xargs git show
Last updated