vBulletin Modifications

Htaccess Iprestriction

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > vBulletin Database System > vBulletin 3.5 / 3.6 Hack Releases

Reply
 
Thread Tools Search this Thread
Download Options
You Must Register First
To Download This Modification

Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs

Advertisement
  
Not Supported
[vB 3.5.0] Htaccess Iprestriction (297)
Released: 10-20-2005, 08:47 AM
Modification Information:
Author: Fury
Last Online: 10-11-2006
Hack Version: 0 Installer Included: 0 Additional queries added to database: 0
New Templates: 0 Template Edits: 0 File Edits: 0
New Files: 0 New Phrases: 0 Installation Time (In Minutes): 0

Plugin
Well, niels released a nice hack but doesnt count IPrestriction.
Security is very important nowadays, for the big boards (not for the tiny newbies ones).

So im releasing this hack, after stbull rlsed his own nice version for 3.0.9 i converted it so you'll be able to use it in vB3.5.0 - thanks stbull for that.
Modified it a 'lil bit, nothing serious that you will notice.
i was suppose to release it as a part of the lockdown pack, but i got the approval from stbull just now, so this is the reason for the diff' posts

Enjoy it!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Add a Comment!
Old 12-16-2005, 03:32 PM   #11
Junior Member
Join Date: Dec 2005
Sengir is on a distinguished road

Default

Yuri:

Quote:
Queries:

ALTER TABLE `user` ADD `ipmask` VARCHAR(255) NOT NULL;
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'ipmasks', 'IP Mask (xx.xx.* | xx.* etc)', 1);
It says in your manual to install, but in your hook from global_start it says:
Quote:
$userinf=$db->query_first("SELECT user.ipmasks,user.password,user.userid,user.salt FROM " . TABLE_PREFIX . "user WHERE username='".$_SERVER['PHP_AUTH_USER']."'");
So everybody who is installing it change it to:

Quote:
$userinf=$db->query_first("SELECT user.ipmask,user.password,user.userid,user.salt FROM " . TABLE_PREFIX . "user WHERE username='".$_SERVER['PHP_AUTH_USER']."'");
And then it works.

Nice work Yuri.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 12-16-2005, 03:32 PM   #12
Junior Member
Join Date: Dec 2005
Sengir is on a distinguished road

Default

First of all thx for this nice hack. A little error is in your script.

$userinf=$db->query_first("SELECT user.ipmasks,user.password,user.userid,user.salt FROM " . TABLE_PREFIX . "user WHERE username='".$_SERVER['PHP_AUTH_USER']."'");

should be

$userinf=$db->query_first("SELECT user.ipmask,user.password,user.userid,user.salt FROM " . TABLE_PREFIX . "user WHERE username='".$_SERVER['PHP_AUTH_USER']."'");

And
$dbuserip = $userinf['ipmasks'];

should be
$dbuserip = $userinf['ipmask'];

Or do :
ALTER TABLE `user` ADD `ipmasks` VARCHAR(255) NOT NULL;

instead of:
ALTER TABLE `user` ADD `ipmask` VARCHAR(255) NOT NULL;

Last edited by Sengir; 12-16-2005 at 03:41 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-16-2005, 04:52 PM   #13
Junior Member
Join Date: Nov 2005
salman is on a distinguished road

Default

what does this do?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2005, 04:13 AM   #14
Junior Member
Join Date: Dec 2005
Sengir is on a distinguished road

Default

It's a correction to Fury manual to install, where you can see a little typing error is made with ipmask.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-10-2006, 08:48 PM   #15
Coder
Join Date: Nov 2004
apoc_neo is on a distinguished road

Default

Ok I have a problem when installing this modification, I installed it without Sengir's fix first and I could not see ip masks in user manager. So I reinstalled it with Sengir's fix and still no go. I have installed plenty of modifications before with but I have no idea what is wrong. Could anybody help me please? Thanks in advance.

edit:

By the way my vBulletin version I am using is 3.5.2 maybe I get this problem because of the newer version?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-29-2006, 07:23 PM   #16
Junior Member
Join Date: Dec 2005
Location: Costa Frick'n Rica
Mathiau is on a distinguished road

Default

can you disable the IP check and only have it go by user name / global? unfortuanyly for some, they have dynamic IP's ....




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-30-2006, 06:58 AM   #17
Coder
Join Date: Oct 2005
Location: The Netherlands
Pietje is on a distinguished road

Default

Thnx m8 gonna click this one

Nice work




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-01-2006, 07:31 AM   #18
Coder
Join Date: Oct 2005
Location: The Netherlands
Pietje is on a distinguished road

Default

Doesnt work here either...

I runned the edited queries, installed the plugin, but see nothing new..

Does it miss something?

Edit;

I'm running vbb version 3.5.2

Last edited by Pietje; 02-01-2006 at 07:34 AM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-18-2006, 09:50 AM   #19
Coder
Join Date: Aug 2004
Fury is on a distinguished road

Default

what the error that you get exacly?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-18-2006, 12:16 PM   #20
Coder
Join Date: Jun 2005
Sezmar is on a distinguished road

Default

WOW! Fury is back, welcome back!




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TouchingVirus Htaccess Mod 3.5.0 Conversion Maxx vBulletin 3.5 / 3.6 Hack Releases 37 08-18-2006 06:18 PM
Warning Serious Flaws in Htaccess / Ip restriction Hack(s)! Niels General vBulletin Support 2 09-08-2005 04:26 PM
htaccess biocore General vBulletin Support 2 08-13-2005 05:13 PM


All times are GMT -3. The time now is 10:18 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)