Update nms

This commit is contained in:
2026-08-25 00:33:02 +00:00
parent 47034c5165
commit bc76d9a11a
+16 -1
View File
@@ -5,8 +5,23 @@ clear
echo Target: "$@" echo Target: "$@"
#read x #read x
echo 'Running Nmap scan...' echo 'Running Nmap scan...'
nmap -A -v -sV -sC -Pn --script vulners,http-sql-injection,http-unsafe-output-escaping,http-enum.nse "$@" nmap -A -v -sV -sC -Pn --script vulners,http-sql-injection,http-unsafe-output-escaping,http-enum.nse "$@" | tee -a ."$@".log
read -r -n 1 -s key
if [ "$key" = "R" ] || [ "$key" = "r" ]; then
echo "================================================================================"
echo " GENERATING REPORT FILE: "$@".pdf..."
echo "--------------------------------------------------------------------------------"
soffice --headless --convert-to pdf --outdir ./ ."$@".log
rm ."$@".log
exit
else
if [ "$key" = "q" ] || [ "$key" = "Q" ]; then
rm ."$@".log
exit
fi
fi
echo 'Done.' echo 'Done.'
#read -n1 #read -n1
#clear #clear
rm ."$@".log
done done