What is this?

Started by ROGUE-Master, May 03, 2004, 07:49:03 PM

Previous topic - Next topic

ROGUE-Master

// Check on any hacking attempts.
if (isset($_GET['ssi_theme']) && (int) $_GET['ssi_theme'] == (int) $ssi_theme)
   die('Hacking attempt...');
elseif (isset($_COOKIE['ssi_theme']) && (int) $_COOKIE['ssi_theme'] == (int) $ssi_theme)
   die('Hacking attempt...');
if (isset($_REQUEST['ssi_layers']))
{
   if ((get_magic_quotes_gpc() ? addslashes($_REQUEST['ssi_layers']) : $_REQUEST['ssi_layers']) == htmlspecialchars($ssi_layers))
      die('Hacking attempt...');
}


What exactly does this do??? Kills a hacking attempt...??? How?

[Unknown]

It protects against using register_globals to set SSI settings.

-[Unknown]

Advertisement: