An open API service indexing awesome lists of open source software.

https://github.com/nullndr/forkbomb


https://github.com/nullndr/forkbomb

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# Fork Bomb

A fork bomb is a DOS (Denial of Service) attack against Linux or Unix-based system.

A fork bomb is nothing than a bash function that get executed recursively in order to slow down or crash a system.

## Preventing Fork Bomb

You can get the current maximum process you can run in linux by typing `$ ulimit -u` or `$ ulimit -a`.

```
$ ulimit -u
63020
```

The number `63020` indicates that you can run 63020 processes. To protect your linux system from a fork bomb, you need
to lower that number:

`$ ulimited -S -u 5000`

This command sets to `5000` the maximum number of processes you can run into your system.