Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

gitset

CTF Infobahn CTF 2025 (CTFtime)
Author rewhile
Category misc
Solves 2
Files gitset.zip

Solution

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.