Tags: web misc 

Rating:

# ▼▼▼IRC(Web:50)、119/484=24.6%▼▼▼
**This writeup is written by [@kazkiti_ctf](https://twitter.com/kazkiti_ctf)**

---

```
The bott on #tpctf-chal has a flag, but has only a 3% chance of giving it out. The other 97% of the time, it gives out flegs. Flegs look like flags. Don't get fooled by flegs. You can get flagbotbot talking by waiting 30 seconds.

Author: Clarence Lam

Hint
There isn't a good way to solve this other than staring at the chat box for a while. If you don't want to do that, get someone else to do it. Or something else, for that matter.
```

-----

IRCに接続してれば、`flagbotbot`が3%の確率で正しいflagを発言するらしい。

※ずっと待つ方法以外の解法もあるとの記載があるが、とりあえず他の問題にとりかかっている間に流しておくことにした。


```
・・・
the flag is TPCTF{|1I!!II1111l} that's a fleg btw
the flag is TPCTF{1lI|1Il|1I1l} that's a flag btw
・・・
```

ずっと`fleg`と記載されていたが、`flag`というものが発言された。

`TPCTF{1lI|1Il|1I1l}`