Tag Archives: Php Code

Yet another Javascript redirect

Google Safe Browsing Warning PageThis article is not really a rant but rather an alert for any that is currently Googling this. I have found on a few websites that I hosted on an older system had random PHP script inserted into the start of the index.php file.

The code below is what is being inserted into index.php files. So far I have not seen it attack any other pages.

However with that said, lets see what this PHP code is doing and hopefully what you can do about it.

As you can see this is clearly just a encoded PHP script – much like the same I do on Can you work it out. So if we just decode it, we now get what the server is actually executing.
(more…)

All the time I wished I could blame Canada

There are many times I wish I could just blame Canada for many of the issues that happens. Lately many parts of Snat.co.uk has been a target of DDOS attacks and it

Blame Canada

Blame Canada

always seems to start off at Canada.

Also, I got a order for a product that I was selling and someone brought it however the person ended up being a scammer (Asking PayPal to refund, then try to get me to refund it as well “outside of PayPal”) and the details that was recorded was that the person came from Canada.

Now, that aside and that Canada is a nice place (Or so I hear, still don’t wanna go there 😉 ) but after this, I decided that enough was enough so I decided to look into many ways to block different country (Not Canada) but other very high risk places like Iran so I decided to have a look into some solutions and I have found three ways that works the best.
(more…)