9 lines
105 B
Text
Executable file
9 lines
105 B
Text
Executable file
BASE=192.168.0
|
|
SMBCLIENT="nmap"
|
|
|
|
i=0
|
|
|
|
while [ $i -lt 255 ]; do
|
|
$SMBCLIENT "$BASE"."$i"
|
|
i=$[$i+1]
|
|
done
|