Disclamer!
Do not use this info to DDOS a server! This is for educational purposes only!
What even is a Rabbit Attack?
A rabbit attack aka a fork bomb is a DDOS attack where a process forks itself until it takes up a systems processing power.
A unix based rabbit attack
On a unix system a rabbit attack can be preformed with a comand like so. :(){:|:&};: This probably seems like gibberish but we will break the command down. First we start by defining a function called ":" with the parentheses. We then define what the function does inside the curly brackets. The function starts by calling itself ":" then uses "|" to pipe the results into another calling of itself except this calling is noted as a background process by the "&". We then stop defining the function and indicate a newline with ";". Lastly we call the function and make it call itself over and over till it crashes the system.
A windows rabbit attack
On windows code cannot be directly run from the command line so we will define a batch file that runs itself. We can achive this with a command like so echo %0|%0 > $_.cmd & $_ First we create our file by piping the results of an echo command into a file with ">". In the file we write "%0|%0". In batch script %0 indicates the name of the file being run so by just stating %0 it calles itself. We then do a similar thing to the unix function by piping the scripts results into another calling of the script. After defining the script we indicate a newline with "&". Lastly we call our script and crash the system.