Hello,
i have found this on a WordPress theme but can't decode it and see what is all about.
Can anyone help me to see what's inside? Can i delete it?
Thanks
if(BLOCK_EXTERNAL_LEECHERS && array_key_exists('HTTP_REFERER', $_SERVER) && (! preg_match('/^https?:\/\/(?:www\.)?' . $this->myHost . '(?:$|\/)/i', $_SERVER['HTTP_REFERER']))){
// base64 encoded red image that says 'no hotlinkers'
// nothing to worry about! :)
$imgData = base64_decode("R0lGODlhUAAMAIAAAP8AAP///yH5BAAHAP8ALAAAAABQAAwAAAJpjI+py+0Po5y0OgAMjjv01YUZ\nOGplhWXfNa6JCLnWkXplrcBmW+spbwvaVr/cDyg7IoFC2KbYVC2NQ5MQ4ZNao9Ynzjl9ScNYpneb\nDULB3RP6JuPuaGfuuV4fumf8PuvqFyhYtjdoeFgAADs=");
What is the name of the theme & where did you download it from?
What file is that code in?
It looks like it *should be* a base64 encoded image rather than text.
I bought it from fiverr, the guy is a reseller, or he says so.
It's called Portio.
So you are saying that should do be anything dangerous? I heard that base64 encrypted codes are dangerous, what do you think?
thanks
the only WordPress theme called portio that I can find is one listed on themeforest for $37. If that's the same one and the person you bought it from really is a reseller, you should be able to get support from the original author. If not and you still want to use the theme, you should buy a copy from the original source and ask the theme author about the base64 stuff.
Or use an available and great FREE WP Theme.
Thanks i will find out wheter he really is an authorized reseller and i will contact the theme author.
Thanks for your help!