Step 1. Open the network configuration file (pico /etc/network/interfaces)

Check the name of your network interface. You should see a line similar to this one: “iface eth0 inet static”. In my case the name is eth0.

Add these lines to the end of the file:

auto eth0:1

iface eth0:1 inet static





Continue Reading…

You probably heard before of the term Denial of Service. What does this mean? How can you stop DOS?

Taking advantage of a known problem with the Operating System or any running services on the target, a good programmer can build an application that sends some data that causes the targeted system to crash.

The worst case scenario is not when a hacker crashes a service, but when it finds a way to maximize the CPU usage causing a total malfunction on the system.

Of course most of the attacks are not initiated by these kind of programmers, but by “script kiddies” who only read about it, find the program’s source over the web and just use it without knowing the mechanisms it uses.

Usually, DoS attacks are closely related to brute force attacks. The brute force attack uses all combinations of possible characters or dictionary word lists to try find out any passwords on the system (eg root accounts). When a root account in a network is found out, any DoS attacks can be done easily over the specific network.

Here are some of the most known DoS attacks:

1. SYN Floods Continue Reading…

The simplest way of achieving this is by altering the .htaccess file in your websites root directory.

Download the .htaccess file to your computer using your favorite FTP client, open and edit it.

If you do not have a .htaccess file you can create one and upload it, look harder tough, these files are usually hidden.

If your website root directory does have a .htaccess file open it and first check to see if the rewrite engine declaration is posted: RewriteEngine On

If the Rewrite Engine is On then go ahead and add this following code to your .htaccess file:

Remember to backup your .htaccess file before you start editing it. Continue Reading…

Webmin on Debian:
(latest version can be found here if a new version has come out

Run everything in root to avoid confusion

apt-get update

apt-get install wget perl libnet-ssleay-perl openssl libauthen-pam-perl libio-pty-perl libmd5-perl


dpkg -i webmin_1.441_all.deb

rm -rvf /etc/rc*d/S*webmin*

rm -rvf /etc/rc*d/K*webmin* Continue Reading...

Crontab Tutorial (Cron Howto)

Valic —  June 2, 2010 — 1 Comment

What is Crontab?

Crontab (CRON TABle)is a program that manipulates the CRON daemon, making it easy for users to schedule task and run programs/commands at pre determined periods of time.

Crontab can also be considered a file witch contains commands that will be run by the system as the user that owns the
crontab file.

What is the purpose of Crontab?

Cron is designed to maintain a list of commands that the system needs to run at a given time interval.

For example if you have a script that generates statistics and needs to be run every couple of hours or everyday cron can do it for you. Or for example if you have a script that sends a newsletter every month you can use cron to run the script that sends the newsletter every month or week.

Crontab commands Continue Reading…