vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Own Redirector and Anonymization V2.0.1 (https://vborg.vbsupport.ru/showthread.php?t=118042)

redlabour 06-07-2006 10:00 PM

Own Redirector and Anonymization V2.0.1
 
Description:
This is a hack to "anonymize" all outgoing links from your forum to prevent the referrer information from being sent.

Installation:
All the installation information is in the package.

1 File to upload
1 File modified (Class_BBCode)

What's does this Hack do?
Anonymize every outgoing link including a Disclaimer through simply opening a new Window without a Referal.

Update:

Attached german Version !

For full Integration use : vBAnonymizer

Abe1 06-08-2006 08:18 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=91021" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=91021</a>

redlabour 06-08-2006 08:28 PM

Quote:

Originally Posted by Abe1

Nice Hack - but this has nothing to do with this one. Yours did not have a Disclaimer while being redirected to the other Site.

Barakat 06-09-2006 01:00 AM

realy nice and its dont have any conflict with the lighbox hack !

thanks

Snake 06-10-2006 01:16 PM

It's really nice to have this hack. Thanks!

redlabour 06-10-2006 01:23 PM

I have to thank ! ;)

Bubble #5 06-24-2006 06:04 PM

Might want to change the download instructions. They say to search for:

Code:

return "<a href=\"$rightlink\" target=\"_blank\">$text</a>"; [  /code]
This could confuse newbies :bunny:

Also, why are there two leading italic tags here?

Code:

<b><i>
<i> <? echo $site; ?></i></b>

Shouldn't that be:

Code:

<b><i><? echo $site; ?></i></b>

UZFRED 07-09-2006 05:30 AM

Thank you so much, working great in 3.5.4!

tokenyank 07-09-2006 03:35 PM

I'm using a combination of yours and marco's...

I use your links.php to be my own redirector and marco's code because it does the redirect without file edits.

Works great, so thank you to both of you! :D

kenanulas 08-18-2006 01:48 AM

Danke schön

Mastar 08-18-2006 02:48 AM

Nice Installed!

Barteken 08-24-2006 07:25 PM

working like a charm but weird enough internal links are also redirected by the message. When i link to another thread on my forum the users also get the directing page..

What could this be?
i putted my domain in the fields were neccesary in the class_bbcode file..

thx in advance

Edit: weird when i enter in the class_bbcode file another prefix like 'localhost'
then he doesn't use the redirecting service:s
so the hack works but probably not with my domain:s

Snake 08-25-2006 12:16 PM

Thank you!

Barteken 08-28-2006 05:10 PM

how to uninstall this one?? I overwritten the edited class_bbcode file with the original one and he keeps linking to the links.php file how is this possible??

redlabour 08-29-2006 04:01 PM

Quote:

Originally Posted by Barteken
how to uninstall this one?? I overwritten the edited class_bbcode file with the original one and he keeps linking to the links.php file how is this possible??

This is impossible.

Check the complete Installprocess and take the Steps backwards.

Barteken 09-02-2006 09:01 PM

thats what I did but I had to clean the cache on the server :-)

redlabour 09-28-2006 02:10 PM

Thx to "Schattenjaeger" for the Security Fix to 2.0.1 !

phill2003 10-25-2006 08:17 AM

This is great but it sends my internal links with my domaina name in it to links.php still any idea why?

redlabour 10-25-2006 09:28 AM

Quote:

Originally Posted by phill2003
This is great but it sends my internal links with my domaina name in it to links.php still any idea why?

You did something wrong at Installation. Check the replaced part.

phill2003 10-25-2006 06:49 PM

there is nothing to get wrong, i use vb 3.6.0 if that makes a difference but i have put the replacement code in exactly as you have told us to.

redlabour 10-25-2006 07:12 PM

It works perfect at me and everyone else.

You replaced the wrong line.

phill2003 10-25-2006 08:27 PM

oh ok :) i will have a look then but as far as i am aware there is only the one line of code that is the same as we are looking for.

This guy had a problem https://vborg.vbsupport.ru/showpost....7&postcount=12 i assume he fixed it with localhost but that did not do it for me.

phill2003 10-25-2006 08:37 PM

this is what i have put into class_bbcode.php
Code:

$url_info = parse_url($rightlink);
                if ($url_info["host"]=="www.THATSSHOCKING.COM"):
                return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                else:
                return "<a href=\"http://www.thatsshocking.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                endif;

and it does not work as you state it should and indeed does for others, now if i have made a mistake would be gatefull if you would point it out to me as i cant for the life of me see where? :)

Revpolar 10-26-2006 05:56 AM

I switched to this one mainly because it works for links posted into the shoutbox and the other one didnt. Thank you nice hack.

redlabour 10-26-2006 06:02 AM

Quote:

Originally Posted by phill2003
this is what i have put into class_bbcode.php
Code:

$url_info = parse_url($rightlink);
                if ($url_info["host"]=="www.THATSSHOCKING.COM"):
                return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                else:
                return "<a href=\"http://www.thatsshocking.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                endif;


Which line did you have replaced ?

Quote:

Originally Posted by Revpolar
I switched to this one mainly because it works for links posted into the shoutbox and the other one didnt. Thank you nice hack.

Thanx ! :)

Revpolar 10-26-2006 06:58 AM

His problem is the all caps in his Site url.

BTW it would be useful to include an english version of links.php in the download.

phill2003 10-26-2006 07:50 AM

