Day: January 7, 2010

Removing malware code in webpages

From http://tech.superhappykittymeow.com Good stuff here also… More and more client workstations are being infected with keyloggers and trojans. In addition to stealing your WoW username and password (oh noes, my purpz!), they also have been stealing FTP logins. This has manifested itself in the linux server world by seemingly legit users logging in over FTP,…


Better mysql ‘show table status’

show table status login to your server via ssh and run root@host [~]# mysqlshow –status g33kinfo_wrdp1 |sort -n -k10 |awk -F\| ‘($6 !~ /0/)’ |awk -F\| ‘{print $2 ” ” $6 ” ” $7 ” ” $14}’ |egrep -v “^ ” this will give a result which looks like this Name Rows Avg_row_length Update_time wp_links…


Installing Fantastico

Installing or Re-Installing Fantastico Login to your server as root, and do the following cd /usr/local/cpanel/whostmgr/docroot/cgi wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz tar -xzpf fantastico_whm_admin.tgz rm -rf fantastico_whm_admin.tgz Now go to WHM, login as root and follow the link WHM > Addons > Fantastico De Luxe WHM Admin (scroll down the left menu) and install it from there….


Change Exim’s main sending IP

I know an easy way. Login to your server via SSH. From console edit the exim.conf file: vim /etc/exim.conf Go to this lines remote_smtp: driver = smtp interface = ${if exists {/etc/mailips}{${lookup{$sender_address_domain}lsearch*{/etc/mailips}{$value}{}}}{}} and change them to: remote_smtp: driver = smtp interface = Your-Second-VPS-IP-Address Save the file and restart the Exim. If you would like, when…


Rkhunter WHM Interface

Your can now scan and manage Rkhunter from your WHM. Download and install the latest Rkhunter GUI from Admin-Ahead Development Team. Version: 1.0.0 PS: You will need to REGISTER for this copy to work. Registration is completely free, and is included to keep our server bandwidth under control. Download: http://scriptmantra.info/scripts/rkhunter_interface_installer_1.0 Install Instructions: All licenses wrt…