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)
-   -   Cheating google images ( $$$ ) (https://gfy.com/showthread.php?t=579380)

SmokeyTheBear 02-23-2006 04:21 AM

Cheating google images ( $$$ )
 
I wrote a thread awhile ago about google images and how it tends to reward hotlinkers with traffic instead of the rightfull owner..

Example. If i own a one page site widgets.com and my main logo is called widgets.gif and someone from gfy hotlinks that image and posts it in a few threads linking to the picture with the words "widget" you would likely end up finding the image on google images but the link to "the original page" will likely be GFY not widgets.com ( even though it would be simple for google to see if the image exists on a page google has already spidered on the same server as the image )

Ok so anyways heres the trick/tip

first open up notepad and save this as .htaccess or however you save your .htaccess and upload it to a new folder you create on your server , in this example i will call the folder "example" on domain example.com

Code:

Options +FollowSymlinks
 RewriteEngine on
 RewriteRule ^(.*)\.jpg http://example.com/example/index.php?x=$1 [nc]

ok then save the following as "index.php" and upload to the same directory

Code:


<?php
$wrd = $_GET['x'];
header("Content-type: image/gif");
$img = imagecreatefromgif("original.gif");
$black = ImageColorAllocate($img, 0, 0, 0);
ImageString($img, 4, 1, 1, $wrd, $black);
ImageGif($img);
ImageDestroy($img);
?>


ok now basically what it does is any .jpg that is called in that directory is then sent to index.php?x=FILENAME YOU TRIED TO ACCESS

it then uses the words in the filename you tried to access to write those words ontop of a picture you specify "original.gif"

So now you just create a base picture and name it "original.gif" and place it in the same directory as the other two files..

now to use it you just create any p[icture name you want and it will be created on the fly..

example..

<img src=http://example.com/example/i-love-google.jpg>

And it would write the words I-LOVE-GOOGLE on top of the picture original.gif

So lets say you wanted to score top marks for george bush related keywords , you would just get a kyword list add .jpg on the end of every keyword add <img src=http://yourserver.com/example/ in front of every keyword and post it on a page and voila you have hundreds of pictures created on the fly, each with the keywords imprinted on them.

p.s. sloppy php code , sowwy im new at it

Spartans 02-23-2006 04:31 AM

Thanks for the tip..

PussyTeenies 02-23-2006 04:34 AM

nice

but still it would eat bandwith :)

SmokeyTheBear 02-23-2006 04:36 AM

btw technically you dont even need to do the htaccess part because google will read images with .php extensions just fine so you could skip the htaccess part and just do <img src=http://example.com/example/index.php?x=keywords-here> and achieve the same thing , but other image collectors might be different ( and it wont work posting images on forums like gfy that wont allow stuff after the ? in an image url , but will def still work for google and regular html

Zyber 02-23-2006 04:37 AM

That's a creative solution to create on-the-fly pictures with keywords..

But but, I cannot see how this would solve your initial problem. To avoid other sites to hotlink your graphics. That part seems to be forgotten. If I am mistaken then please elaborate more on your conclusion. Thanks :winkwink:

SmokeyTheBear 02-23-2006 04:39 AM

Quote:

Originally Posted by PussyTeenies
nice

but still it would eat bandwith :)

yup it does everytime a picture is called and created on the fly the original.gif is called .. i suggest using a small original.gif

it still eats bandwidth but doesnt require much disk space :winkwink: and you can rid most of the bandwidth by simply adding code onto the pages that you insert the images on.. ( where the traffic goes ) to redirect google images traffic but not the spiders

SmokeyTheBear 02-23-2006 04:40 AM

Quote:

Originally Posted by Zyber
That's a creative solution to create on-the-fly pictures with keywords..

But but, I cannot see how this would solve your initial problem. To avoid other sites to hotlink your graphics. That part seems to be forgotten. If I am mistaken then please elaborate more on your conclusion. Thanks :winkwink:

no heh the 2 things were unrelated. i just posted it as a way to get back at google using their own flaw.

btw conceivably one could also use this to dilute their copyright material from being posted on sites like google images.

make a domain called fuckyouhotlinkingbitches.com then do the method above using the keywords of your copyright work.. example "playboy" then make hundreds of playboy related pictures and link them in lots of places and when people search for playboy they will find whatever picture you want on that domain "instead" of your copyright work.. or at the very least dilute whats there somewhat..

marko13 02-23-2006 04:40 AM

nice tip for us ....

strobi 02-23-2006 04:42 AM

Quote:

Originally Posted by PussyTeenies
nice

but still it would eat bandwith :)

Who cares at BW prices this low???

Smokey, thanks for the tip, again! You've made me quite some dollars ;-)

Nicky 02-23-2006 04:42 AM

Quote:

Originally Posted by Zyber
That's a creative solution to create on-the-fly pictures with keywords..

