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)
-   -   NEw fusker = ixtractor.com -> impossible to stop from hotlinking ! (https://gfy.com/showthread.php?t=649832)

Arty 08-30-2006 02:12 PM

Quote:

Originally Posted by CHMOD
There is something I am missing here...

If, in example, I am using Ixtractor to view my pics now. It will hotlink the pictures wherever they are... Now if the script changes the image folder name in, let's say 30 minutes... When someone will use Ixtractor in 35 minutes he will simply see hotlinked images from the new named folder won't he ?

No, check out that sample:

1 ixtractor parses that gallery http://www.teamnude.com/twistys511/al4a.html
2 grabs image links and creates that page in their system http://www.ixtractor.com/display335248.html
3. images are directly linked from host. like http://www.teamnude.com/twistys511/01.jpg

As you can see, they are hotlinking images not the page itself. So, in 35 minutes that folder (image) won't be there. Images will be broken unless they re-parse the gallery page to grab new image links. But those will be broken again after 30 mins..

I hope this helps... :)

Arty 08-30-2006 02:20 PM

Quote:

Originally Posted by Broda
This is the solution I would suggest.

All that nonsense about constantly renaming your folders, and redirecting non-ref-url traffic.. do any of you guys discussing this actually submit free sites or galleries? jeeez....

It is not actually renaming folders, just creates a symbolic link to it and changes that link over time.

Regarding MySQL solution, do you know what would happen under heavy load? Apache executes php which connects to MySql to grab binary data for every single image? I wouldn't submit that to the hun :helpme

rowan 08-30-2006 02:27 PM

Quote:

Originally Posted by borked
...sorry for the japanese, but this will solve any of those problems

Code:

<img src="/display.php?id=34" border="0">

then

Code:

<?

$connection=@mysql_connect(...);

@mysql_select_db(...);

$query="SELECT mime, file FROM images WHERE id=".$_GET["id"];

$rawdb=@mysql_query ($query,$connection);

if($rawdb AND @mysql_num_rows($rawdb)>0){

  $array=@ mysql_fetch_array($result);

  if (!empty($array["fileContents"])){

    // Output the MIME header

    header("Content-Type: ".$array["mime"]}");

    // Output the image

    echo $array["file"];

  }else{

    // something else...

  }

  @mysql_free_result($rawdb);

}else{

  // something else...

}

@mysql_close($connection);

?>


I looked at this a few times and all I can see is code to send the contents of an image from a mysql db. Where's the hotlink protection?

Boss Traffic Jim 08-30-2006 03:05 PM

Any 1/2 way decent host should solve this for you:2 cents: :2 cents: If yours can't or won't then I would say it's time to move..:2 cents:

Broda 08-30-2006 03:10 PM

Quote:

Originally Posted by Arty
It is not actually renaming folders, just creates a symbolic link to it and changes that link over time.

Regarding MySQL solution, do you know what would happen under heavy load? Apache executes php which connects to MySql to grab binary data for every single image? I wouldn't submit that to the hun :helpme

Yeah I know what would happen. But there are other ways to do it. The technique itself is a viable solution. Just not using mysql :)

And I definitely would not submit a gallery that changes one little bit to thehun either. Wouldn't be much point in that since it would be removed from the list within 30 minutes.
Unless you mean something really clever with a symbolic link, no matter what, to make it effective, there would have to be some change to the gallery/pic page.

Not looking to start a discussion... each to his own :)

borked 08-30-2006 11:22 PM

Quote:

Originally Posted by rowan
I looked at this a few times and all I can see is code to send the contents of an image from a mysql db. Where's the hotlink protection?

I was thinking more along the lines of using sessions to make the call. But as pointed out, browsers set to not accept cookies by default would get locked out.

Then I thought of the javascript solution below. You could maybe only implement the javascript if there was no referer value, that way not locking out those that have javascript turned off...unless you have javascript off and referer set to zero, but then in that case scenario, you're prolly up to no good anyways....

Quote:

Originally Posted by borked
Code:

<script language=javascript>
//Beginning of "test.js" file
var accepted_domains=new Array("yourdomain.com","www.yourdomain.com")

var domaincheck=document.location.href //retrieve the current URL of user browser
var accepted_ok=false //set acess to false by default

if (domaincheck.indexOf("http")!=-1){ //if this is a http request
for (r=0;r<accepted_domains.length;r++){
if (domaincheck.indexOf(accepted_domains[r])!=-1){ //if a match is found
accepted_ok=true //set access to true, and break out of loop
break
}
}
}
else
accepted_ok=true

if (!accepted_ok){
alert("Fuck off linking to my images!!")
history.back(-1)
}

</script>
<img src="image123.jpg">



toddler 08-30-2006 11:48 PM

Split had it above .Just drop the fucking route people, its NOT rocket science.

Brujah 08-31-2006 12:44 AM

I love all the "it's not rocket science..." comments, who don't realize what they're saying.. or how simple it is to get around. :)


All times are GMT -7. The time now is 09:16 PM.

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