homepage Welcome to WebmasterWorld Guest from 54.226.10.234
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Marketing and Biz Dev / Cloaking
Forum Library, Charter, Moderator: open

Cloaking Forum

    
For those who just don't get cloaking...
littleman

WebmasterWorld Senior Member littleman us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 208 posted 5:04 am on May 15, 2001 (gmt 0)

This script is cloaking broken down to it's simplest level. All you need to do is know your IP address (you could find it by going to the link in my profile) and put your IP in the script where it says "Put_your_IP_here". Then run the script with a dummy IP (don't leave it blank) and watch the change. It all starts with this simple logic.

#!/usr/bin/perl
print "Content-Type: text/html\n\n";

my $RA = "$ENV{'REMOTE_ADDR'}";
if ($RA =~/Put_your_IP_here/) {
print "I think you are a spider";
}
else {
print "I think you are a human";
}

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Marketing and Biz Dev / Cloaking
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved