PDA

View Full Version : Own Redirector and Anonymization V2.0


redlabour
10-10-2005, 10:00 PM
This Hack is not longer supported!!! Please use :

Own Redirector and Anonymization V2.0.1 for 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=118042&page=3)

MrNase
10-11-2005, 04:55 PM
<i>if ($url_info["host"]=="www.YOURDOMAIN.de"):</i>

^^

What about YOURDOMAIN.DE without the www. ?

redlabour
10-11-2005, 05:53 PM
Can´t work because vBulletin does not use URL´s without www. for redirecting unhacked.

Was this just a question if it works or do you need this without www. ?

But of course you can ad this Line so that it works with both. With www. or without.

VaaKo
10-11-2005, 08:17 PM
what does this hack do?

redlabour
10-11-2005, 08:29 PM
Sorry i forget :


Demo - that?s what it looks like if you click on a Link (http://www.google.de) where the Hack is installed :

http://www.redlabour.de/forum/links.php?url=http://www.google.de

I have inserted a Screenshot for Hack in Action above in the first Posting ! ;)

Paul M
10-11-2005, 09:20 PM
Sorry i forget :


Demo - that?s what it looks like if you click on a Link (http://www.google.de) where the Hack is installed :

http://www.redlabour.de/forum/links.php?url=http://www.google.de

I have inserted a Screenshot for Hack in Action above in the first Posting ! ;)
Sorry, but I don't speak German and am no wiser now, please can you explain this hacks actual purpose.

vibe
10-12-2005, 03:45 AM
Thanks!!
works great.

redlabour
10-12-2005, 06:55 AM
@Paul M - sorry i think this is selfexplaining.

buro9
10-12-2005, 08:02 AM
Sorry, but I don't speak German and am no wiser now, please can you explain this hacks actual purpose.

Using a META REFRESH to handle the URL for the destination, the hack successfully prevents the referer header being set. As using META REFRESH is one of the ways in which to prevent referer info being set. (Another is using SSL for example.)

This means that the end site cannot see where the request originated... it basically is anonymising the requests of your user.

You might think this is pointless, but some organisations such as the BNP in the UK frequently check their logfiles and visit sites that links came from. In this instance using this hack will prevent a political conversation from being invaded by trolls from sites linked to.

In a one-liner: It anonymises hyperlinks on your forum by preventing referer information being sent to the end site.

redlabour
10-12-2005, 09:23 AM
And it opens a Disclaimer before Redirecting to the other Site what is necessary in some European Countries.

leroub
10-21-2005, 12:38 AM
thx for this hack.... work very fine.... :D

tokenyank
10-22-2005, 09:43 PM
Can?t work because vBulletin does not use URL?s without www. for redirecting unhacked.

Was this just a question if it works or do you need this without www. ?

But of course you can ad this Line so that it works with both. With www. or without.
Not everyone will put www.domain.com

Some will put domain.com or http://www.domain.com or http://domain.com

Where you say you can add a line so it works with both, would you do it like this?

Instead of this:

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


It would be:

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


?

redlabour
10-23-2005, 07:01 AM
Not everyone will put www.domain.com

Some will put domain.com or http://www.domain.com or http://domain.com

Where you say you can add a line so it works with both, would you do it like this?

??? It makes no difference because the http:// is added automatically . :surprised:

Why did you want to do this ?

tokenyank
10-23-2005, 07:24 AM
Because as it is now any link that is http://whatever.com does not get parsed through the link.php only links with www in them.

So, I'll take your word that I don't need to declare the http:// but could you tell us how to add another domain to the variable as I would like to declare that domain.com is handled the same way as www.domain.com, also I have another domain that is not part of my vB domain but do not want the link.php to parse it...

So, long post made short... Could you tell us how to add more domains so it will not parse through links.php?

I just tried it like this:

$url_info = parse_url($rightlink);
if ($url_info["host"]=="www.YOURDOMAIN.de") || ($url_info["host"]=="YOURDOMAIN.de") || ($url_info["host"]=="http://YOURDOMAIN.de") || ($url_info["host"]=="http://www.YOURDOMAIN.de"):
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
else:
return "<a href=\"http://www.YOURDOMAIN.de/forum/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
endif;
and it did not work

redlabour
10-23-2005, 09:01 AM
Oh now i understand - i will take a look of it tomorrow.

tokenyank
10-25-2005, 06:53 AM
any progress?

redlabour
10-25-2005, 07:08 AM
Sorry im busy - maybe anyone other can help ?

redlabour
06-08-2006, 04:24 PM
Still works with 3.6 BETA :

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

redlabour
09-28-2006, 02:09 PM
Thx to "Schattenjaeger" for the Security Fix to 2.0.1 !

redlabour
11-12-2006, 06:19 AM
This Hack is not longer supported!!! Please use :

Own Redirector and Anonymization V2.0.1 for 3.6.x (https://vborg.vbsupport.ru/showthread.php?t=118042&page=3)