Bandit Level 28 β Level 29

We will clone the repo the same way we did previously:
git clone ssh://bandit28-git@localhost:2220/home/bandit28-git/repo
<Password>

ls
ls -la repo/
cat repo/README.md

As shown that the password is hidden, lets check if there are some logs and commits for that README.md file:
Git commit is a snapshot of changes in a repository, serving as a checkpoint with a unique identifier.
To show the commits, but before that we need to change our directory to the directory where the .git exists:
cd repo
git log
displays a history of commits in the repository.git show
displays detailed information about a specific commit, including changes and metadata.
git log

We have three commits, We can check each one:
git show 817e303aa6c2b207ea043c7bba1bb7575dc4ea73

The password has been removed, but that's it.
Last updated