vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Removing ban (https://vborg.vbsupport.ru/showthread.php?t=117138)

rogersnm 05-30-2006 04:36 PM

Removing ban
 
what sql query would i run to remove everyban set inclkuding ip bans?

my site has been hacked and i can't get in,

oninuva 05-30-2006 04:51 PM

me too same prob!

Paul M 05-30-2006 05:16 PM

There isn't one SQL query that could remove all bans. How are you actually banned ?

rogersnm 05-30-2006 05:17 PM

The hacker issued a ip ban on all ip's

http://wow-elite.org/

oninuva 05-30-2006 05:18 PM

Help!

rogersnm 05-30-2006 05:19 PM

i have got the tools.php up so i can run query's but thats all..

Paul M 05-30-2006 05:19 PM

ooops.

Do you have ftp access ?

rogersnm 05-30-2006 05:23 PM

yes, i do, but i can't run a vB page because i am banned...

akanevsky 05-30-2006 05:24 PM

Quote:

Originally Posted by Paul M
There isn't one SQL query that could remove all bans. How are you actually banned ?

Yeah there is. But what's required to know is:
Banned Usergroupid
Normal Usergroupid
Table Prefix
UPDATE TABLE_PREFIXuser SET usergroupid=NORMAL WHERE usergroupid=BANNED
UPDATE TABLE_PREFIXuser SET usergroupid=6 WHERE userid=YOURADMINID

As for ip ban, you just remove that from vb options.

Or if you cannot access your vb options, an option rebuild script would be required...

Paul M 05-30-2006 05:24 PM

Via ftp, edit global.php ;

Find these lines;

PHP Code:

// check for IP ban on user
verify_ip_ban(); 

and comment out the second line like this ;

PHP Code:

// check for IP ban on user
//verify_ip_ban(); 

You should then have access.


All times are GMT. The time now is 01:01 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.01564 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_php_printable
  • (1)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
  • (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