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 [...]

36 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 [...]

117 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 is the directory inside im placing the script. [...]

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 a [...]

1 comment | read more »
23Feb

Decoding with the script from earlier post failed on some code

Hacks, PHP, Wordpress

Today i tried to decode another pice of ugly code with “eval(gzinflate(base64_decode” and i was surprised to find that the script couldnt decode this piece. As usually the code is from a themes footer in which i dont want to keep theep the outgoing reffers.
Here is the code:

$_F=__FILE__;$_X=’Pz48ZDR2IDRkPSJmMjJ0NXIiPg0KPGM1bnQ1cj48Zj
JudCBzNHo1PSAiNiI+RDRzdHI0YjN0NWQgYnkgMW4gPDEgaHI1Zj0iaHR0cD
ovL3d3dy5raDFsNGRzbDRmNS5jMm0iIHQxcmc1dD1uNXc+SW50NXJuNXQ
gRW50cjVwcjVuNTNyPC8xPiB8ICBTcDJuczJyNWQgYnkgMSA8MSBocjVmP
SJodHRwOi8vd3d3LjJmZmI1MXQ0bmsuYzJtIiB0MXJnNXQ9bjV3PlQxdHQyM
jwvMT4gczR0NTwvYzVudDVyPg0KCTwvZDR2Pg0KDQo8L2Q0dj4NCg0KDQ
o8P3BocCAvKiAiSjNzdCB3aDF0IGQyIHkyMyB0aDRuayB5MjMncjUgZDI0bm
cgRDF2NT8iICovID8+DQoNCgkJPD9waHAgd3BfZjIydDVyKCk7ID8+DQo8L2
IyZHk+DQo8L2h0bWw+DQo=’;eval(base64_decode(‘JF9YPWJhc2U2NF9k
ZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdW
llMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0
YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw==’));

For the moment i’m stuck with the code.. [...]

7 comments | read more »