Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 2 of 2
Goto page Previous  1, 2
 
Reply with quote Download Post 
Post Re: Hacked 
 
 
Off Topic
:

Sorry for this question, but why did you choose to host this site on aruba? It is known that there are better hosting providers... "^_^

 



 
AvrilBoiSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Hacked 
 
Cause it's not so bad until they close the site
 




____________
Zubr sole verde cucchiaio
 
BicetSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Respuesta: Hacked 
 
This not a BUG is a General Support or OFF Topic.
 




____________
ThE KuKa - www.phpBB-Es.COM - Custom Installations phpBB
 
ThE KuKaSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
Bicet wrote: [View Post]
Cause it's not so bad until they close the site

Yeah, but why do you wanna risk to get the site closed one day?
 



 
AvrilBoiSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
this is a problem, a lot of users can not modify regsiter globals off

ummmm
 




____________
jack of all trades, master of none
http://www.mieloma.com/ - http://www.casimedicos.com/ - http://www.egalego.com/ - http://www.casimedicos.com.es/ - http://www.medicosmir.com/
 
casimedicosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Respuesta: Hacked 
 
Use mod_rewrite in your hosting?
 




____________
ThE KuKa - www.phpBB-Es.COM - Custom Installations phpBB
 
ThE KuKaSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
Here you can't.
In Aruba's Knowledge Base there's an article in which is explained what you can and what you can't put in your .htacces...
 




____________
Megabass
 
ganeshSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
At the moment we have found a fix for the security hole in HACKS LIST.

Since I'm not sure that it is the only problem, I'm testing an emulation of REGISTER_GLOBALS = OFF.

I'm testing this new function here... if it works, this will be added as a new patch.

The function can be found here for all that could be interested in.

http://it.php.net/manual/en/faq.mis...registerglobals

Code: [Download] [Hide] [Select]
<?php
// Emulate register_globals off
function unregister_GLOBALS()
{
   if (!
ini_get('register_globals')) {
       return;
   }

  
// Might want to change this perhaps to a nicer error
  
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
       die(
'GLOBALS overwrite attempt detected');
   }

  
// Variables that shouldn't be unset
  
$noUnset = array('GLOBALS',  '_GET',
                    
'_POST',    '_COOKIE',
                    
'_REQUEST', '_SERVER',
                    
'_ENV',    '_FILES');

  
$input = array_merge($_GET,    $_POST,
                        
$_COOKIE, $_SERVER,
                        
$_ENV,    $_FILES,
                         isset(
$_SESSION) && is_array($_SESSION) ? $_SESSION : array());
  
   foreach (
$input as $k => $v) {
       if (!
in_array($k, $noUnset) && isset($GLOBALS[$k])) {
           unset(
$GLOBALS[$k]);
       }
   }
}

unregister_GLOBALS();

?>

 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
ganesh wrote: [View Post]
Here you can't.
In Aruba's Knowledge Base there's an article in which is explained what you can and what you can't put in your .htacces...

Where is this? A link please? Can't find anything about Aruba Knowledge Base under google!
 



 
moreteavicarSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
Mighty Gorgon wrote: [View Post]
At the moment we have found a fix for the security hole in HACKS LIST.

Since I'm not sure that it is the only problem, I'm testing an emulation of REGISTER_GLOBALS = OFF.

I'm testing this new function here... if it works, this will be added as a new patch.

The function can be found here for all that could be interested in.

http://it.php.net/manual/en/faq.mis...registerglobals

Code: [Download] [Hide] [Select]
<?php
// Emulate register_globals off
function unregister_GLOBALS()
{
   if (!
ini_get('register_globals')) {
       return;
   }

  
// Might want to change this perhaps to a nicer error
  
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
       die(
'GLOBALS overwrite attempt detected');
   }

  
// Variables that shouldn't be unset
  
$noUnset = array('GLOBALS',  '_GET',
                    
'_POST',    '_COOKIE',
                    
'_REQUEST', '_SERVER',
                    
'_ENV',    '_FILES');

  
$input = array_merge($_GET,    $_POST,
                        
$_COOKIE, $_SERVER,
                        
$_ENV,    $_FILES,
                         isset(
$_SESSION) && is_array($_SESSION) ? $_SESSION : array());
  
   foreach (
$input as $k => $v) {
       if (!
in_array($k, $noUnset) && isset($GLOBALS[$k])) {
           unset(
$GLOBALS[$k]);
       }
   }
}

unregister_GLOBALS();

?>

thanks
ill test it
 




____________
jack of all trades, master of none
http://www.mieloma.com/ - http://www.casimedicos.com/ - http://www.egalego.com/ - http://www.casimedicos.com.es/ - http://www.medicosmir.com/
 
casimedicosSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
And from reading http://php.net/manual/en/security.globals.php one can clearly see where all the problems stem from. Especially useful to know for people coding their own scripts, not just those using phpBB(XS).
 



 
moreteavicarSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Hacked 
 
Anyway this script is not needed if you're running CTracker, and I've discovered that a similar script has been added to phpBB to... but can't remember in which version...

I'll check and I'll be more precise in the future.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 2 of 2
Goto page Previous  1, 2


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron