Testing Fork Bomb · Hcrypt

submited by
Style Pass
2024-04-29 06:30:02

Note: This post will take some time to load because of videos and the fact that this blog is running on a tiny server. I will switch to a high config instance soon enough. Until then, sorry.

I wanted to mess around with “fork bomb” and see what kind of damage it does as well as try to understand what it actually does.

I will be running it on different linux distributions as well as windows WSL and if possible, on windows itself. Buckle up, as we embark on a sweet DoS journey!

Fork bomb is a bash one liner, whose sole purpose is to overload the entire system and eventually crash it. The way it works is it keeps replicating a single process as quickly as possible, exhausting all the resources of a system thereby making it unusable.

:|:: the real deal is this bad boy. it calls the function recursively and then passes its output, using a pipe, to the next function, which is also the same function. essentially, it calls a function twice.

I tried to run glances (htop GUI) for a broader overview of the system resources but unfortunately it gets killed rather quickly.

Leave a Comment