But but, I cannot see how this would solve your initial problem. To avoid other sites to hotlink your graphics. That part seems to be forgotten. If I am mistaken then please elaborate more on your conclusion. Thanks :winkwink:

I dont think that was the initial problem, he just showed us a way to get easy google img traffic :)

emthree 02-23-2006 04:56 AM

Thank you kindly.

alexg 02-23-2006 05:43 AM

let me see if i understand...

the idea is to create many html pages, that are basically the same but named differently. each page is "optimized" for a different keyword, and calls an image that's named after this keyword... google will think you actually have an image named this way but you really only have one image that will be called each time...

this way you'll get ranks in google images and you can redirect each page to a sponsor or something..

SmokeyTheBear 02-23-2006 05:49 AM

Quote:

Originally Posted by alexg
let me see if i understand...

the idea is to create many html pages, that are basically the same but named differently. each page is "optimized" for a different keyword, and calls an image that's named after this keyword... google will think you actually have an image named this way but you really only have one image that will be called each time...

this way you'll get ranks in google images and you can redirect each page to a sponsor or something..

nope you dont have to create multiple html files , just do the steps above then create hundreds of image links like
<img src=free-widgets.jpg>
<img src=blue-widgets.jpg>

<img src=red-widgets.jpg>

<img src=big-widgets.jpg>
on one page called widgets.html

i suppose then yes you would then create more html pages

it wqould be easier to input into a blog format.. or a forum or something

Basically you make your posts like you normally do but at the bottom you add a list of 100 images that correlate with your post.

SmokeyTheBear 02-23-2006 05:52 AM

infact a forum like gfy ( that you controlled ) would be a great place to store/link them

So erach keyword you want to dominate you grab a list for then make a post on the forum , inside you insert 100 images all correlating to the keyword , then move onto the next post with new images etc

minusonebit 02-23-2006 05:53 AM

Good tip, I can think of some ideas for applying this. :-)

fris 02-23-2006 05:55 AM

Quote:

Originally Posted by SmokeyTheBear
I wrote a thread awhile ago about google images and how it tends to reward hotlinkers with traffic instead of the rightfull owner..

Example. If i own a one page site widgets.com and my main logo is called widgets.gif and someone from gfy hotlinks that image and posts it in a few threads linking to the picture with the words "widget" you would likely end up finding the image on google images but the link to "the original page" will likely be GFY not widgets.com ( even though it would be simple for google to see if the image exists on a page google has already spidered on the same server as the image )

Ok so anyways heres the trick/tip

first open up notepad and save this as .htaccess or however you save your .htaccess and upload it to a new folder you create on your server , in this example i will call the folder "example" on domain example.com

Code:

Options +FollowSymlinks
 RewriteEngine on
 RewriteRule ^(.*)\.jpg http://example.com/example/index.php?x=$1 [nc]

ok then save the following as "index.php" and upload to the same directory

Code:


<?php
$wrd = $_GET['x'];
header("Content-type: image/gif");
$img = imagecreatefromgif("original.gif");
$black = ImageColorAllocate($img, 0, 0, 0);
ImageString($img, 4, 1, 1, $wrd, $black);
ImageGif($img);
ImageDestroy($img);
?>


ok now basically what it does is any .jpg that is called in that directory is then sent to index.php?x=FILENAME YOU TRIED TO ACCESS

it then uses the words in the filename you tried to access to write those words ontop of a picture you specify "original.gif"

So now you just create a base picture and name it "original.gif" and place it in the same directory as the other two files..

