Wargame/chall.tasteless.eu

chall.tasteless.eu Level 3 Double Agent

JeonYoungSin 2018. 10. 14. 00:44

<?php 
highlight_file
('index.php'); 
/* 
view file: php.ini 
so here is my hint: the included php.ini file is part of the configugartion file used on the server the bug was found. 
so there will be something in it which enables you to solve this level, wont? 

always be UP TO DATE! 

hint enough, might just take you seconds to do?! 
*/ 
error_reporting(0); 
include(
'anti_rfi.php'); //rfi is forbidden!!!!! 

$inc = @$_GET['file']; 
@require_once(
$inc); 
?>