Files
LFIboomCTF/input1/index.php.bak

14 lines
265 B
PHP
Raw Normal View History

2016-10-30 22:31:44 +08:00
<html>
<title>asdf</title>
<?php
$flag='xxx';
extract($_GET);
if(isset($shiyan)){
$content=trim(file_get_contents($flag));
if($shiyan==$content){
echo'ctf{xxx}'; }
else{
echo'Oh.no';}
}
?>
</html>