Update nms

This commit is contained in:
2026-08-25 00:55:11 +00:00
parent 077f03b0d2
commit cbae46fe3c
+3 -3
View File
@@ -5,11 +5,11 @@ rm "$@".log
ts=$(date +%Y-%m-%d-%T) ts=$(date +%Y-%m-%d-%T)
clear clear
echo "================================================================================" | tee -a "$@".log echo "================================================================================" | tee -a "$@".log
echo 'DATE: "$ts"' | tee -a "$@".log echo "DATE: $ts" | tee -a "$@".log
echo 'HOST: "$@"' | tee -a "$@".log echo "HOST: $@" | tee -a "$@".log
echo "--------------------------------------------------------------------------------" | tee -a "$@".log echo "--------------------------------------------------------------------------------" | tee -a "$@".log
#read x #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 nmap -A -v -sV -sC -Pn --script vulners,http-sql-injection,http-unsafe-output-escaping,http-enum.nse "$@" | tee -a "$@".log
echo "--------------------------------------------------------------------------------" echo "--------------------------------------------------------------------------------"
echo " PRESS R FOR REPORT OR Q TO EXIT " echo " PRESS R FOR REPORT OR Q TO EXIT "