vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - AdminCP Firewall ~ Protect your AdminCP! (https://vborg.vbsupport.ru/showthread.php?t=296383)

Disco_Stu 07-30-2013 02:23 AM

Quote:

Originally Posted by MahdyE23 (Post 2435989)
My IP changed and now I cannot access my ACP. I tried adding that code at the end of the config.php, but it did nothing. Please help me?

Does it work if you add the code to the top of your config file after <?php

eyestrain 08-08-2013 08:51 PM

A very nice mod.
Also nominated as the mod of the month.

thank you

synseal 08-08-2013 09:30 PM

Quote:

Originally Posted by MahdyE23 (Post 2435989)
My IP changed and now I cannot access my ACP. I tried adding that code at the end of the config.php, but it did nothing. Please help me?

Open your /includes/config.php and add

PHP Code:

Code:

define('DISABLE_HOOKS', true);
Directly below

PHP Code:
<?php

Bubble #5 08-13-2013 10:38 PM

Love the idea of this hack but what can I do if my router ever has problems, or I have to reset it and I lose the exact IP? How would I log in then?:confused:

RichieBoy67 09-03-2013 03:22 AM

You could simply go into your config file and disallow plug ins. Then log into the admincp and disable.. Bam..


addenum - Disable your plug ins by adding

PHP Code:

define('DISABLE_HOOKS'true); 

To your config php file

Bubble #5 09-03-2013 03:33 AM

Quote:

Originally Posted by RichieBoy67 (Post 2442750)
Then log into the admincp and disable.. Bam..

Disable what? :confused:

ForceHSS 09-03-2013 03:44 AM

Quote:

Originally Posted by Bubble #5 (Post 2442753)
Disable what? :confused:

Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


DemOnstar 09-03-2013 05:05 AM

Quote:

Originally Posted by Bubble #5 (Post 2442753)
Disable what? :confused:

Open your /includes/config.php and add

Code:

define('DISABLE_HOOKS', true);
under

Code:

<?php
I am guessing it looks like this when you are done.

Code:

<?php
define('DISABLE_HOOKS', true);

Then log in...Next go to your plugin manager and disable the mod from there..
After that you will either need to remove what you added to the config.php, comment it out or replace the word 'true' with 'false'. But that again is a guess...

Hope that helps...

RichieBoy67 09-03-2013 05:14 AM

Yeah, I should have been a little more descriptive but just seemed obvious to me. Thanks for the correction guys.

zushiba 09-13-2013 07:34 PM

Ah, this is exactly what I was looking for. I was hit with that script kiddy hack going around defacing sites and decided some better security on the AdminCP would be nice.


All times are GMT. The time now is 08:07 AM.

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.01277 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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