PHP and Apache has a history of not being able to track which users are sending out mail through the PHP mail function from the nobody user causing leaks in formmail scripts and malicious users to spam from your server without you knowing who or where. Watching your exim_mainlog doesn’t exactly help, you see th… Continue reading Catch PHP nobody Spammers
Month: August 2008
Windows integration notes
Make program default editor for a file type Shift-right-click on a file of a type; this forces the ‘open with’. Click ‘Choose program’, find it, and select the checkbox that tells windows to always open files of this type. Change IE ‘view source’ program Folder: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name has a default key that… Continue reading Windows integration notes
PHP Upgrade issues : Plesk / Redhat 4
PHP Upgrade issues : Plesk / Redhat 4 I was trying to upgrade the PHP version to php5 on a Redhat 4 server with Plesk 8.4 but had many issues, as the redhat mirrors do not have PHP5. PHP5 is available with Redhat 5. I used atomicrocketturtle repository for the installation, here is a guide… Continue reading PHP Upgrade issues : Plesk / Redhat 4
DNS Cache Poisoning Test
Q. How do I verify that my ISP or my own recursive resolvers are free from DNS cache poisoning bug that is promised full disclosure of the flaw by Dan on August 7 at the Black Hat conference? How do I test my dns server for DNS cache pollution or DNS Cache Poisoning bug? A.… Continue reading DNS Cache Poisoning Test
hwclock – query and set the hardware clock
set the system time from the hardware clock ============================================ root@s1 [~]# /sbin/hwclock –hctosys root@s1 [~]# set the hardware clock to the current system time ============================================ root@s1 [~]# /sbin/hwclock –systohc root@s1 [~]# root@s1 [~]# /sbin/hwclock –help hwclock – query and set the hardware clock (RTC) Usage: hwclock [function] [options…] Functions: –help show this help –show read… Continue reading hwclock – query and set the hardware clock