Black Hat Forum
Go Back   Black Hat Forum > Black Hat SEO Forum > Cloaking and Content Generators

Cloaking and Content Generators Discuss Cloaking, Doorway pages and Automatic content generators for search engine optimization

Search
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2007, 12:33 AM
Newbie
 
Join Date: Mar 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 55%
Today: 0/5
Default Free basic cloaking + shuffling script

Some moron reported our sites, so we will stop using it for a
while and make improved script.

It's not perfect, it's just a nice small script to begin
with and extend it as you need

It checks if user-agent contains word "google", or
if reverse-domain lookup contains "google".

If yes, it inserts randomly keywords at every visit to make site
appear "often updated" for Googlebot

Some suggestions for improvement:
- don't overuse it too much
- extend it (i.e. sentence-like)

You need PHP5 for stripos!

If you use PHP4, please replace it by equivalent expression
to convert string to uppercase and then compare it against
uppercase value. Any PHP-savvy person can help you with it

Code:
<?
error_reporting(0);
if((isset($_SERVER["HTTP_USER_AGENT"])&&is_numeric(stripos($_SERVER["HTTP_USER_AGENT"], "Google")))||
$_SERVER["QUERY_STRING"]=="google"||(isset($_SERVER["REMOTE_HOST"])&&stripos($_SERVER["REMOTE_HOST"],"google")))
{
$keywords = array("keywords","go","into","this","array");
srand((float)microtime()*1000000);
shuffle($keywords);
for($y=0;$y<20;$y++)
{
srand((float)microtime() * 1000000);
shuffle($keywords);
for($x=0;$x<count($keywords);$x++)
{
echo $keywords[$x];
echo "   ";
}
}

}
 ?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-08-2007, 01:13 AM
Diamond Dave's Avatar
Site Owner & Administrator
 
Join Date: Oct 2005
Posts: 969
Thanks: 27
Thanked 244 Times in 50 Posts
Activity: 11%
Longevity: 100%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Nice little script you have there. Did you know the person that reported you? Or was it some random jerk that found out you were cloaking?
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-08-2007, 06:27 PM
Registered Member
 
Join Date: Mar 2007
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 55%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Some people are just jealouse i think fucking bastards that was stupid of the person who reported you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-28-2007, 06:55 AM
Newbie
 
Join Date: Mar 2007
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 9%
Longevity: 54%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Good script you have there,thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-30-2007, 10:31 PM
Theo's Avatar
Newbie
 
Join Date: Mar 2007
Location: Northern Hemisphere
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 53%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Thanks for the script...
I'll have to learn how to use it now
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-31-2007, 03:27 PM
navin's Avatar
Jr. VIP
 
Join Date: Mar 2007
Posts: 148
Thanks: 2
Thanked 1 Time in 1 Post
Activity: 4%
Longevity: 55%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

how the hell do u use that script?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-08-2007, 07:01 PM
Newbie
 
Join Date: Apr 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 53%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Yea, how to use that script ??
What language is the script written in ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-14-2007, 04:51 AM
Newbie
 
Join Date: Mar 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 54%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

How big of a loser do you have to be to report someone for cloaking?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-02-2007, 03:56 PM
Newbie
 
Join Date: Jun 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 48%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Are you supposed to have this code in each of the cloaked pages? or is it possible to have it at one place (server side) and make it work for all the cloaked pages?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-05-2007, 07:48 PM
Newbie
 
Join Date: Dec 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 62%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

You can place the code in it's own file (eg. include.php) and then include it in your other files. Ah, the joys of OOP .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 06-07-2007, 05:12 AM
Success Hunter's Avatar
Registered Member
 
Join Date: Feb 2007
Location: Online
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 57%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Quote:
("keywords","go","into","this","array");
Is this where I keyword spam?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 06-14-2007, 06:33 AM
Newbie
 
Join Date: Jun 2007
Posts: 19
Thanks: 1
Thanked 0 Times in 0 Posts
Activity: 1%
Longevity: 47%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

nice script, but i have one question

maybe anybody could tell me how to modify it that it could redirect user (if it is not a google) to other page?

thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 08-07-2007, 02:53 AM
seadigital's Avatar
Newbie
 
Join Date: Aug 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 42%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Quote:
Originally Posted by beneth View Post
You can place the code in it's own file (eg. include.php) and then include it in your other files. Ah, the joys of OOP .
My question is this. Do we need to OOP it?

Can the php in page be spidered? I was under the impression that it was server side code that could not be seen... until, I read this thread and remembered a programmer telling me he wanted to use perl rather then PHP for anonymity reasons.

Whats the scoop? Thx!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 08-07-2007, 03:58 PM
Newbie
 
Join Date: Aug 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Activity: 0%
Longevity: 42%
Today: 0/5
Default Re: Free basic cloaking + shuffling script

Are you sure someone reported you? I think it's great you're sharing the script, but that type of cloaking would be very easy to detect for several reasons:
1. It would be easy for a competitor to spoof their user agent and see your cloaked page. That's why IP checking is usually preferred.
2. Having content that changes on every single visit is suspicious. When spiders visit the same page to check for new content and it's completely different every time, they may suspect something.
3. Stuffing a page with solid keywords is very spammy and suspicious looking. I think the ideal keyword density is between 3%-10% and that script is basically creating pages of 100% keyword density. Even if the script is just used as an include, the keywords work better if they're peppered throughout the page and not in an obvious clump.

That's just my 2 cents from experience. I was also planning on sharing my php cloaking script as soon as I finish cleaning it up. It addresses all of these issues with IP checking, caching and configurable keyword density per page(plus lots more).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 08-14-2007, 04:00 PM
supa's Avatar
Registered Member
 
Join Date: Aug 2007
Posts: 70
Thanks: 0
Thanked 3 Times in 1 Post
Activity: 0%