Introduction
This challenge is an OSINT challenge from PWNME CTF.
Context Explanation
To understand the context of the challenge, refer to the introduction challenge description.
Task
As a budding developer, find information about this undeveloped passion.
Solution
On John Droper’s Facebook profile, we can see that he has a username: jdthetraveller
.
We keep this in mind for later.
On his feed, we have information about his username. He says that he chose it on AFNIC, which is a domain name registry solution.
Trying to access https://jdthetraveller.fr/ leads to a construction blog likely owned by John Droper.
At this point, we do not have much information, so we will try to find information on the server with dirsearch.
We find a /.git
directory that contains a config
file with information about the git repository.
We can retrieve this file with wget http://jdthetraveller.fr/.git/config
.
|
|
First, there is a new nickname belonging to John Droper: droperkingjohn
. We keep it in mind for the future.
We also find a link to a git repository: https://github.com/droperkingjohn/myOwnWebsite
If we look through the commits, we find this one:
Flag: PWNME{W0w_th15_l00k_l1ke_4n_e4sY_Fl4G}
Tips & Tricks
- Use dirsearch to find hidden directories.
- In a .git directory, you can retrieve information about the Git repository using the config file.
- Use git log to view the commits in a Git repository.
- Use git show to view the contents of a commit.
- Examine the different commits and their comments to find information.