Tags: python pwn
Rating: 5.0
using
```
globals().item()
```
we have things we need.
![](http://raw.githubusercontent.com/nghiadt1098/ctfs-wu/master/ISDTUCTF/1.png)
After that. We can see the ` __file__` is the path to the source file.
Now just read that file.
```
open(__file__).read()
```
![](http://raw.githubusercontent.com/nghiadt1098/ctfs-wu/master/ISDTUCTF/2.png)
The rest are easy.
Just xor the secret with the key.
```
secret = "392a3d3c2b3a22125d58595733031c0c070a043a071a37081d300b1d1f0b09"
secret = secret.decode("hex")
key = "pythonwillhelpyouopenthedoor"
```
` FLAG: ISITDTU{1412_secret_in_my_door}`