GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   ARGHHHHHHHHH ADVANCED Hotlinking script inside (https://gfy.com/showthread.php?t=702678)

Oracle Porn 02-03-2007 07:32 PM

ARGHHHHHHHHH ADVANCED Hotlinking script inside
 
PHP Code:

<SCRIPT><!--
var 
D=document
var IframeName=Math.round(Math.random()*1000000)
var 
baseHeader='http://www.DOMAIN.com'
var basePath='PATH TO PICTURES'
var galUrls=new Array("PIC1.jpg","PIC2.jpg","PIC3.jpg")
var 
curNum=0
var tmp
function loadPhoto(num) {
/*
a=window.Event
s=''
for (i in a) s+=i+' : '+a[i]+'\r\n'
w=open()
d=w.document
d.open('text/plain')
d.write(s)
d.close()
*/
  
if (num) {
    
tmp=D.RECLAMA1 || D.getElementById('RECLAMA1').contentWindow
    tmp
.history.go(0)
    
tmp=D.RECLAMA2 || D.getElementById('RECLAMA2').contentWindow
    tmp
.history.go(0)
    }
  
curNum=(curNum+num)%galUrls.length
  
var url=galUrls[curNum]
  
url=baseHeader+((url.charAt(0)=='/') ? '' basePath)+url
  tmp
=D.PHOTO || D.getElementById('PHOTO').contentWindow
  tmp
.name=IframeName
  open
("javascript:\"<img style='cursor:hand' onClick='parent.loadPhoto(1)' src='"+url+"'>\"",IframeName)
  
D.forms[0].CURRENT.value=curNum+1
//  D.all['CURRENT'].innerHTML=curNum+1
  
D.getElementById('PREV').style.visibility=(curNum>0) ? 'visible' 'hidden'
  
D.getElementById('NEXT').style.visibility=((curNum+1)<url.length) ? 'visible' 'hidden'
  
return false
  
}
function 
fitPhoto() {
  
tmp=D.PHOTO || D.getElementById('PHOTO').contentWindow
  
var im=tmp.document.images[0]
  
tmp.resizeTo(im.width+4,im.height+4)
  }
//-->
</SCRIPT> 

Smokey, how can I block that shit?

Oracle Porn 02-03-2007 07:35 PM

THEY CAN HOTLINK ANY PICTURE THEY WANT! 100's OF FUCKING GALLERIES HOTLINKED!

SmokeyTheBear 02-03-2007 07:36 PM

hah i just built the ultimate hotlinking tool .. see my thread it kicks ass, but its good for you because mine gives you credit..

You can block images with htaccess but you have to also block no referrer to make it work good. even then its still going to be somewhat possible..

I built a script to let you watermark images that protects against hotlinkers while at the same time putting your logo on pics ( strong logo when hotlinked , light logo when used on your own server )

SmokeyTheBear 02-03-2007 07:37 PM

its not super simple but i can walk you through protecting your pics if you want. even from them :)

Oracle Porn 02-03-2007 07:38 PM

how to block no ref?
post a link to your thread plz...

SmokeyTheBear 02-04-2007 11:44 AM

http://www.gofuckyourself.com/showthread.php?t=697720

Thats my thread , but doesnt show how to block no referrer hits..


heres a tool to create a proper htaccess and block no referrer hits to images ( advanced hotlinking )

http://www.htmlbasix.com/disablehotlinking.shtml


my method though is much better than htaccess because all the pictures will still show up. But you can alter the pictures in any way or even randomly

Oracle Porn 02-04-2007 12:35 PM

Quote:

Originally Posted by SmokeyTheBear (Post 11857773)
http://www.gofuckyourself.com/showthread.php?t=697720

Thats my thread , but doesnt show how to block no referrer hits..


heres a tool to create a proper htaccess and block no referrer hits to images ( advanced hotlinking )

http://www.htmlbasix.com/disablehotlinking.shtml


my method though is much better than htaccess because all the pictures will still show up. But you can alter the pictures in any way or even randomly

I have hosting overages i need to get down thats why i need to block russian hotlinkers.....not alter the imgs...

jollyperv 11-28-2008 01:22 PM

Sorry to bump this, I'm currently being raped by some russian fuck, redlips.ru...gigs are burning by the hour...

It's the same javascript shit from the first post, anyone figure out a fix? Normal htaccess stuff does nothing. I'm looking for a way to keep normal no referrer traffic, just want to block this fucker's IP.

Machete_ 11-28-2008 01:28 PM

on a diff note - check this image mouseover effect

http://www.fishki.net/comment.php?id=44830

check the bar that rolls over the image in the bottom when you move the mouse over it

Bro Media - BANNED FOR LIFE 11-28-2008 01:41 PM

I use PHP to stop hotlinking, what my script does is it checks referrer, if its not my domain, then it displays a scaled down less quality version with a banner across it that says where to get the full size better quality version.

jollyperv 11-28-2008 03:57 PM

bump...this shit is driving me crazy, sucessfully stumped the shitty live support at my host.

Fucksakes 11-28-2008 04:07 PM

Id like to find one for movies.

qxm 11-28-2008 04:10 PM

yeap.. some hotlinking fuckers to watch out for are:

hxxp://www.freefoto.cz/gallery.php
hxxp://www.ruporno.org/click.php
hxxp://www.elreyanovip.com/popit.php

I am using a custom mod by webair but the dam fuckers are somehow still able to get thru ... but they are not screwing me like they did back when I didn't have anti-hotlinking protection (was only using htaccess but didn't work)... also had to increase to 15mbps to avoid overages... now things are better :)

Kard63 11-28-2008 04:18 PM

Wow, wtf


All times are GMT -7. The time now is 11:35 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123