Tags: misc magit git 

Rating: 3.8

There is a flag in [magit's wip mode](https://magit.vc/manual/magit/Wip-Modes.html)

Below are added code into [gitdumper.sh](https://github.com/internetwache/GitTools/blob/master/Dumper/gitdumper.sh)

```
QUEUE+=('/refs/wip/index/refs/heads/master')
QUEUE+=('/refs/wip/wtree/refs/heads/master')
```

`./gitdumper.sh http://dangit.pwni.ng/.git/ ./plaidctf_git`

There is the flag.

`./extractor.sh ./plaidctf_git/ ./output`

```
File: 10-6f209fdc52c0ec6feedff16024d5b85ef96cb38c/log
PCTF{looks_like_you_found_out_about_the_wip_ref_which_magit_in_emacs_uses}
```

Flag: PCTF{looks_like_you_found_out_about_the_wip_ref_which_magit_in_emacs_uses}