Mal abgesehen davon das es bei mir generell nicht funktioniert steht es in der smbclient manpage drin.
Code:
-M NetBIOS name
This options allows you to send messages, using the "WinPopup" protocol, to another computer. Once a connection is
established you then type your message, pressing ^D (control-D) to end.
If the receiving computer is running WinPopup the user will receive the message and probably a beep. If they are
not running WinPopup the message will be lost, and no error message will occur.
The message is also automatically truncated if the message is over 1600 bytes, as this is the limit of the proto*
col.
One useful trick is to cat the message through smbclient. For example: cat mymessage.txt | smbclient -M FRED
will send the message in the file mymessage.txt to the machine FRED.
Gruß
fork
Lesezeichen