Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Created May 29, 2018 11:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save random-robbie/1a4c166396e5ddf0111c069058ffd39e to your computer and use it in GitHub Desktop.
Save random-robbie/1a4c166396e5ddf0111c069058ffd39e to your computer and use it in GitHub Desktop.
mass-scan
#!/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
@random-robbie
Copy link
Author

masscan -p1-65535 -iL $TARGET_LIST --max-rate 100000 -oG $TARGET_OUTPUT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment