Created
May 29, 2018 11:29
-
-
Save random-robbie/1a4c166396e5ddf0111c069058ffd39e to your computer and use it in GitHub Desktop.
mass-scan
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 | |
strip=$(echo $1|sed 's/https\?:\/\///') | |
echo "" | |
echo "######################################" | |
echo $strip | |
echo "######################################" | |
echo "" | |
massscan -p1-65535 $(dig +short $strip|grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b"|head -1) --max-rate 1000 |& tee $strip_scan |
Author
random-robbie
commented
May 29, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment