Created
          November 25, 2019 08:35 
        
      - 
      
 - 
        
Save apertureless/96bceb6bcfa3f07353333334f83891b9 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
apertureless created this gist
Nov 25, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ #!/bin/bash RED=`tput setaf 1` GREEN=`tput setaf 2` BLUE=`tput setaf 4` MAGENTA=`tput setaf 5` CYAN=`tput setaf 6` NOCOLOR=`tput sgr0` echo "${CYAN} _____ _____ __|_ |__ ____ ______ __ _ ___| _|__ ____ _____ | | || \ |___ |\ \ //| \ / | || \ | | | |_ || \ .-`.-` \ \// | \/ | || \ | _| |______| __||__|\__\|______| /__/ |__/\__/|__|_||__|\__\|___| |_____| |_____| ${MAGENTA}by [PHCN]NetGhost03 ${NOCOLOR} " # Check for input arguments. if [ $# -eq 0 ]; then echo '${RED}No arguments provded. Please provde a list with hosts${NOCOLOR}' exit 1 fi while IFS= read -r line do echo "[${CYAN}*${NOCOLOR}] Starting scan for ${line}\n" nmap -sV -sT -sC -o $line.nmap $line > /dev/null echo "[${GREEN}✓${NOCOLOR}] Finished scan for ${line}\n" done < "$1" echo "[${GREEN}✓${NOCOLOR}] Finished scanning all targets"