Jump to content

com aumentar la seguridad


panchompc

Recommended Posts

lo que hacen es agregar un index en cada carpeta del foro, por ejemplo este es un index.php del foro smf que evita el hack:

 

<?php

 

// This file is here solely to protect your Packages directory.

 

// Look for Settings.php....

if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))

{

// Found it!

require(dirname(dirname(__FILE__)) . '/Settings.php');

header('Location: ' . $boardurl);

}

// Can't find it... just forget it.

else

exit;

 

?>

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...