-
-
Save richardsonlima/df5392d6b4db2a3412b252e200b7979d to your computer and use it in GitHub Desktop.
x-powered random check
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 | |
ip=$(zmap --verbosity 0 -p 80 -N 1 -q -o -) | |
version=$(curl -I -s -m 4 $ip | grep -i 'X-Powered-By' | awk -F ":" '{print $2}') | |
if [ "$version" != "" ];then | |
echo "$ip:$version" >> log.txt | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment