Created
July 4, 2020 13:50
-
-
Save noobsdt/25856496cb635200c865533680c9ab70 to your computer and use it in GitHub Desktop.
This file contains 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 | |
while IFS="" read -r p | |
do | |
strip=$(echo $p | sed 's/https\?:\/\///') | |
masscan -p1-65535 $(dig +short $strip|grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"|head -1) --max-rate 1000 | |
done < $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment