Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-22-2011, 11:37 PM
Mulet Mulet is offline
 
Join Date: Oct 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Imported PHPBB3 boards, discovered hoard of spam accounts. Easy fast removal process?

Hey,

I've setup vBulletin, updated to 4.17 and discovered I have thousands of false accounts imported. Is there a plugion or method to search all users, and remove spammers?

Also, I have almost two thousand accounts prefixed with:

imported_

How can I bulk merge these?

Any help is appreciated
Reply With Quote
  #2  
Old 10-23-2011, 12:01 AM
lild100 lild100 is offline
 
Join Date: Oct 2010
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im looking forward to the response to this. I have the same problem
Reply With Quote
  #3  
Old 10-23-2011, 12:15 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you have a database backup before running this as i'm no database guru, in phpmyadmin run this:
delete from user where username='imported_%';

You will have to add the prefix if you use one in the tables like vb_user and vb_username, the % is a wildcard so it's looking to delete anything in the username column that has imported_ at the beginning of the name.

Hope it helps.
Reply With Quote
  #4  
Old 10-23-2011, 12:20 AM
Mulet Mulet is offline
 
Join Date: Oct 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will that delete the imported_<NAME> accounts?

I'd like to merge them, as it is the imported_ accounts that have post data
Reply With Quote
  #5  
Old 10-23-2011, 12:37 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it WILL delete them, like i said i'm no guru but i guess what you'll want is to delete the imported_ from every username then use an UPDATE query for the table to merge the usernames.
Reply With Quote
  #6  
Old 10-23-2011, 12:43 AM
Mulet Mulet is offline
 
Join Date: Oct 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, that seems reasonable, I spose I look something up.

Also, is there a method to bulk remove spam accounts? I have vbStopForumSpam, and was wondering if there is a "serach and kill" ability in either this or another product?
Reply With Quote
  #7  
Old 10-23-2011, 01:57 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Unfortunately not, you would need to know the usergroup or email address or username, it's fair to say that you could use vbulletins built in prune users to prune say all accounts older than x days with zero posts.

I'll see what i can find on the UPDATE USER query

--------------- Added [DATE]1319340413[/DATE] at [TIME]1319340413[/TIME] ---------------

Did you use Impex to import your database to vbulletin?, if not and you still have the database it might be wise to go back to the backup you made before adding all your new data and then use impex to import them.
Reply With Quote
  #8  
Old 10-25-2011, 03:33 PM
Mulet Mulet is offline
 
Join Date: Oct 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Simon,

I ended up deleting the boards and starting from scratch with fresh boards, and a fresh import. No more merging of users, no need for sql. Thankyou for your help though.

I'll play around with the prune feature to try to ditch this hoard of false accounts.

However, do these accounts actually pose a threat? They came from bots plaguing a phpbb3 board, and the new boards are on a subdomain. Can they wake up and cause havok?

I'll remove them, but I'd rather not delay going online by another day while I remove the filthy filthy accounts.
Reply With Quote
  #9  
Old 11-15-2011, 10:10 AM
Thunderbird8 Thunderbird8 is offline
 
Join Date: Aug 2009
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Make sure you have a database backup before running this as i'm no database guru, in phpmyadmin run this:
delete from user where username='imported_%';

You will have to add the prefix if you use one in the tables like vb_user and vb_username, the % is a wildcard so it's looking to delete anything in the username column that has imported_ at the beginning of the name.

Hope it helps.
I don't recommend doing this, since it would leave other issues on the board (I once accidentally emptied the forum users table...the weirdness that caused is hard to describe). The vB user prune function would probably clean up any loose ends from said accounts.

Quote:
Originally Posted by Mulet
However, do these accounts actually pose a threat? They came from bots plaguing a phpbb3 board, and the new boards are on a subdomain. Can they wake up and cause havok?
Possibly, but the bots would need to reset their passwords first, just like the users would need to. Who knows if they're intelligent enough to do so .
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 07:12 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.04502 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete