<?php
include("flag.php");
highlight_file(__FILE__);
if(isset($_GET['num']))
{
$num = $_GET['num']; if($num==20211001)
{
die("no no no!");
}
if(preg_match("/[a-z]/i", $num))
{
die("no no no!");
}
if(intval($num,0)==20211001)
{
echo $flag;
}
else
{
echo intval($num,0);
}
}
?>
使用八进制绕过正则匹配
20211001 => 115062471
?num=0115062471
打赏我,让我更有动力~
© 2016 - 2024 掌控者 All Rights Reserved.