26May

WordPress hacked with Zend encoded script

PHP, Wordpress

This time happened on Hostgator, I found the following code in my footer.php file: 1 2 <?php @include_once(ABSPATH . "/wp-includes/wp-vars.php"); ?> <?=@get_wp_results(’f');?> This totally screwed my footer section and above that it made my website traffic go to zero. I immediately removed the code and discovered two files: wp-includes/wp-vars.php encoded with Zend which I am [...]

No comments | read more »
05Nov

Magento Admin Menu Not Working (js 404 error)

AJAX, Magento, PHP

While i was installing a Magento oscommerce platform I encountered a problem, a new problem i might add, because i never saw it before. I’ve worked before with Magento but never had any issues. This time, after getting it up and running i noticed that my admin menu wasn’t working, the options weren’t dropping down [...]

39 comments | read more »
07Mar

Servage hacked: Exploit-Iframe (Trojan) Infection

Hacks, PHP, Wordpress

I found this infection on all the blogs i host at Servage, i dont know what caused it, i doubt its my fault because the infection was found in all index.php files trough my websites, and all index.php were writable only by the owner. So i think this might be a hack on Servage’s servers [...]

124 comments | read more »
02Mar

PHP Delete Files Script

PHP

I needed a script to delete all files inside a folder with certain extension, a script that could be executed with just a click. So here is how i did it: <? { foreach (glob(“*.txt*”) as $fn) { unlink($fn); } } header(“Location: /1″); ?> where *.txt is the extension im looking for delete and /1 [...]

No comments | read more »
29Feb

Servage Hosting review

Hosting, PHP

I WAS WRONG. DO NOT CHOSE SERVAGE FOR HOSTING OR YOU WILL REGRET THE CHOOSE This is the phrase i looked on search engines for a couple of days before i choose’d my current webhosting. After reading dozens of articles and peoples reviews i decided to host with SERVAGE and i must say it was [...]

1 comment | read more »