Please everyone:
Can someone add a redirect script to my site without my knowledge? How can I find that out? How can I prevent that? If it's there, how can I get rid of it?
I submitted couple of galleries to the hun...
First: The hun's bot says http://www.teensweek.com/master/1006.html has a redirect <META HTTP-EQUIV="Refresh" CONTENT="0.1"> which was not really there. It does not show on the page source. I did not add that META.
Second: the bot says http://www.thisispussy.com/jessica_difeo.html is rediecting to /jessica_difeo.html?6b3ce290 and I have no clue how could that be or what it means.
Could it be that someone hacked my site and is redirecting my traffic? I found a script in my cgi-bin that I did not put there...it looks legit but I never put it there myself...the first part of it reads:
#!/usr/local/bin/perl
use Cwd;
$dir = getcwd;
if($^O eq "MSWin32"){
$sep = "\\";
} else {
$sep = "/";
}
print "Content-type: text/html\n\n";
#Get current user dir. Stored in $dir
$index = index($dir, user) + 5;
$rel_path = substr($dir, $index);
$dir =~ s/cgi-bin/htdocs/;
$dir = $dir.$sep."awstats";
#Open $dir and read subdirectories, stored in @dirs
opendir(DIR, $dir) || die "can't opendir $dir: $!";
@dirs = grep { !/^\./ && -d "$dir/$_" } readdir(DIR);
closedir DIR;
if($rel_path =~ m/(\d+)/){
$rel_path = $1;
}
Can someone add a redirect script to my site without my knowledge? How can I find that out? How can I prevent that? If it's there, how can I get rid of it?
I submitted couple of galleries to the hun...
First: The hun's bot says http://www.teensweek.com/master/1006.html has a redirect <META HTTP-EQUIV="Refresh" CONTENT="0.1"> which was not really there. It does not show on the page source. I did not add that META.
Second: the bot says http://www.thisispussy.com/jessica_difeo.html is rediecting to /jessica_difeo.html?6b3ce290 and I have no clue how could that be or what it means.
Could it be that someone hacked my site and is redirecting my traffic? I found a script in my cgi-bin that I did not put there...it looks legit but I never put it there myself...the first part of it reads:
#!/usr/local/bin/perl
use Cwd;
$dir = getcwd;
if($^O eq "MSWin32"){
$sep = "\\";
} else {
$sep = "/";
}
print "Content-type: text/html\n\n";
#Get current user dir. Stored in $dir
$index = index($dir, user) + 5;
$rel_path = substr($dir, $index);
$dir =~ s/cgi-bin/htdocs/;
$dir = $dir.$sep."awstats";
#Open $dir and read subdirectories, stored in @dirs
opendir(DIR, $dir) || die "can't opendir $dir: $!";
@dirs = grep { !/^\./ && -d "$dir/$_" } readdir(DIR);
closedir DIR;
if($rel_path =~ m/(\d+)/){
$rel_path = $1;
}

Comment