Quote:

Originally Posted by Revpolar
His problem is the all caps in his Site url.


Really, i'll change it and see what happens. Does it do it with yours because it may be something wrong with my server or something if it really is only me its happening to.

and do you just put www or do you need the http part as well.

[edit] no didnt make a difference its still using links.php for all links.

Rian 10-26-2006 03:16 PM

Not working unfortunately. Go to www.whatismyip.com using this script.

redlabour 10-26-2006 03:23 PM

Quote:

Originally Posted by Rian
Not working unfortunately. Go to www.whatismyip.com using this script.

You misunderstand the way it is working. It is only anonymizing the Refererr - not the IP !!

The Website you come from stay anonym - not the User.

It is usefull if you do not want to let see other Webmasters that you are linking to them.

Revpolar 10-26-2006 07:04 PM

Quote:

Originally Posted by phill2003
Really, i'll change it and see what happens. Does it do it with yours because it may be something wrong with my server or something if it really is only me its happening to.

and do you just put www or do you need the http part as well.

[edit] no didnt make a difference its still using links.php for all links.

Phil try this.
Code:

$url_info = parse_url($rightlink);
                if ($url_info["host"]=="www.thatsshocking.com"):
                return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                else:
                return "<a href=\"http://www.thatsshocking.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                endif;


SloppyGoat 10-31-2006 08:08 AM

Is there a way to make this work in the forum of my choice only?

SloppyGoat 11-01-2006 04:08 AM

I tried it, and it doesn't work on 3.6.2. It starts to redirect, then just says "http://myaddress.com/<?%20echo%20$site"
....and shows The page cannot be found. WTH?

Also, this crap shows above the redirect message.

$value) { $site .= $key."=".$value."&"; } $site = htmlentities( substr($site, 4, -1) ); ?>

redlabour 11-01-2006 05:27 AM

Quote:

Originally Posted by SloppyGoat
I tried it, and it doesn't work on 3.6.2. It starts to redirect, then just says "http://myaddress.com/<?%20echo%20$site"
....and shows The page cannot be found. WTH?

Also, this crap shows above the redirect message.

$value) { $site .= $key."=".$value."&"; } $site = htmlentities( substr($site, 4, -1) ); ?>

OMG - read the Instructions - it works at 3.6.2 ! :rolleyes:

SloppyGoat 11-01-2006 07:07 AM

I did, and it's not working. Maybe it's the instructions. Maybe they're lost in translation, but I have no idea what "The Part" is or what you're implying I do with it.

SloppyGoat 11-01-2006 07:23 AM

Here's what I did, exactly:

1. Substituted the html code in links.php with "The Part", since it was in German or something.

So, it looked like this:

Code:

<?
foreach ($_GET as $key => $value) {
        $site .= $key."=".$value."&";
}
$site = htmlentities( substr($site, 4, -1) );
?>
<HTML>
<HEAD>
<TITLE>Re-directing...</TITLE>

<meta http-equiv="refresh" content="5; URL=<? echo $site; ?>">


</HEAD>
<body>

<br>
<div style="text-align: center;">
<center><font
 style="color: rgb(204, 0, 0); font-weight: bold;" size="-1"><span
 style="font-family: Arial;">You clicked on a external Link which is forwarding to external Webcontent.<br>
<br>
The area of responsibility of tga.dynu.com does not extend to other Webcontent.<br>
<br>
Therefore we do not take any responsibility
for the following information.
<br>
<br>
You will be redirected to  :</span></font><br>

<b><i><? echo $site; ?></i></b></center>

</body>
</HTML>


2. I upload "links.php" to my root folder.


3. Replaced that portion of code with the suggested code in class_bbcode.php so it looked like this:

Code:

$url_info = parse_url($rightlink);
                if ($url_info["host"]=="tga.dynu.com"):
                return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                else:
                return "<a href=\"http://tga.dynu.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                endif;


redlabour 11-01-2006 07:43 AM

1. Use www.tga.dynu.com

2. You are using vBulletin Version 2.3.0 at this Domain. This is not compatibel.

SloppyGoat 11-01-2006 11:07 AM

1. It doesn't matter what url I use at the moment because it's a test forum. It should still work if I stop the process and change the url to the internal IP anyway.

2. This is a v3.6.2 forum running on a new server. It's actually running on the same domain, but on port 81. www isn't necessary unless you include it in your configuration. I don't. It's a waste of space these days. There's no need to type "www" anymore, unless it's specifically stated that way in someone's config.

redlabour 11-01-2006 11:28 AM

Nice to know. :D
Maybe this is the Problem. Nobody else has Problems as you can see in this Thread. Only one Member that has made a Scripterror at the Installation.
This is a pure 3.6.2 Release.

So test it without Port change and take another look into the installation Description. Maybe you have replaced the wrong part in the Originalcode. But i believe there is a Serverproblem.

redlabour 11-12-2006 06:19 AM

This Hack is not longer supported!!! Please use :

https://vborg.vbsupport.ru/showthread.php?t=131292

redlabour 11-13-2006 09:30 AM

After vBAnonymizer has some security Risks and some Bugs (not vBAdvanced compatibel and others ...) i suggest to reinstall my Hack if you have it deinstalled after the Mail from Yesterday.


All times are GMT. The time now is 06:07 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.01253 seconds
  • Memory Usage 1,827KB
  • 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
  • (8)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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