Created
March 14, 2021 00:48
-
-
Save sar/9e4b426373322f172c83fba7da7b41c2 to your computer and use it in GitHub Desktop.
cURL webpage n-loops for Chaos Testing, DDoS, and Analytics Spiking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ---------------------- | |
# cURL webpage n-iters useful for Chaos Testing, DDoS, Analytics Spiking | |
# Author github@sar assumes no responsibility for your actions | |
# ---------------------- | |
read -p "Enter direct URL for cURL page loop: " url | |
read -p "Max loop iterations: " iter | |
counter=1 | |
while [ $counter -le $iter ] | |
do | |
echo $counter | |
# curl domain | |
curl -s $url > /dev/null | |
((counter++)) | |
done | |
echo "Loop completed, open $URL to view result" | |
set +x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment