Created
April 3, 2020 05:46
-
-
Save zuriby/5eba34fd5cacfafea051508f486240b0 to your computer and use it in GitHub Desktop.
random ipv4
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
while true; do | |
ipv4=$(dd if=/dev/urandom bs=4 count=1 2>/dev/null | od -An -tu1 | sed -e 's/^ *//' | sed 's/ */./g') | |
echo $ipv4 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment