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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2021, 04:30 AM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default redirect-to - porn spam! vB3

Somewhere, somehow, there are over 100 "redirect-to" porn spam links on my site (500,000+ posts). We moderate carefully, but obviously don't see everything.

To clarify - somewhere - I believe - there is an innocuous word that is a link, and vB3 automatically makes a "redirect-to" link of it. Times 100 or so...

So, I clearly need to find them! However, google search - that I use for search - only finds the redirect - but doesn't show me what page the link is ON. Forum search finds nothing at all.

Anyone have any ideas how to find them?
Note that MySQL is not my forte.

Thanks for any ideas, and I hope everyone had a great Christmas, and best wishes for a happy and healthy 2022!
Reply With Quote
  #2  
Old 12-29-2021, 08:42 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm pretty sure "redirect-to" is part of dbseo's features for external links and it causes loads of search engine spam links from your site, in the newer versions you can turn it off.


Edit
here is the setting
Attachment 158907
Reply With Quote
  #3  
Old 12-29-2021, 03:12 PM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, good to know!
Still have to find the links, delete and ban the scumbag user.

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

If anyone has an idea on how to find a "hidden" link, please enlighten me!
The link could be any word in the forum, linked to porn.
thanks!
Reply With Quote
  #4  
Old 12-30-2021, 06:13 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The links may not even be on your site, I've just looked back on my ticket to dbseo on the issue back in 2016 and the "redirect-to" system creates an open redirect from any site it's enabled on - I did report it back then but they didn't do anything about it.

links like the following could be listed anywhere on the net and get indexed as from your site.
Code:
https://www.yourforumurl.com/redirect-to/?redirect=https://www.somepornsite.zzz/
You need to disable the feature and block /redirect-to/ in your htaccess and add a disallow in your robots.txt
Reply With Quote
Благодарность от:
GrantHorizons
  #5  
Old 12-30-2021, 11:50 PM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's... terrifying.

Thank you! Turned off. And done!

Help much appreciated, have a great 2022!.
Reply With Quote
  #6  
Old 12-31-2021, 06:18 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just checked your site and the links in Google and I think I would do more, all the porn links now resolve to an "Invalid Forum specified" page on your site, if that was mine I wouldn't like that and I'd go for a hard 404 via htaccess.

I use Windows servers and know nothing about apache and htaccess, but I've found a thread at dragonbyte where somebody shows how to do it - https://www.dragonbyte-tech.com/thre...l-links.24453/

Also I'd look at the Google webmaster Tools removals tool and see if I could de-index them - https://support.google.com/webmasters/answer/9689846
Reply With Quote
Благодарность от:
TheLastSuperman
  #7  
Old 12-31-2021, 08:39 PM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent info, thanks a BUNCH!
And I agree, didn't like the error, but only got so far with it. On it again today!
thanks again

--------------- Added 31 Dec 21 at 23:03 ---------------

Removed the /redirect-to from google, it's "processing", and tried the dragonbytes code suggestion, no change.

RedirectMatch 404 ^/redirect-to/.*$

Tried in a couple of different positions in my htaccess and no change. Came to the conclusion that I actually don't care - if someone clicks one of those, that's ok - it is essentially a 404.
Reply With Quote
  #8  
Old 01-24-2022, 03:53 AM
GrantHorizons GrantHorizons is offline
 
Join Date: Mar 2005
Location: Vancouver BC Canada
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI for those with the same issue:
All looking good now, google has cleaned up and no problems visible anywhere.
Kudos to @z3r0!
Reply With Quote
Благодарность от:
TheLastSuperman
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 11:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04466 seconds
  • Memory Usage 2,256KB
  • Queries Executed 14 (?)
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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (3)post_thanks_box_bit
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete