Welcome to WebmasterWorld Guest from 50.19.190.144

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)

New User

5+ Year Member

joined:May 4, 2006
posts:4
votes: 0


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 22, 2001
posts:2450
votes: 0


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>;
close(IPLIST);
foreach $line (@IPlist){
chomp($line);
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)

New User

5+ Year Member

joined:May 4, 2006
posts:4
votes: 0


Hi,

Volatilegx thanks a lot.