how malware prevents programs from running

In today’s battle with malware,I learned a couple of interesting new places in the registry to check:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

Place a key in here named after the file you want to prevent running,then place a STRING value under the key named “debugger”. Now,set the value of “debugger”to cmd,[...]

setting locale to UTF-8 in Debian

If you have to deal with foreign languages and character sets (Cyrillic,Katakana,Hiragana,Kanji,etc) you need to have UTF support on your server. If you don’t already have it,here’s how you get it:

1. nano /etc/default/locale.gen and uncomment the line with en_US.UTF-8 (assuming your default language should be English) 2. locale-gen 3. [...]

RDP Client under Ubuntu

The performance of the built-in RDP clients in Ubuntu as of 10.04-LTS Lucid Lynx (and previous) is plagued with difficulties –Windows machines,among other things,frequently have events which refresh the local desktop every second or so which Windows’native RDP client doesn’t trigger on,but for some reason the TS Client and Remote [...]

setting a mail smarthost in exim on a Cpanel box

add a Router block to the end of /etc/exim.conf.local:

@ROUTERSTART@ smart_route:driver = manualroute domains = !+local_domains transport = remote_smtp route_list = * host.name.of.smart.host.server

then run the scripts to update configuration and restart exim:

root@box:~$ /scripts/buildeximconf root@box:~$ /scripts/restartsrv_exim

You’re done.

Using APC cache on Magento 1.4

First,of course make sure APC is installed. On Debian or a Debian-derived system (like Ubuntu),you can do this with sudo apt-get install php-apc. Once you’ve got APC installed and working,add the following snippet to app/etc/local.xml under your Magento site,in between the <global> and </global> tags:

<global> …<cache> <backend>apc</backend> <prefix>SOMETHINGUNIQUE_</prefix> </cache> [...]

When Outlook stops getting new IMAP mail

The problem is almost certainly that its local cache is corrupt…which happens disturbingly frequently. The easiest way to fix it is to simply close Outlook,delete the local cache,then start Outlook again –the good news being that it works and your new mail starts showing up;the bad news being,of course,[...]