Month: March 2010

skipfish

Skipfish is an active web application security reconnaissance tool. It prepares an interactive sitemap for the targeted site by carrying out a recursive crawl and dictionary-based probes. The resulting map is then annotated with the output from a number of active (but hopefully non-disruptive) security checks. The final report generated by the tool is meant…


Downgrading mysql5 to mysql4

NOTE: If you have any doubts about this process please talk to a systems admin before proceding because massive data loss can occur!!! You have been warned… Downgrading the version of mysql on a cPanel server is something that is not usually done. To accomplish downgrading the version of mysql, the current version needs to…


WHM list accounts issue – workaround

Recently had a client that had a issus in WHM where the spaces in between the package names disappeared after an 11.25 update; “When cpanel was updated to 11.25, all our packages that had spaces in their names, like WH Basic, WH Pro and WH Advanced are now only showing the WH and nothing else,…


BASH lesson – colors

From http://www.bashscripts.info/


A few apache one liners

Here are a few command used daily to check on apache and what it’s doing… watch “netstat -plan|grep :80|awk {‘print \$5’} | cut -d: -f 1 | sort | uniq -c | sort -nk 1” output Every 2.0s: netstat -plan|grep :80|awk {‘print $5’} | cut -d: -f 1 | sort | uniq -c | sort…


Buck Security Checks for Debian Linux

From buck-security.sourceforge.net Buck Security is a collection of security checks for Linux. It was designed for Debian and Ubuntu servers, but can be useful for any Linux system. The aim of Buck Security is, to allow you to get a quick overview of the security status of your system. As a linux system administrator –…


Execution Sequence of .bash_* files

From linux.dipin.info Execution sequence for interactive login shell execute /etc/profile IF ~/.bash_profile exists THEN execute ~/.bash_profile ELSE IF ~/.bash_login exist THEN execute ~/.bash_login ELSE IF ~/.profile exist THEN execute ~/.profile END IF END IF END IF When you logout of the interactive shell, following is the sequence of execution: IF ~/.bash_logout exists THEN execute ~/.bash_logout…


Linux Sucks??? I don’t think so…

According to this post in the zdnet blogs, linux still “sucks”. It looks as though that the usual MS FUD team is still at work with the misinformation and blather spouted at random quoting non-technical types saying how “hard” linux can be. To quote, “what I’ve done here is gone through the Linux-related emails I’ve…


From LAMP to ChUMP?

From geektantra.com LAMP, an acronym for Linux Apache MySQL PHP, happens to be one of the most common server side solution stack. It has been almost 12 years since this stack has been ruling. But is there a scope that this can be replaced in the near future? With Oracle taking over Sun, and therefore…


Performance tuning a server in less than three minutes while being slashdotted

From stochasticgeometry.ie So you wrote a blog post about something that seemed fairly innocuous, but for whatever reason, it caught the attention of one of the major sites and now your server load is at 110 and climbing, the ssh command line session is taking thirty seconds to respond to anything at all, and given…