https://github.com/nullndr/forkbomb
https://github.com/nullndr/forkbomb
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nullndr/forkbomb
- Owner: nullndr
- Created: 2021-10-14T08:03:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-20T12:54:40.000Z (over 4 years ago)
- Last Synced: 2025-07-20T15:39:05.594Z (11 months ago)
- Language: Shell
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.