| CTF | Infobahn CTF 2025 (CTFtime) |
| Author | rewhile |
| Category | misc |
| Solves | 2 |
| Files | gitset.zip |
Use git-init /tmp/... to initialize a git repo
You can create pre-receive hooks using git-apply --unsafe-paths since it will allows writing files inside .git
Finally trigger rce using a valid git-receive-pack payload
Refer to solve.py for the implementation.