How to create a Linux Fork Bomb

fork bomb is a form of denial-of-service attack against a computer system. Fork bombs typically do not spread as worms or viruses, but it works by creating a large number of processes very quickly in order to saturate the available space in the list of processes kept by the operating system. If the process table becomes saturated, no new programs can start.

A bash shell fork bomb may look like this:

[root@server ~]# :(){ :|: & };:

Details: The above can be explained as -

How to recover deleted files with Scalpel (Ubuntu)


This time I'll share a little about recovering the deleted files. There are times when we by mistake delete any file or we do it intentionally later realize that we require that data. There is also the use of data recovery software for digital forensic interest to dig up information about data ever erased / formatted. There are lots of good links that can point us to the tools or methods to recover files deleted / formatted. One very useful link is this (http://www.forensicswiki.org/wiki/Main_Page)

How To configure Linux IPTables

Article provided by wiki.centos.org, please find author credits at the original CentOS article on IPTables.

Contents

How to Mount Remote Directory Using sshfs


This time I will demonstrate how to mount a remote directory into the local directory (on our local system) using sshfs. There are times when we are tired of doing SSH in remote server for accessing a particular filesystem or using SCP many times to copy files from a particular filesystem. So, for that we can mount the remote directory from server on any local directory using sshfs and then we can easily access the content of the remote directory by browsing the local one.

Here are the steps to do it:

1. Install sshfs package first:

How to set password on GRUB Bootloader for security

Grub: Grand Unified Bootloader should always be locked with a password or else anyone having physical access to the system can boot the system in single user mode and change the root password. In this HowTo we will learn to configure authentication on Grub bootloader

1) First, we need to create a md5 crypted password:

How to run apt-get (wget, whois, etc.) via SOCKS Proxy using Proxychains



This time I will write some tips to run apt-get, wget, whois and other similar programs behind the SOCKS Proxy. For some people, It is the need to use the connection through tunneling, usually they use a SOCKS Proxy. But the actual difficulty comes when you have to run applications like apt-get, wget, whois etc. from the terminal (command line) and you want the connection through a SOCKS Proxy.

How To Configure Telnet Server On Linux

Telnet is a program to allow users to log into the system over network. The users get a shell to work, as if they were logged in physically. But the problem with telnet is that the data and the authentication credentials are sent in clear text over the network and can be sniffed. So a secure method for the same task is to use SSH (secure shell), which encrypts the data and authentication details transffered over the network.

But, somehow, if you are planning to use telnet , this article shows how to configure it on linux (RedHat) box.

HowTo Search the fastest DNS Server with Namebench for Faster Internet



Namebench is a Open-source DNS Benchmark Utility used to test, compare and make recommendations for the fastest DNS available to you. Using Namebench is very easy, we simply insert the nameservers we want to use in Namebench or it usually auto-detects nameservers in /etc/resolv.conf and reports the current fastest nameserver. Reports generated by Namebench are very easy to analyze as the results are exported into the /tmp/ in html format. Reports can also be exported in csv file.

To use Nambench please follow the steps below:

Pages