Update nms
This commit is contained in:
@@ -5,11 +5,11 @@ rm "$@".log
|
||||
ts=$(date +%Y-%m-%d-%T)
|
||||
clear
|
||||
echo "================================================================================" | tee -a "$@".log
|
||||
echo 'DATE: "$ts"' | tee -a "$@".log
|
||||
echo 'HOST: "$@"' | tee -a "$@".log
|
||||
echo "DATE: $ts" | tee -a "$@".log
|
||||
echo "HOST: $@" | tee -a "$@".log
|
||||
echo "--------------------------------------------------------------------------------" | tee -a "$@".log
|
||||
#read x
|
||||
echo 'Running Nmap scan on "$@"...'
|
||||
echo "Running Nmap scan on $@..."
|
||||
nmap -A -v -sV -sC -Pn --script vulners,http-sql-injection,http-unsafe-output-escaping,http-enum.nse "$@" | tee -a "$@".log
|
||||
echo "--------------------------------------------------------------------------------"
|
||||
echo " PRESS R FOR REPORT OR Q TO EXIT "
|
||||
|
||||
Reference in New Issue
Block a user