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)

DemOnstar 09-21-2013 12:05 PM

Quote:

Originally Posted by obglobal.net (Post 2447072)
and put the code under the <? at the top of the page instead.

Ha ha, that is the original instruction dude....

Line 207 is 3 from the arse end of config.php...:D

obglobal.net 09-21-2013 12:16 PM

Quote:

Originally Posted by DemOnstar (Post 2447073)
Fixed IP or any IP that is recorded in the

Allowed IP's
Enter the IP's that are allowed to access the AdminCP. These can be single IP's or CIDR ranges. One IP or range per line.

I am guessing here....

Yeah, I saw that. My IP was in there, though. Beats me.

Quote:

Originally Posted by DemOnstar (Post 2447075)
Ha ha, that is the original instruction dude....

Line 207 is 3 from the arse end of config.php...:D

Christ on a bicycle. Mate, when it comes to vBulletin, I am at the arse end of the food chain.

I don't even know how to install DBTech mods so I started a thread and got an answer as stupid as the question.

That's right, I suck.

DemOnstar 09-21-2013 12:23 PM

Quote:

Originally Posted by obglobal.net (Post 2447077)
Christ on a bicycle. Mate, when it comes to vBulletin, I am at the arse end of the food chain.
That's right, I suck.

Me too owd lad, and a few others...

We suck! Although suck is not a term I would use in these matters...That term is generally applicable with my girlfriend....

Anyway, do test and let us know if this is a good un....

obglobal.net 09-21-2013 12:29 PM

Quote:

Originally Posted by DemOnstar (Post 2447079)
Me too owd lad, and a few others...

We suck! Although suck is not a term I would use in these matters...That term is generally applicable with my girlfriend....

Anyway, do test and let us know if this is a good un....

Test what, good sir? I already said I got it to work.

DemOnstar 09-21-2013 12:32 PM

Yeah but have you tried from another IP?

obglobal.net 09-21-2013 12:35 PM

Oh, right. Sorry homes.

No, I haven't. You? I don't have the VB awesomeness to branch out any further, I don't think. Was yours one of the many forums to get hacked? Is that why you're in here? I got done twice and had to pay for a clean up.

DemOnstar 09-21-2013 12:48 PM

Quote:

Originally Posted by obglobal.net (Post 2447083)
Oh, right. Sorry homes.

No, I haven't. You? I don't have the VB awesomeness to branch out any further, I don't think. Was yours one of the many forums to get hacked?

Not hacked yet, here to try and prevent that...

I did go out with my android device and attempted to log in form a different IP. It was stopped in it's tracks and I was also given an email of the details..Good!

I haven't tried to access from another IP that has been input as safe...and allowed access to adminCP.

This is what I will do next...

I expect the steps are as follows.

Go to the bar, get a pint of Guinness, find a table...
Log in to try and access adminCP. Get failure details passed on to my email..

Alternatively, finish the Guinness, get another one and then find my current IP. Go to FTP, add the new IP to the config.php (at the top) and then attempt another log in..

My plan..+ a few more Guinness incentives...:up:

obglobal.net 09-21-2013 02:28 PM

Quote:

Originally Posted by DemOnstar (Post 2447088)
Not hacked yet, here to try and prevent that...

I did go out with my android device and attempted to log in form a different IP. It was stopped in it's tracks and I was also given an email of the details..Good!

I haven't tried to access from another IP that has been input as safe...and allowed access to adminCP.

This is what I will do next...

I expect the steps are as follows.

Go to the bar, get a pint of Guinness, find a table...
Log in to try and access adminCP. Get failure details passed on to my email..

Alternatively, finish the Guinness, get another one and then find my current IP. Go to FTP, add the new IP to the config.php (at the top) and then attempt another log in..

My plan..+ a few more Guinness incentives...:up:

haha! Nice! I've gotten a tad thirsty suddenly.

obglobal.net 09-22-2013 10:21 AM

Quote:

Originally Posted by DemOnstar (Post 2447088)
Not hacked yet, here to try and prevent that...

I did go out with my android device and attempted to log in form a different IP. It was stopped in it's tracks and I was also given an email of the details..Good!

I haven't tried to access from another IP that has been input as safe...and allowed access to adminCP.

This is what I will do next...

I expect the steps are as follows.

Go to the bar, get a pint of Guinness, find a table...
Log in to try and access adminCP. Get failure details passed on to my email..

Alternatively, finish the Guinness, get another one and then find my current IP. Go to FTP, add the new IP to the config.php (at the top) and then attempt another log in..

My plan..+ a few more Guinness incentives...:up:

How'd you go, monsieur?

DemOnstar 09-22-2013 01:13 PM

Quote:

Originally Posted by obglobal.net (Post 2447248)
How'd you go, monsieur?

Not so good sire, big typhoon outside and not really worth going out there. Typhoon Usagi just made landfall in the north east and is blowing a little too much for outdoor activities..

obglobal.net 09-22-2013 02:15 PM

Quote:

