Created
December 11, 2019 20:06
-
-
Save echel0nn/672a0d5e6a97f82d248c465c3286e1ba to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
for (( r = 12; r <= 12; ));do | |
for (( i = 0; i < 10000; i++ )); do | |
echo -n "IP:"| echo -n 172.16.90.$r && echo | |
echo -n "Testing Port -> " && echo $i | |
hping3 -S -c 2 -p $i 176.16.90.$r 2>/dev/null | grep -i "rtt" | |
done | |
done | |
## lazy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment