Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[4.1.x-4.2.x] Notify when config.php changes Details »»
[4.1.x-4.2.x] Notify when config.php changes
Version: 2.2, by liamwli liamwli is offline
Developer Last Online: Dec 2019 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.1.x Rating:
Released: 09-29-2012 Last Update: 10-06-2012 Installs: 18
Uses Plugins
 
No support by the author.

If you want support, please mark as installed. If you install, please mark as installed

!!MOD UPDATED DUE TO INAVLID SETTING CONFIG - IT WILL WORK NOW!!

This mod is for vBulletin 4.1.x - 4.2.x

This mod will allow you to specify users that will get stopped if the config.php file is modified.

This is useful as a security tool, as most hackers would go for the config.php file.

You must enable it in it's settings before it will work.

Why Would I want/need this?
The config.php file contains the variables for super admins, as well as those with log pruning/viewing/sql executing permissions. If someone has ftp to your site, they will target this file so they can do whatever they want. Want to risk it? Install now!

Please note: This may cause a slight delay loading the page for people you choose to notify, as it calculates the md5 hash of the config.php file. It shouldn't be too much of an issue though.

Changelog

Version 2.2

Added - Setting to enter config.php location

Download Now

File Type: xml product-liam_cfgnotify-2.2.xml (5.6 KB, 45 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
seb5594

Comments
  #12  
Old 10-07-2012, 10:55 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by liamwli View Post
That stops people going to it - not checking if it was modified.
they will not be able to modify it if you restrict it to your own domains IP
Reply With Quote
Благодарность от:
djbaxter
  #13  
Old 10-07-2012, 11:07 AM
liamwli liamwli is offline
 
Join Date: May 2012
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simonhind View Post
they will not be able to modify it if you restrict it to your own domains IP
And if they have ftp....
Reply With Quote
  #14  
Old 10-07-2012, 11:07 AM
Prashanth Prashanth is offline
 
Join Date: Sep 2012
Location: India
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that would be gr8
Reply With Quote
  #15  
Old 10-07-2012, 11:24 AM
liamwli liamwli is offline
 
Join Date: May 2012
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Prashanth View Post
that would be gr8
Ok, done.
Reply With Quote
  #16  
Old 10-07-2012, 11:28 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by liamwli View Post
And if they have ftp....
lol now thats being stupid

1) they need to know your username & password

and plus you can You can restrict FTP access by IP through a .ftpaccess file

to do this you do the following

create a file called .ftpaccess

content

Code:
<Limit STOR>
  DenyAll
  Allow youripaddresshere
</Limit>
Reply With Quote
  #17  
Old 10-07-2012, 12:08 PM
Prashanth Prashanth is offline
 
Join Date: Sep 2012
Location: India
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think u forgot to update the eval code in admin function

Warning: md5_file([path]/includes/config.php) [function.md5-file]: failed to open stream: No such file or directory in
Reply With Quote
  #18  
Old 10-07-2012, 01:24 PM
liamwli liamwli is offline
 
Join Date: May 2012
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Prashanth View Post
i think u forgot to update the eval code in admin function

Warning: md5_file([path]/includes/config.php) [function.md5-file]: failed to open stream: No such file or directory in
Yes - I did, thanks

EDIT:

Hmm. I edited the options function, and now it won't work. I'm thinking that I can't make a call to the vbulletin options in vbulletin options...

EDIT 2: Fixed it, please download the file now
Reply With Quote
  #19  
Old 10-07-2012, 02:41 PM
Prashanth Prashanth is offline
 
Join Date: Sep 2012
Location: India
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks it works finally
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04423 seconds
  • Memory Usage 2,317KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete