nsbin/nmapscan

10 lines
105 B
Text
Raw Permalink Normal View History

BASE=192.168.0
SMBCLIENT="nmap"
i=0
while [ $i -lt 255 ]; do
$SMBCLIENT "$BASE"."$i"
i=$[$i+1]
done