在做ctf的题得时候总是做到文件读取的题,这里总结一下关于已知的php://filter中filter种类中的总结
php://filter/convert.base64-encode/string.rot13/resource=
等价于
php://filter/read=convert.base64-encode/string.rot13/resource=
一些常用的流过滤器
- convert.base64-encode与convert.base64-decode
- convert.quoted-printable-encode和convert.quoted-printable-decode
- string.rot13
- convert.iconv.UTF-8.UTF-7
(convert.iconv.FROM_ENCODING.TO_ENCODING) - convert.quoted-printable-encode和convert.quoted-printable-decode
- zlib.deflate/resource(压缩)和zlib.inflate(解压)