nsbin/smbscan-2

10 lines
121 B
Text
Raw Permalink Normal View History

2006-07-20 07:54:37 +00:00
BASE=192.168.0
SMBCLIENT="smbclient -n NONE -L"
i=0
while [ $i -lt 255 ]; do
$SMBCLIENT "$BASE"."$i"
i=$[$i+1]
done