now to use it you just create any p[icture name you want and it will be created on the fly..

example..

<img src=http://example.com/example/i-love-google.jpg>

And it would write the words I-LOVE-GOOGLE on top of the picture original.gif

So lets say you wanted to score top marks for george bush related keywords , you would just get a kyword list add .jpg on the end of every keyword add <img src=http://yourserver.com/example/ in front of every keyword and post it on a page and voila you have hundreds of pictures created on the fly, each with the keywords imprinted on them.

p.s. sloppy php code , sowwy im new at it

i am doing sorta something like that fort a site



RewriteRule ([0-9a-zA-z]+).jpg$ http://www.domain.com/view.php?id=$1 [P]

its for an opendir of images

then displays theimage then has a header on top and footer (view.php)

Pryda 02-23-2006 05:57 AM

I think you'll need a strong server for that.

Normally, the file is read and sent to the visitor. In your case, the file is read, opened with Gd, the text is written on the image, the image is re-compressed and sent to the visitor.

But then again, I may have overestimated the whole process.

SmokeyTheBear 02-23-2006 06:02 AM

Quote:

Originally Posted by fris
i am doing sorta something like that fort a site



RewriteRule ([0-9a-zA-z]+).jpg$ http://www.domain.com/view.php?id=$1 [P]

its for an opendir of images

then displays theimage then has a header on top and footer (view.php)

:thumbsup i was just going to say your not limited to .jpg you can create html pages on the fly using htaccess the same way.

Like lets say you added in the ability to make the page so instead of just creating the image , you rewrite .html as .php and use the filename to create a page based on the keyword AND a jpg along with it..

SmokeyTheBear 02-23-2006 06:05 AM

Quote:

Originally Posted by Pryda
I think you'll need a strong server for that.

Normally, the file is read and sent to the visitor. In your case, the file is read, opened with Gd, the text is written on the image, the image is re-compressed and sent to the visitor.

But then again, I may have overestimated the whole process.

well you wouldnt actually put the images on a place that a person would be viewing them , purely for a spider to view.. so there would only be load when google is spidering your pics, and i assume they dont slam you to bad.. when i create hundred of pictures using this method the server seems to create them back2back quite fast..

SmokeyTheBear 02-23-2006 06:07 AM

theres a limit to how many pics gfy will let you post in 1 post , but ill show an example ,so you can see the load time ,

SmokeyTheBear 02-23-2006 06:16 AM

heres an example i used a george bush keyword list against ageorge bush pic

http://com.webspacemania.com/gtest/google.html

alexg 02-23-2006 06:16 AM

Quote:

Originally Posted by SmokeyTheBear
nope you dont have to create multiple html files , just do the steps above then create hundreds of image links like
<img src=free-widgets.jpg>
<img src=blue-widgets.jpg>

<img src=red-widgets.jpg>

<img src=big-widgets.jpg>
on one page called widgets.html

i suppose then yes you would then create more html pages

it wqould be easier to input into a blog format.. or a forum or something

Basically you make your posts like you normally do but at the bottom you add a list of 100 images that correlate with your post.

but then it would display the same image many times to a user... won't it?
not that you care about it if you plan to redirect the google images traffic anyways...

alexg 02-23-2006 06:18 AM

Quote:

Originally Posted by SmokeyTheBear
heres an example i used a george bush keyword list against ageorge bush pic

http://com.webspacemania.com/gtest/google.html

yep, that's what i thought...

nice tip man :thumbsup

SmokeyTheBear 02-23-2006 06:24 AM

Quote:

Originally Posted by alexg
but then it would display the same image many times to a user... won't it?
not that you care about it if you plan to redirect the google images traffic anyways...

yup , but you dont pu tthe images anywhere where people would see them..

what you would do is create a hidden table and insert all the pictures inside of it.. or add some code to the page to redirect it from google images

the easiest code is the one i posted above because google wont detect it just make the first image abroken image <img src=broken.gif onerror=window.open('http://yoursite.com','_top')> then it will load you site as soon as it encounters the error ( much before it load all the pics )

Pryda 02-23-2006 06:26 AM

Quote:

Originally Posted by SmokeyTheBear
well you wouldnt actually put the images on a place that a person would be viewing them , purely for a spider to view.. so there would only be load when google is spidering your pics, and i assume they dont slam you to bad.. when i create hundred of pictures using this method the server seems to create them back2back quite fast..

Ah, in that case, it won't be a big burden :)
Nice find :thumbsup

SmokeyTheBear 02-23-2006 06:32 AM

infact you could simply duplicate the above code and make it also create the html file that holds the image at the same time


make another folder and add this

first the htacees ( a little different )

Code:

Options +FollowSymlinks
 RewriteEngine on
 RewriteRule ^(.*)\.html http://example.com/newexample/index.php?x=$1 [nc]

then make another index.php and put this in it

Code:

<?php
$wrd = $_GET['x'];
echo "<a href=http://example.com/example/$wrd.jpg>$wrd<br><img src=http://example.com/example/$wrd.jpg></a><add extra html here if you want>";
?>


alexg 02-23-2006 06:34 AM

Quote:

Originally Posted by SmokeyTheBear
yup , but you dont pu tthe images anywhere where people would see them..

what you would do is create a hidden table and insert all the pictures inside of it.. or add some code to the page to redirect it from google images

the easiest code is the one i posted above because google wont detect it just make the first image abroken image <img src=broken.gif onerror=window.open('http://yoursite.com','_top')> then it will load you site as soon as it encounters the error ( much before it load all the pics )

another great idea :thumbsup

Ace_luffy 02-23-2006 06:37 AM

nice tip....

SmokeyTheBear 02-23-2006 06:37 AM

now what you can do is simply link to any page.html and it will create the html page and an image at the same time..

heres an example ( skipping the htaccess )

http://com.webspacemania.com/gtest/ex.php?x=some-words

http://com.webspacemania.com/gtest/ex.php?x=anything

http://com.webspacemania.com/gtest/e...heating-google

SmokeyTheBear 02-23-2006 06:41 AM

if i used htaccess i would simply link to http://example.com/example/anything.html and it would create an image , write the words "anything" on it , link to it and display the image

in the example i just posted i skippped the htaccess part ( you dont have to use it either its just a more clever way of doing it )

Downtime 02-23-2006 07:23 AM

one of the few helpful threads on this page lol, nice post smokey


All times are GMT -7. The time now is 10:29 AM.

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