Welcome to WebmasterWorld Guest from 54.196.244.206

Forum Moderators: open

Message Too Old, No Replies

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

     
5:04 am on May 15, 2001 (gmt 0)

Senior Member

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

joined:June 17, 2000
posts:2924
votes: 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";
}

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members