Hi
Frage: Wie kann folgender Code denn zur Sicherheitslücke werden ?
Frage: Wie kann folgender Code denn zur Sicherheitslücke werden ?
Open viewtopic.php in any text editor. Find the following section of code:
Code:
and replace with:
Code:
Code:
PHP-Code:
//
// Was a highlight request part of the URI?
//
$highlight_match = $highlight = '';
if (isset($HTTP_GET_VARS['highlight']))
{
// Split words and phrases
$words = explode(' ', trim(htmlspecialchars(urldecode($HTTP_GET_VARS['highlight']))));
for($i = 0; $i < sizeof($words); $i++)
{
Code:
PHP-Code:
//
// Was a highlight request part of the URI?
//
$highlight_match = $highlight = '';
if (isset($HTTP_GET_VARS['highlight']))
{
// Split words and phrases
$words = explode(' ', trim(htmlspecialchars($HTTP_GET_VARS['highlight'])));
for($i = 0; $i < sizeof($words); $i++)
{
Kommentar