Stuff
public shellscript v1 · immutable#!/bin/bashi=0while read ip; do ((i++)) arr[$i]=$(nmap -sT -T Insane -p 139 $ip | grep -i "Interesting ports on" | cut -d ' ' -f4 | cut -d ':' -f1)done < iplist.txtecho scan finishedi=0while read ip; do ((i++)) echo $ip : ${arr[$i]} echo ----------------------------------------done < iplist.txt