vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - KX - Rename Config File (https://vborg.vbsupport.ru/showthread.php?t=198856)

RL714 05-22-2009 05:23 AM

if you guy think that hacker would easy to hack into vbulletin files, so i think vbulletin wont live and growing well as now, dont you think ?

Devanand 08-20-2009 02:58 AM

Not working here, I am also geting error. I did everything you said, file is in VB root but still nothing.

luan7749 08-20-2009 03:16 AM

If I'm hacker who had a 'shell' in your server, I'll view source of file class_core.php to find real path of config file. So what ?

Protoman 10-13-2009 08:47 PM

mod posted without permission from previous authors

Ziki 10-14-2009 11:38 AM

Well in that case the previous author would have to be my father as this was written from scratch :). And there's really not much about this mod, it would be like giving instructions to changing the background color of your site and claiming copyright for it :)

TheInsaneManiac 12-25-2009 08:28 PM

Quote:

Originally Posted by linhhon2003 (Post 1685561)
If Hacker read files class_core will know the path of the new config files???

If they can read the config.php somehow, don't you think they could read other files? That's why my config.php is encrypted.

TheLastSuperman 01-29-2010 04:48 AM

Quote:

Originally Posted by michi123 (Post 1746661)
ye, cuz ur out of your forums folder! the folder has to be in your forums folder!

if sumone is using vbseo, uve to change the config path in config_vbseo.php too!

search
Code:

define('VBSEO_VB_CONFIG',              'config.php');
replace with
Code:

define('VBSEO_VB_CONFIG',              '../folder/newconfig.php');
important is the .. !

This renaming will work just fine with vBulletin 4.0 and for vBSEO 3.5 RC2 you need to modify the config.xml file located here:

PHP Code:

www.yoursite.com/forum/vbseo/resources/xml/config.xml 

Differently then you see in the quote above since the config file is now an xml file ;).

Change the following lines and replace the newfolderlocation and newconfigname.php with your new folder and file names :D

PHP Code:

<setting>
<
name>VBSEO_VB_CONFIG</name>
<
value><![CDATA[../newfolderlocation/newconfigname.php]]></value>
</
setting

Then upload the config.xml file back to your server and no more errors from vBSEO ;).

Enjoy!

Mike

legacy123 03-30-2010 10:14 AM

This would go great with the old .htaccess

PHP Code:

<Files config.php
deny from all
</Files



All times are GMT. The time now is 02:12 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01288 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete