vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   changing directory for (config.php) Please help me (https://vborg.vbsupport.ru/showthread.php?t=308072)

zyadalseef 02-08-2014 01:02 PM

changing directory for (config.php) Please help me
 
Hello,
My site was hacked before 3 days ago but I restore now.
Well, there are some security solutions, including changing directory for (config.php), So I rename (config.php) and put it in new folder under vb

directory.
After that I update some files with new name and directory for (config.php) in the following folder :
admincp
includes
install

Now the forum work fine but there is a problem in Product Vbseo show in the header ( See attached picture link ):
http://www.banimalk.net/vbseo.jpg

PHP Code:

Warning: include_once() [function.include-once]: Unable to access /home/banimalk/public_html/vb/vbseo/../includes/config.php in/home/banimalk/public_html/vb/vbseo.php on line 17

Warning
: include_once(/home/banimalk/public_html/vb/vbseo/../includes/config.php) [function.include-once]: failed to open streamNo such file or directory in/home/banimalk/public_html/vb/vbseo.php on line 17

Warning
: include_once() [function.include]: Failed opening '/home/banimalk/public_html/vb/vbseo/../includes/config.php' for inclusion (include_path='.:/usr/lib/php'in/home/banimalk/public_html/vb/vbseo.php on line 17 

Product Vbseo needs to reading and identify the new directory and new name for config.php , I have tried to update some files of Product Vbseo but failed .

Please help me ?

Version Forum ( 3.8.7 Patch Level 3)
Version vBSEO (3.6.0 RC 2 )

Thank you

ShawneyJ 02-12-2014 11:45 AM

mate, i dont know why you would be still running VBSEO. 100's if not more have removed it from their forums. not only is it a dead product, but you most likely will not get any support for VBSEO here at vb org. lets say you do everything under the sun to make your forum secure...whats stopping hackers from hacking your VBSEO 3.6.0 RC 2? which has exploits. maybe thats the point of ya post, but VBSEO are dead a berried and im pretty sure no one will support it here, but you never know. good luck.

Zachery 02-12-2014 01:36 PM

moving your config file is pretty pointless. You have to change the include(s) for it, which means you are still pointing right at that file.

TheLastSuperman 02-12-2014 04:56 PM

Quote:

Originally Posted by Zachery (Post 2480595)
moving your config file is pretty pointless. You have to change the include(s) for it, which means you are still pointing right at that file.

I dunno... this security through obfuscation is pointless makes sense if you're you or me (now keep reading lol) but what about a technician from crowdgather after buying a client of mines forum who had to call me to ask why the details in the config file were wrong and how was it still able to connect? It sure fooled him (who was experienced in vBulletin and various other forums including relocating them etc) so I guess it depends on the level of intelligence of the person trying to gain entry to your site i.e. if a script-kiddie then they won't know where to look so in essence security through obfuscation does work in a sense. Anything you can do to "throw off" someone trying to get into your site will help, you can't argue that.

Also OP as ShawneyJ mentioned remove vBSEO, your just a hacked site waiting to happen imo if you continue to run it.

Edit: Also look for the reference to config.php in /includes/class_core.php and change it there too, that is probably where you missed changing the filename and why it is not working.

RichieBoy67 02-12-2014 05:31 PM

No need to change the name of config directory. just protect it using htaccess.

Also, Vbseo removal is a nightmare for many forums depending on your urls but I agree removal is the best thing to do. I believe it will not be long for Google to actually prove Vbseo type scripts as bad for search indexing. It seems like weekly they are adding new restrictions. The latest thing is to target and penalize sites that have too many advertisements. It is only a matter of time before seo friendly type urls are completely ignored in my opinion.

Also, if you are using an older version of Vbseo you better find out how to secure it because it has a vulnerability that is easy exploited.

zaqy 02-14-2014 07:01 AM

if you feel your forum has been hacked , just make sure you remove your install folder . that is enough .

make sure you change your admincp and modcp too

ozzy47 02-14-2014 10:33 AM

Quote:

Originally Posted by zaqy (Post 2481045)
if you feel your forum has been hacked , just make sure you remove your install folder . that is enough .

make sure you change your admincp and modcp too

There is much more to secure your website than that, what you have stated is not "enough" in it's self.


All times are GMT. The time now is 01:52 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.01119 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete