smbscan 117 Bytes
Newer Older
Nico Schottelius's avatar
Nico Schottelius committed
1 2 3 4 5 6 7 8 9
#!/bin/sh


i=0;

while [ $i -lt 255 ]; do
   smbclient -U Administrator -N -W workgroup -L $1.$i 
   i=$[$i+1]
done