Originally Posted by DemOnstar (Post 2447281)
Not so good sire, big typhoon outside and not really worth going out there. Typhoon Usagi just made landfall in the north east and is blowing a little too much for outdoor activities..

You live in Japan? The Rabbit Typhoon?

DemOnstar 09-22-2013 02:31 PM

Currently homeless in Hong Kong..Live in China normally but there is a visa situation that is not working in my favour...

team74 09-22-2013 11:07 PM

Thank you so much! I got hacked yesterday, and IP blocking is the only thing I can think of to do since it seems to be a VB vulnerability.

Big donation sent you way!

liamwli 09-23-2013 05:43 AM

Quote:

Originally Posted by team74 (Post 2447364)
Thank you so much! I got hacked yesterday, and IP blocking is the only thing I can think of to do since it seems to be a VB vulnerability.

Big donation sent you way!

Thanks! I was wondering what it was when I got the email ;)

obglobal.net 09-24-2013 12:25 AM

Quote:

Originally Posted by DemOnstar (Post 2447293)
Currently homeless in Hong Kong..Live in China normally but there is a visa situation that is not working in my favour...

Visa issues blow. I live in Japan but am married to a Japanese chick. No dramas there. Take the plunge and make half-cast babies! Worked for me! :cool:

I gotta get this mod to work!

DemOnstar 09-24-2013 01:39 AM

Not been to Japan yet, was gonna go during November before the winter hits..
Got a girlfriend in China but as regards babies, naaghh!:eek:

pityocamptes 10-01-2013 01:38 AM

Same error with me. I added:

// This to disable AdminCP Firewall.
define('CPFIREWALLDISABLEIPDENY', true);
// This to Disable Hooks
define('DISABLE_HOOKS',true);

in the config file. and when I go to the mod to enter my new ip I get this:

Fatal error: Class 'EmailAddressValidator' not found in XXXXXX/html/includes/adminfunctions_options.php(925) : runtime-created function on line 6

and I have NO SAVE BUTTON at the bottom of the screen!!!!!!! Help....

pityocamptes 10-01-2013 01:42 AM

Ok, took the HOOKS definition out and it works.... for anyone having the same issues. Just used the first definition (CPFIREWALL)...

DemOnstar 10-26-2013 05:49 PM

Just one gripe..

emails still come to the admin regardless of the ip's permitted access..

By that I mean an ip that is recorded as being ok, there is still a notification sent and it is the same notification as the 'attempted' access...


Quote:

A user has attempted to log into your AdminCP using an unauthorized IP address. Their username is XXYYMoiety and their IP is xx.3.xx.73.

This IP matched the following forum user(s):
And this bit
Quote:

This IP matched the following forum user(s):
never changes...

It is always, 'This IP matched the following forum user(s)'.

Aren't the brackets () meant to change something?

Works well otherwise...

ozzy47 10-26-2013 05:53 PM

No the brackets are meant to define singular or plural. user being singular, user(s) being plural.

Terrablade 10-26-2013 06:42 PM

VB 3.8.7 friendly?

DemOnstar 10-26-2013 07:42 PM

Quote:

Originally Posted by ozzy47 (Post 2456455)
No the brackets are meant to define singular or plural. user being singular, user(s) being plural.

Marvelous! Trust your judgement....:up:

Terrablade 10-30-2013 10:04 AM

Ill ask the question again.. Is it VB 3.8.7 PL3 friendly?

ozzy47 10-30-2013 11:49 PM

I don't see anything in the XML that stands out as it would not work, best thing to do would be to do a backup, then try the mod out. :)

Khoori7 11-25-2013 02:34 AM

Added this but having an issue with IP-Range what's the format it for it?
I added it this way 86.99.*.* Doesn't seem to work.

Buzzle 11-20-2014 04:57 PM

I've added the IP but it gives me a restricted message any idea why?

ozzy47 11-20-2014 08:27 PM

It should work, what is the message you are getting?
What version of vB and PHP are you running?

pityocamptes 02-05-2015 03:07 AM

Warning: Invalid argument supplied for foreach() in [path]/login.php(119) : eval()'d code on line 4

I am getting this warning even after putting an IP in the admin user field. I notice it does this after I click on the admincp and have to put my pw in again to verify. If I type in the wrong pw this error comes up. Why? Thanks.

pityocamptes 02-14-2015 06:07 PM

BUMP!!

pityocamptes 03-04-2015 11:54 PM

Anyone????

ForceHSS 03-05-2015 01:34 AM

But going by the small info you have given it looks like a conflict with a hook from a custom plugin and this one using the same
look over all plugins using login_failure hook
If you still are having problems use this plugin it does the same but many more things

apleschu 03-05-2015 10:58 PM

Is this mod IPv6 aware and safe?

Mertx 06-14-2021 12:09 PM

Nice.


All times are GMT. The time now is 12:54 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.01512 seconds
  • Memory Usage 1,812KB
  • 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
  • (15)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
  • (33)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