Files
LFIboomCTF/input1/index.php
2017-02-20 20:53:20 +08:00

15 lines
283 B
PHP

<html>
<title>asdf</title>
<?php
$flag='php://input';
extract($_GET);
if(isset($shiyan)){
$content=trim(file_get_contents($flag));
if($shiyan==$content){
echo'flag{php://input}'; }
else{
echo'Oh.no';}
}
?>
</html>