Get notified when root logs in.

Monday, October 29th, 2007

edit the file /root/.bashrc and add the following lines: (more…)

Checking if a server is under ddos attack

Monday, June 4th, 2007

A quick and usefull command for checking if a server is under ddos is:

netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

(more…)

Email Header Injection in PHP

Monday, June 4th, 2007

It has become apparent that spammers are getting even smarter than we take them for. Rather than abuse open relays, which are almost non-existent, these scum-of-the-earth ‘traders’ are now abusing contact forms.

(more…)

SSH vs Script Kiddies How-to Guide

Thursday, May 31st, 2007

Scope

Some idiot created a SSH worm that uses a dictionary attack to try to log into a computer over port 22. The worm tries to set up shop on your computer and tries to find the next vulnerable computer. This clogs up networks with bazillions of SSH login attempts.

(more…)

PHP Email Contact form with Captcha

Wednesday, May 30th, 2007

PHP Contact form with image verification.

(more…)

What is a null route?

Wednesday, May 30th, 2007

What is a null route?

A null route is a route that goes to nowhere.

The reason for creating a null route is to prevent your system from sending any data to a remote system.

(more…)