* Fix Parser::unstrip on PHP 5.1.0RC4
[lhc/web/wiklou.git] / profileinfo.php
index f81462c..2f54fea 100644 (file)
 $wgDBadminuser = $wgDBadminpassword = $wgDBserver = $wgDBname = $wgEnableProfileInfo = false;
 
 define("MEDIAWIKI", 1);
+if ( isset( $_REQUEST['GLOBALS'] ) ) {
+       print $GLOBALS;
+       die( '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>');
+}
 
 require_once("./includes/Defines.php");
 require_once("./LocalSettings.php");
@@ -242,4 +246,4 @@ mysql_close($dbh);
 
 ?>
 </body>
-</html:
+</html>