Last active
November 20, 2019 00:37
-
-
Save jeffmcjunkin/a9307f2371d83ae669fd0119e1209917 to your computer and use it in GitHub Desktop.
Look, it got the job done, okay?
This file contains 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
for rate in 100 1000 10000 20000 40000 100000; do for attempt in $(seq 1 5); do echo -n "Rate: $rate / Attempt: $attempt - "; responses=$(grep 'state state="open" reason=' /tmp/DO-masscan-${rate}.${attempt}.xml | cut -d" " -f3- | sort -u | wc -l); echo "scale=5; 100 * (1 - ( $responses /50001))" | bc; done; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment