Created
August 19, 2018 22:31
-
-
Save macostag/ab44b22fcd6e1bdfe349dee5feb057d3 to your computer and use it in GitHub Desktop.
IP reverse lookup bash script.
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 | |
| rangeIp="" | |
| for i in `seq 1 1 254`; | |
| do | |
| ip=$rangeIp.$i | |
| #echo $ip | |
| host $ip | grep "pointer"; | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment