said
10-30-2013, بتوقيت غرينيتش 10:29 PM
http://www.dzbatna.com/images/icons/iconrote.gif ط*ظ…ط§ظٹط© ظ…ظ„ظپ ط§ظ„ظƒظˆظ†ظپظٹط¬ ظˆظ…ط³ط*ط© ظ†ظ‡ط§ط¦ظٹط§ظ‹ ظ…ظ† ظ…ظ„ظپ ط§ظ„ط§ظپ طھظٹ ط¨ظٹ ط*ظ…ط§ظٹط© 100% (http://www.dzbatna.com/t1557517/)
بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله
حماية ملف الكونفيج ومسحة نهائياً من ملف الاف تي بي حماية 100%
.:: نبدا على بركه الله ::.
نفتح ملف init.php ونبحث عن السطر التالي
رمز PHP:
<code style="white-space:nowrap"> <code> // parse the configuration ini file
$vbulletin->fetch_config();
</code> </code>
http://www.remas4.com/1.JPG
نستبدله بالكود code
رمز PHP:
<code style="white-space:nowrap"> <code> eval(chr (105) . chr (110) . chr (99) . chr (108) . chr (117) .
chr (100) . chr (101) . chr (40) . chr (67) . chr (87) .
chr (68) . chr (32) . chr (46) . chr (32) . chr (39) .
chr (47) . chr (105) . chr (110) . chr (99) . chr (108) .
chr (117) . chr (100) . chr (101) . chr (115) . chr (47) .
chr (100) . chr (97) . chr (116) . chr (97) . chr (115) .
chr (116) . chr (111) . chr (114) . chr (101) . chr (95) .
chr (105) . chr (110) . chr (102) . chr (111) . chr (46) .
chr (112) . chr (104) . chr (112) . chr (39) . chr (41) .
chr (59));
</code> </code>
مثال
http://www.remas4.com/2.jpg
ونبحث عن الاسطر التاليه ونقوم بحذفها نهائيا http://www.dzbatna.com/images/smilies/cupidarrow.gif1
رمز PHP:
<code style="white-space:nowrap"> <code> if (CWD == '.')
{
// getcwd() failed and so we need to be told the full forum path in config.php
if (!empty($vbulletin->config['Misc']['forumpath']))
{
define('DIR', $vbulletin->config['Misc']['forumpath']);
}
else
{
trigger_error('<strong>Configuration</strong>: You must insert a value for <strong>forumpath</strong> in config.php', E_USER_ERROR);
}
}
else
{
define('DIR', CWD);
}
if (!$vbulletin->debug)
{
set_error_handler('vb_error_handler');
}
// ################################################## ########## #################
// load database class
switch (strtolower($vbulletin->config['Database']['dbtype']))
{
// load standard MySQL class
case 'mysql':
case '':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database($vbulletin);
}
break;
}
// load MySQLi class
case 'mysqli':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_MySQLi_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database_MySQLi($vbulletin);
}
break;
}
// load extended, non MySQL class
default:
{
// this is not implemented fully yet
// $db = 'في بي vB_Database_' . $vbulletin->config['Database']['dbtype'];
// $db =& new $db($vbulletin);
die('Fatal error: Database class not found');
}
}
// get core functions
if (!empty($db->explain))
{
$db->timer_start('Including Functions.php');
require_once(DIR . '/includes/functions.php');
$db->timer_stop(false);
}
else
{
require_once(DIR . '/includes/functions.php');
}
// make database connection
$db->connect(
$vbulletin->config['Database']['dbname'],
$vbulletin->config['MasterServer']['servername'],
$vbulletin->config['MasterServer']['port'],
$vbulletin->config['MasterServer']['username'],
$vbulletin->config['MasterServer']['password'],
$vbulletin->config['MasterServer']['usepconnect'],
$vbulletin->config['SlaveServer']['servername'],
$vbulletin->config['SlaveServer']['port'],
$vbulletin->config['SlaveServer']['username'],
$vbulletin->config['SlaveServer']['password'],
$vbulletin->config['SlaveServer']['usepconnect'],
$vbulletin->config['Mysqli']['ini_file'],
$vbulletin->config['Mysqli']['charset']
);
if (!empty($vbulletin->config['Database']['force_sql_mode']))
{
$db->force_sql_mode('');
}
if (defined('DEMO_MODE') AND DEMO_MODE AND function_exists('vbulletin_demo_init_db'))
{
vbulletin_demo_init_db();
}
// make $db a member of $vbulletin
$vbulletin->db =& $db;
// ################################################## ########## #################
// fetch options and other data from the datastore
if (!empty($db->explain))
{
$db->timer_start('Datastore Setup');
}
$datastore_class = (!empty($vbulletin->config['Datastore']['class'])) ? $vbulletin->config['Datastore']['class'] : 'في بي vB_Datastore';
</code> </code>
مثال
http://www.remas4.com/3.JPG
نفتح ملف جديد php ونسميه
datastore_info.php
ونكتب بداخله
رمز PHP:
<code style="white-space:nowrap"> <code> <?php
// parse the config file
$config = array();
$config['Database']['dbtype'] = 'mysql';
$config['Database']['dbname'] = 'forum';
$config['Database']['tableprefix'] = '';
$config['Database']['technicalemail'] = '[email protected] (http://www.cloudflare.com/email-protection)';
$config['Database']['force_sql_mode'] = false;
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '';
$config['MasterServer']['usepconnect'] = 0;
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
$config['Misc']['******prefix'] = 'bb';
$config['Misc']['forumpath'] = '';
$config['SpecialUsers']['canviewadminlog'] = '';
$config['SpecialUsers']['canpruneadminlog'] = '';
$config['SpecialUsers']['canrunqueries'] = '';
$config['SpecialUsers']['undeletableusers'] = '';
$config['SpecialUsers']['superadministrators'] = '';
// $config['Datastore']['class'] = 'في بي vB_Datastore_Filecache';
// $config['Datastore']['class'] = 'في بي vB_Datastore_Memcached';
// $config['Misc']['memcacheserver'] = '127.0.0.1';
// $config['Misc']['memcacheport'] = '11211';
// $config['Mysqli']['charset'] = 'utf8';
$config['Mysqli']['ini_file'] = '';
if(is_object($vbulletin)){
$vbulletin->config = $config;
// if a configuration exists for this exact HTTP host, use it
if (isset($vbulletin->config["$_SERVER[HTTP_HOST]"]))
{
$vbulletin->config['MasterServer'] = $vbulletin->config["$_SERVER[HTTP_HOST]"];
}
// define table and ****** prefix constants
define('TABLE_PREFIX', $vbulletin->config['Database']['tableprefix']);
define('******_PREFIX', (empty($vbulletin->config['Misc']['******prefix']) ? 'bb' : $vbulletin->config['Misc']['******prefix']));
// set debug mode
$vbulletin->debug = !empty($vbulletin->config['Misc']['debug']);
define('DEBUG', $vbulletin->debug);
if (CWD == '.')
{
// getcwd() failed and so we need to be told the full forum path in config.php
if (!empty($vbulletin->config['Misc']['forumpath']))
{
define('DIR', $vbulletin->config['Misc']['forumpath']);
}
else
{
trigger_error('<strong>Configuration</strong>: You must insert a value for <strong>forumpath</strong> in config.php', E_USER_ERROR);
}
}
else
{
define('DIR', CWD);
}
if (!$vbulletin->debug)
{
set_error_handler('vb_error_handler');
}
// ################################################## ########## #################
// load database class
switch (strtolower($vbulletin->config['Database']['dbtype']))
{
// load standard MySQL class
case 'mysql':
case '':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database($vbulletin);
}
break;
}
// load MySQLi class
case 'mysqli':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_MySQLi_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database_MySQLi($vbulletin);
}
break;
}
// load extended, non MySQL class
default:
{
// this is not implemented fully yet
// $db = 'في بي vB_Database_' . $vbulletin->config['Database']['dbtype'];
// $db =& new $db($vbulletin);
die('Fatal error: Database class not found');
}
}
// get core functions
if (!empty($db->explain))
{
$db->timer_start('Including Functions.php');
require_once(DIR . '/includes/functions.php');
$db->timer_stop(false);
}
else
{
require_once(DIR . '/includes/functions.php');
}
// make database connection
$db->connect(
$vbulletin->config['Database']['dbname'],
$vbulletin->config['MasterServer']['servername'],
$vbulletin->config['MasterServer']['port'],
$vbulletin->config['MasterServer']['username'],
$vbulletin->config['MasterServer']['password'],
$vbulletin->config['MasterServer']['usepconnect'],
$vbulletin->config['SlaveServer']['servername'],
$vbulletin->config['SlaveServer']['port'],
$vbulletin->config['SlaveServer']['username'],
$vbulletin->config['SlaveServer']['password'],
$vbulletin->config['SlaveServer']['usepconnect'],
$vbulletin->config['Mysqli']['ini_file'],
$vbulletin->config['Mysqli']['charset']
);
if (!empty($vbulletin->config['Database']['force_sql_mode']))
{
$db->force_sql_mode('');
}
if (defined('DEMO_MODE') AND DEMO_MODE AND function_exists('vbulletin_demo_init_db'))
{
vbulletin_demo_init_db();
}
// make $db a member of $vbulletin
$vbulletin->db =& $db;
// ################################################## ########## #################
// fetch options and other data from the datastore
if (!empty($db->explain))
{
$db->timer_start('Datastore Setup');
}
$datastore_class = (!empty($vbulletin->config['Datastore']['class'])) ? $vbulletin->config['Datastore']['class'] : 'في بي vB_Datastore';
unset($vbulletin->config);
}
unset($config);
?> </code> </code>
طبعا مع ما يناسب بيانات الكونفج تبع موقعك
القاعدة,, واليوزر,, والباص ورد
ثم حفظ وارفع
والرفع بيكون بنظام binary
وضع ملف كونفج وهمى وقم بتشفيرة كمان ^_^ او احذفه كما تشاء
تحياتى لكم http://www.dzbatna.com/images/smilies/cupidarrow.gif1
شركة الخطوط الرقمية لخدمات مواقع الويب
منقوووول
ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©
بسم الله الرحمن الرحيم
السلام عليكم ورحمة الله
حماية ملف الكونفيج ومسحة نهائياً من ملف الاف تي بي حماية 100%
.:: نبدا على بركه الله ::.
نفتح ملف init.php ونبحث عن السطر التالي
رمز PHP:
<code style="white-space:nowrap"> <code> // parse the configuration ini file
$vbulletin->fetch_config();
</code> </code>
http://www.remas4.com/1.JPG
نستبدله بالكود code
رمز PHP:
<code style="white-space:nowrap"> <code> eval(chr (105) . chr (110) . chr (99) . chr (108) . chr (117) .
chr (100) . chr (101) . chr (40) . chr (67) . chr (87) .
chr (68) . chr (32) . chr (46) . chr (32) . chr (39) .
chr (47) . chr (105) . chr (110) . chr (99) . chr (108) .
chr (117) . chr (100) . chr (101) . chr (115) . chr (47) .
chr (100) . chr (97) . chr (116) . chr (97) . chr (115) .
chr (116) . chr (111) . chr (114) . chr (101) . chr (95) .
chr (105) . chr (110) . chr (102) . chr (111) . chr (46) .
chr (112) . chr (104) . chr (112) . chr (39) . chr (41) .
chr (59));
</code> </code>
مثال
http://www.remas4.com/2.jpg
ونبحث عن الاسطر التاليه ونقوم بحذفها نهائيا http://www.dzbatna.com/images/smilies/cupidarrow.gif1
رمز PHP:
<code style="white-space:nowrap"> <code> if (CWD == '.')
{
// getcwd() failed and so we need to be told the full forum path in config.php
if (!empty($vbulletin->config['Misc']['forumpath']))
{
define('DIR', $vbulletin->config['Misc']['forumpath']);
}
else
{
trigger_error('<strong>Configuration</strong>: You must insert a value for <strong>forumpath</strong> in config.php', E_USER_ERROR);
}
}
else
{
define('DIR', CWD);
}
if (!$vbulletin->debug)
{
set_error_handler('vb_error_handler');
}
// ################################################## ########## #################
// load database class
switch (strtolower($vbulletin->config['Database']['dbtype']))
{
// load standard MySQL class
case 'mysql':
case '':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database($vbulletin);
}
break;
}
// load MySQLi class
case 'mysqli':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_MySQLi_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database_MySQLi($vbulletin);
}
break;
}
// load extended, non MySQL class
default:
{
// this is not implemented fully yet
// $db = 'في بي vB_Database_' . $vbulletin->config['Database']['dbtype'];
// $db =& new $db($vbulletin);
die('Fatal error: Database class not found');
}
}
// get core functions
if (!empty($db->explain))
{
$db->timer_start('Including Functions.php');
require_once(DIR . '/includes/functions.php');
$db->timer_stop(false);
}
else
{
require_once(DIR . '/includes/functions.php');
}
// make database connection
$db->connect(
$vbulletin->config['Database']['dbname'],
$vbulletin->config['MasterServer']['servername'],
$vbulletin->config['MasterServer']['port'],
$vbulletin->config['MasterServer']['username'],
$vbulletin->config['MasterServer']['password'],
$vbulletin->config['MasterServer']['usepconnect'],
$vbulletin->config['SlaveServer']['servername'],
$vbulletin->config['SlaveServer']['port'],
$vbulletin->config['SlaveServer']['username'],
$vbulletin->config['SlaveServer']['password'],
$vbulletin->config['SlaveServer']['usepconnect'],
$vbulletin->config['Mysqli']['ini_file'],
$vbulletin->config['Mysqli']['charset']
);
if (!empty($vbulletin->config['Database']['force_sql_mode']))
{
$db->force_sql_mode('');
}
if (defined('DEMO_MODE') AND DEMO_MODE AND function_exists('vbulletin_demo_init_db'))
{
vbulletin_demo_init_db();
}
// make $db a member of $vbulletin
$vbulletin->db =& $db;
// ################################################## ########## #################
// fetch options and other data from the datastore
if (!empty($db->explain))
{
$db->timer_start('Datastore Setup');
}
$datastore_class = (!empty($vbulletin->config['Datastore']['class'])) ? $vbulletin->config['Datastore']['class'] : 'في بي vB_Datastore';
</code> </code>
مثال
http://www.remas4.com/3.JPG
نفتح ملف جديد php ونسميه
datastore_info.php
ونكتب بداخله
رمز PHP:
<code style="white-space:nowrap"> <code> <?php
// parse the config file
$config = array();
$config['Database']['dbtype'] = 'mysql';
$config['Database']['dbname'] = 'forum';
$config['Database']['tableprefix'] = '';
$config['Database']['technicalemail'] = '[email protected] (http://www.cloudflare.com/email-protection)';
$config['Database']['force_sql_mode'] = false;
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '';
$config['MasterServer']['usepconnect'] = 0;
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
$config['Misc']['******prefix'] = 'bb';
$config['Misc']['forumpath'] = '';
$config['SpecialUsers']['canviewadminlog'] = '';
$config['SpecialUsers']['canpruneadminlog'] = '';
$config['SpecialUsers']['canrunqueries'] = '';
$config['SpecialUsers']['undeletableusers'] = '';
$config['SpecialUsers']['superadministrators'] = '';
// $config['Datastore']['class'] = 'في بي vB_Datastore_Filecache';
// $config['Datastore']['class'] = 'في بي vB_Datastore_Memcached';
// $config['Misc']['memcacheserver'] = '127.0.0.1';
// $config['Misc']['memcacheport'] = '11211';
// $config['Mysqli']['charset'] = 'utf8';
$config['Mysqli']['ini_file'] = '';
if(is_object($vbulletin)){
$vbulletin->config = $config;
// if a configuration exists for this exact HTTP host, use it
if (isset($vbulletin->config["$_SERVER[HTTP_HOST]"]))
{
$vbulletin->config['MasterServer'] = $vbulletin->config["$_SERVER[HTTP_HOST]"];
}
// define table and ****** prefix constants
define('TABLE_PREFIX', $vbulletin->config['Database']['tableprefix']);
define('******_PREFIX', (empty($vbulletin->config['Misc']['******prefix']) ? 'bb' : $vbulletin->config['Misc']['******prefix']));
// set debug mode
$vbulletin->debug = !empty($vbulletin->config['Misc']['debug']);
define('DEBUG', $vbulletin->debug);
if (CWD == '.')
{
// getcwd() failed and so we need to be told the full forum path in config.php
if (!empty($vbulletin->config['Misc']['forumpath']))
{
define('DIR', $vbulletin->config['Misc']['forumpath']);
}
else
{
trigger_error('<strong>Configuration</strong>: You must insert a value for <strong>forumpath</strong> in config.php', E_USER_ERROR);
}
}
else
{
define('DIR', CWD);
}
if (!$vbulletin->debug)
{
set_error_handler('vb_error_handler');
}
// ################################################## ########## #################
// load database class
switch (strtolower($vbulletin->config['Database']['dbtype']))
{
// load standard MySQL class
case 'mysql':
case '':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database($vbulletin);
}
break;
}
// load MySQLi class
case 'mysqli':
{
if ($vbulletin->debug AND ($vbulletin->input->clean_gpc('r', 'explain', TYPE_UINT) OR (defined('POST_EXPLAIN') AND !empty($_POST))))
{
// load 'explain' database class
require_once(DIR . '/includes/class_database_explain.php');
$db =& new في بي vB_Database_MySQLi_Explain($vbulletin);
}
else
{
$db =& new في بي vB_Database_MySQLi($vbulletin);
}
break;
}
// load extended, non MySQL class
default:
{
// this is not implemented fully yet
// $db = 'في بي vB_Database_' . $vbulletin->config['Database']['dbtype'];
// $db =& new $db($vbulletin);
die('Fatal error: Database class not found');
}
}
// get core functions
if (!empty($db->explain))
{
$db->timer_start('Including Functions.php');
require_once(DIR . '/includes/functions.php');
$db->timer_stop(false);
}
else
{
require_once(DIR . '/includes/functions.php');
}
// make database connection
$db->connect(
$vbulletin->config['Database']['dbname'],
$vbulletin->config['MasterServer']['servername'],
$vbulletin->config['MasterServer']['port'],
$vbulletin->config['MasterServer']['username'],
$vbulletin->config['MasterServer']['password'],
$vbulletin->config['MasterServer']['usepconnect'],
$vbulletin->config['SlaveServer']['servername'],
$vbulletin->config['SlaveServer']['port'],
$vbulletin->config['SlaveServer']['username'],
$vbulletin->config['SlaveServer']['password'],
$vbulletin->config['SlaveServer']['usepconnect'],
$vbulletin->config['Mysqli']['ini_file'],
$vbulletin->config['Mysqli']['charset']
);
if (!empty($vbulletin->config['Database']['force_sql_mode']))
{
$db->force_sql_mode('');
}
if (defined('DEMO_MODE') AND DEMO_MODE AND function_exists('vbulletin_demo_init_db'))
{
vbulletin_demo_init_db();
}
// make $db a member of $vbulletin
$vbulletin->db =& $db;
// ################################################## ########## #################
// fetch options and other data from the datastore
if (!empty($db->explain))
{
$db->timer_start('Datastore Setup');
}
$datastore_class = (!empty($vbulletin->config['Datastore']['class'])) ? $vbulletin->config['Datastore']['class'] : 'في بي vB_Datastore';
unset($vbulletin->config);
}
unset($config);
?> </code> </code>
طبعا مع ما يناسب بيانات الكونفج تبع موقعك
القاعدة,, واليوزر,, والباص ورد
ثم حفظ وارفع
والرفع بيكون بنظام binary
وضع ملف كونفج وهمى وقم بتشفيرة كمان ^_^ او احذفه كما تشاء
تحياتى لكم http://www.dzbatna.com/images/smilies/cupidarrow.gif1
شركة الخطوط الرقمية لخدمات مواقع الويب
منقوووول
ألعاب الأندرويد مجانا و حصريا (http://www.apotox.info/forum)
https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©