Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Is there a good open source cloaking script



7:22 pm on May 4, 2006 (gmt 0)

5+ Year Member

I'm quite new to cloaking but am very interested in it and wanted to write my own script. I've read a lot about how cloaking is done and have some basic idea on what I should do.

The problem is that almost all the info I found in google is very old. If anyone has found open source script I'd be very happy.


3:51 pm on May 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hi skuorj and welcome to WebmasterWorld. I am not aware of any open source cloaking scripts, but they are really pretty easy to write... here is some simple perl pseudo-code:

$ip = $ENV{'REMOTE_ADDR'}; #get the ip address of the visitor
open(IPLIST, "iplist.txt");
@IPlist = <IPLIST>;
foreach $line (@IPlist){
if ($ip eq $line){
# we have a spider
# display some optimized content then exit
# no spider found, display human version, then exit


9:13 pm on May 5, 2006 (gmt 0)

5+ Year Member


Volatilegx thanks a lot.


Featured Threads

Hot Threads This Week

Hot Threads This Month