Created
June 30, 2020 12:21
-
-
Save pry0cc/42be035bfbef8b62854df8361193e1c7 to your computer and use it in GitHub Desktop.
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
for ip in $(cat 1000.txt); do echo "Scanning $ip..."; cn=$(timeout 2 python3 dumpCN.py "$ip"); echo "{\"ip\":\"$ip\", \"cn\":\"$cn\"}" | tee -a results.txt | jq; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment