1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Free basic cloaking + shuffling script

Discussion in 'Cloaking and Content Generators' started by SERGEY, Mar 8, 2007.

  1. SERGEY

    SERGEY Newbie

    Joined:
    Mar 8, 2007
    Messages:
    2
    Likes Received:
    0
    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 "   ";
    }
    }
    
    }
     ?>
    
     
  2. Diamond Damien

    Diamond Damien Owner BlackHatWorld Staff Member Jr. VIP

    Joined:
    Oct 27, 2005
    Messages:
    55,622
    Likes Received:
    12,440
    Home Page:
    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?
     
  3. turnkeytraders

    turnkeytraders Registered Member

    Joined:
    Mar 6, 2007
    Messages:
    64
    Likes Received:
    7
    Home Page:
    Some people are just jealouse i think fucking bastards that was stupid of the person who reported you
     
  4. china186

    china186 Newbie

    Joined:
    Mar 19, 2007
    Messages:
    15
    Likes Received:
    1
    Good script you have there,thanks
     
  5. Theo

    Theo Newbie

    Joined:
    Mar 30, 2007
    Messages:
    12
    Likes Received:
    1
    Occupation:
    Daily
    Location:
    Northern Hemisphere
    Thanks for the script...
    I'll have to learn how to use it now
     
  6. navin

    navin Junior Member

    Joined:
    Mar 15, 2007
    Messages:
    106
    Likes Received:
    25
    how the hell do u use that script?
     
  7. TwistR

    TwistR Newbie

    Joined:
    Apr 6, 2007
    Messages:
    14
    Likes Received:
    0
    Yea, how to use that script ??
    What language is the script written in ?
     
  8. Lucifer

    Lucifer Newbie

    Joined:
    Mar 22, 2007
    Messages:
    15
    Likes Received:
    0
    How big of a loser do you have to be to report someone for cloaking?
     
  9. pome

    pome Newbie

    Joined:
    Jun 1, 2007
    Messages:
    5
    Likes Received:
    0
    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?
     
  10. beneth

    beneth Newbie

    Joined:
    Dec 20, 2006
    Messages:
    13
    Likes Received:
    0
    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 :).
     
  11. Success Hunter

    Success Hunter Newbie

    Joined:
    Feb 17, 2007
    Messages:
    35
    Likes Received:
    1
    Occupation:
    Making Big $$$
    Location:
    Online
    Is this where I keyword spam?
     
  12. arw1986

    arw1986 Newbie

    Joined:
    Jun 11, 2007
    Messages:
    23
    Likes Received:
    0
    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
     
  13. seadigital

    seadigital Newbie

    Joined:
    Aug 5, 2007
    Messages:
    17
    Likes Received:
    0
    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! :)
     
  14. Cloakster

    Cloakster Newbie

    Joined:
    Aug 4, 2007
    Messages:
    10
    Likes Received:
    0
    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).
     
  15. supa

    supa Registered Member

    Joined:
    Aug 10, 2007
    Messages:
    62
    Likes Received:
    57
    nice script!
     
  16. bbbsites

    bbbsites Newbie

    Joined:
    Aug 20, 2007
    Messages:
    18
    Likes Received:
    2
    Thank you for the nice script.
     
  17. blitz

    blitz Newbie

    Joined:
    Aug 25, 2007
    Messages:
    27
    Likes Received:
    1
    Thank You for the script
     
  18. brad1001

    brad1001 Junior Member Premium Member

    Joined:
    Apr 1, 2006
    Messages:
    101
    Likes Received:
    1,196
    I have similar script (WP plugin), that appends text to duplicate articles to prevent them from being hit by the duplicate content filters. I'm unable to post the link (less than 15 posts), but look for the article about 'Avoiding Duplicate Content Penalties The Plugin' on my blog (link in sig.)
     
  19. cysh

    cysh Newbie

    Joined:
    Oct 9, 2007
    Messages:
    45
    Likes Received:
    21
    thanx for the script will try
     
  20. aftershock2020

    aftershock2020 Senior Member

    Joined:
    Oct 19, 2007
    Messages:
    981
    Likes Received:
    477
    Very good code work. Interesting the way people will come into these style of sites and forums when no one is looking and then turn on you for doing the same techniues they are using... " HAIL HYPOCRYTICAL MORONS!!! "

    Good code work, did you do this yourself or outsource to a programmer?