Hello, RaGEZONE.
Any people here know why all the hotels in norway gets hacked?
both hotels using revCMS (with fixed forgot exploit), and still gets hacked.
:grr:
The one hotel uses phoenix, and the other uses Mercury EMU with fixed exploits.
Printable View
Hello, RaGEZONE.
Any people here know why all the hotels in norway gets hacked?
both hotels using revCMS (with fixed forgot exploit), and still gets hacked.
:grr:
The one hotel uses phoenix, and the other uses Mercury EMU with fixed exploits.
No but who cares?
Hm? XDXD
This is because the HTTP headers. ($_SERVER['HTTP_CF_CONNECTING_IP']) etc.
Use this:
Replace REMOTE_ADDR to HTTP_CF_CONNECTING_IP if you're using CloudFlare. And use the function getRealIpAddress() and not $_SERVER['blabla']. Goodluck =)Quote:
public function getRealIpAddress() {
if (!filter_var($_SERVER['REMOTE_ADDR'], FILTER_VALIDATE_IP)) {
return false;
}
return mysql_real_escape_string($_SERVER['REMOTE_ADDR']);
}
Thanks.