nsbin/smbmessage-classc

11 lines
163 B
Text
Raw Normal View History

2006-07-20 07:54:37 +00:00
BASE=192.168.0
MESSAGE="Network Failure"
SMBCLIENT="smbclient -n NONE -M"
i=1
while [ $i -lt 255 ]; do
echo $MESSAGE | $SMBCLIENT "$BASE"."$i"
i=$[$i+1]
done