Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [hle4s@pwnlab CWD:chall]$ git log
- commit c0bf20c191a250522fc742093ff920243346f578 (HEAD -> main)
- Author: AlpacaHack <[email protected]>
- Date: Sat Jan 10 01:45:04 2026 +0900
- initial commit
- [hle4s@pwnlab CWD:chall]$
- // Searching clues for flag
- [hle4s@pwnlab CWD:chall]$ rg flag -uuu
- .git/hooks/fsmonitor-watchman.sample
- 140: # return the fast "everything is dirty" flag to git and do the
- .git/COMMIT_EDITMSG
- 1:add flag
- .git/logs/HEAD
- 2:c0bf20c191a250522fc742093ff920243346f578 75a6ad9f0abe942df11f90b58f175d553c23c101 AlpacaHack <[email protected]> 1767977104 +0900 commit: add flag
- .git/logs/refs/heads/main
- 2:c0bf20c191a250522fc742093ff920243346f578 75a6ad9f0abe942df11f90b58f175d553c23c101 AlpacaHack <[email protected]> 1767977104 +0900 commit: add flag
- // I found hash for the commit, 'add flag' and just checkout to it.
- [hle4s@pwnlab CWD:chall]$ git checkout 75a6ad9f0abe942df11f90b58f175d553c23c101
- Note: switching to '75a6ad9f0abe942df11f90b58f175d553c23c101'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by switching back to a branch.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -c with the switch command. Example:
- git switch -c <new-branch-name>
- Or undo this operation with:
- git switch -
- Turn off this advice by setting config variable advice.detachedHead to false
- HEAD is now at 75a6ad9 add flag
- [hle4s@pwnlab CWD:chall]$ git log
- commit 75a6ad9f0abe942df11f90b58f175d553c23c101 (HEAD)
- Author: AlpacaHack <[email protected]>
- Date: Sat Jan 10 01:45:04 2026 +0900
- add flag
- commit c0bf20c191a250522fc742093ff920243346f578 (main)
- Author: AlpacaHack <[email protected]>
- Date: Sat Jan 10 01:45:04 2026 +0900
- initial commit
- [hle4s@pwnlab CWD:chall]$ ll
- total 4
- -rw-r--r-- 1 hle4s hle4s 36 Jan 28 11:52 flag.txt
- [hle4s@pwnlab CWD:chall]$ cat flag.txt
- Alpaca{--prune=now_1s_4ll_y0u_n33d}
Advertisement