Skip to content

Instantly share code, notes, and snippets.

@richardsonlima
Forked from misterch0c/xpoweredScanner.sh
Created April 23, 2017 13:47
Show Gist options
  • Save richardsonlima/df5392d6b4db2a3412b252e200b7979d to your computer and use it in GitHub Desktop.
Save richardsonlima/df5392d6b4db2a3412b252e200b7979d to your computer and use it in GitHub Desktop.
x-powered random check
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