dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor changes that raise a tidy warning
[lhc/web/wiklou.git]
/
trackback.php
diff --git
a/trackback.php
b/trackback.php
index
a2c9d8d
..
f00f040
100644
(file)
--- a/
trackback.php
+++ b/
trackback.php
@@
-7,6
+7,11
@@
unset($IP);
define('MEDIAWIKI', true);
unset($IP);
define('MEDIAWIKI', true);
+if ( isset( $_REQUEST['GLOBALS'] ) ) {
+ echo '<a href="http://www.hardened-php.net/index.76.html">$GLOBALS overwrite vulnerability</a>';
+ die( -1 );
+}
+
require_once('./includes/Defines.php');
if (!file_exists('LocalSettings.php'))
require_once('./includes/Defines.php');
if (!file_exists('LocalSettings.php'))
@@
-73,3
+78,4
@@
$dbw->insert('trackbacks', array(
XMLsuccess();
exit;
XMLsuccess();
exit;
+?>