1 sayfadan 1. sayfa

plus 1.5x güvenlik yamaları

İletiTarih: 31.05.2006, 10:58
showtime_0
pafile için açıklar:



:file: pafiledb/includes/pafiledb_constants.php

Bul

[syntax="php"]
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
[/syntax]

Sonrasına Ekle

[syntax="php"]
if ( !defined('IN_PHPBB') )
{
die ("Hacking attempt!");
}
[/syntax]

Kaydet - Kapat

Nivesec Hackslist / Yakusha Modlist için açıklar


:file: admin/admin_hacks_list.php

Bul

[syntax="php"]
$phpbb_root_path = '../';
if( !empty($setmodules) )
{
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_admin_hacks_list.' . $phpEx);
$filename = basename(__FILE__);
$module['General']['Hacks_List'] = $filename;

return;
}

include($phpbb_root_path . 'extension.inc');
(file_exists('pagestart.' . $phpEx)) ? include('pagestart.' . $phpEx) : include('pagestart.inc');
[/syntax]

Değiştir

[syntax="php"]
if( !empty($setmodules) )
{
$filename = basename(__FILE__);
$module['General']['Hacks_List'] = $filename;

return;
}

$phpbb_root_path = './../';
require($phpbb_root_path . 'extension.inc');
require('./pagestart.' . $phpEx);
[/syntax]

Kaydet - Kapat


Kaynak: http://www.phpbb2.de/ftopic39022.html

İletiTarih: 31.05.2006, 13:08
sabri ünal
aynı uyarıyı benim nivesec - hackslist uyarlamam için de yapmak lazım... yani mod sayısı üç oldu...

İletiTarih: 31.05.2006, 14:47
ALEXIS
bu aynı zamanda plus 1.5x içinde bir güvenlik yamasıymış

pafile MX in kodlamalarına dikkat:

Kod: Tümünü seç
/* - orig
if ( !defined('IN_PHPBB') )
{
   die("Hacking attempt");
}
*/
// MX
if ( !defined( 'IN_PORTAL' ) )
{
   die( "Hacking attempt" );
}