ARGHHHHHHHHH ADVANCED Hotlinking script inside

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Oracle Porn
    Affiliate
    • Oct 2002
    • 24433

    #1

    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
    Affiliate
    • Oct 2002
    • 24433

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


    Comment

    • SmokeyTheBear
      ►SouthOfHeaven
      • Jun 2004
      • 28609

      #3
      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 )
      hatisblack at yahoo.com

      Comment

      • SmokeyTheBear
        ►SouthOfHeaven
        • Jun 2004
        • 28609

        #4
        its not super simple but i can walk you through protecting your pics if you want. even from them
        hatisblack at yahoo.com

        Comment

        • Oracle Porn
          Affiliate
          • Oct 2002
          • 24433

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


          Comment

          • SmokeyTheBear
            ►SouthOfHeaven
            • Jun 2004
            • 28609

            #6
            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
            hatisblack at yahoo.com

            Comment

            • Oracle Porn
              Affiliate
              • Oct 2002
              • 24433

              #7
              Originally posted by SmokeyTheBear
              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...


              Comment

              • jollyperv
                Confirmed User
                • Nov 2001
                • 3927

                #8
                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.
                Last edited by jollyperv; 11-28-2008, 11:23 AM.

                Comment

                • Machete_
                  WINNING!
                  • Oct 2002
                  • 14579

                  #9
                  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

                  Comment

                  • Bro Media - BANNED FOR LIFE
                    MOBILE PORN: IMOBILEPORN
                    • Jan 2004
                    • 16502

                    #10
                    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.

                    Comment

                    • jollyperv
                      Confirmed User
                      • Nov 2001
                      • 3927

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

                      Comment

                      • Fucksakes
                        Shit... Fuck! What the Hell?
                        • Dec 2003
                        • 7567

                        #12
                        Id like to find one for movies.

                        Comment

                        • qxm
                          Confirmed User
                          • Jul 2006
                          • 5970

                          #13
                          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
                          Last edited by qxm; 11-28-2008, 02:12 PM.

                          ICQ: 266990876

                          Comment

                          • Kard63
                            Confirmed User
                            • Nov 2003
                            • 8944

                            #14
                            Wow, wtf

                            Comment

                            Working...