Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

sending message from unix to windows

by Avtar (Initiate)
on Feb 03, 2004 at 17:30 UTC ( #326262=perlquestion: print w/replies, xml ) Need Help??

Avtar has asked for the wisdom of the Perl Monks concerning the following question:

Is it possible to send messages from Unix to Windows 2000 clients by specifying an IP address ? Thanks for any help.

Replies are listed 'Best First'.
Re: sending message from unix to windows
by hardburn (Abbot) on Feb 03, 2004 at 17:42 UTC

    Not really about Perl, but . . .

    Samba's smbclient using the -M switch lets you send a popup message to a Windows machine.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object
    system by accident.
    -- Schemer

    : () { :|:& };:

    Note: All code is untested, unless otherwise stated

Re: sending message from unix to windows
by Abigail-II (Bishop) on Feb 03, 2004 at 17:38 UTC
    Yes.

    Abigail

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: sending message from unix to windows
by logan (Curate) on Feb 03, 2004 at 18:50 UTC
    Forgive my paranoia, but considering how often Messenger is used for nefarious purposes (spam. Every 10 minutes.) compared to how often it's used for legitimate purposes (I'm still waiting), I want to hear some background on what you're planning on doing before I agree to help.

    -Logan
    "What do I want? I'm an American. I want more."

    Edit by castaway, drag post text out of sig tags
      Are you really worried about the OP (who can't google for smbclient) writing an efficient messenger service spammer with perl? With the amount of work he went through for his original post, he would be lucky to make his loop break out of his local network. =)

      Also I have very little sympathy for people that can't figure out how to turn off the service or block it with their router -- maybe the messenger spam will annoy them enough to get them to stop using their computer before they end up clicking on the next worm that hits their inbox. =)

      Sorry I am so cynical today, between EMC and Lotus Notes I am very frustrated.


      -Waswas
        Close. I was worried that we had someone was going to write an INefficient messenger service spammer with perl. Specifically, one that was destined to be used in a cruel or stupid prank. Imagine a 12-year-old who just heard about a new way to send untraceable messages on the school network. Now imagine the content of the messages: "Korn Rulez! Britney Sux!" "Suzy Wilson's a slut!" "Bobby Cantwell's a dork!" "There's a bomb in the library. -Osama bin Ladin"

        Morover, I've never actually seen the Messenger service used for the purpose for which it was intended.

        -Logan
        "What do I want? I'm an American. I want more."

      A cron job runs on unix every minute which detects locks on a unique row between 2 Oracle users. The script hanging off the cron job detects the IP address of the 2 PC's. The 2 oracle users causing the lock will be sent a message informing them the name of the other locking user and also inform them that 1 of them has to discard their changes.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://326262]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2020-10-20 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (208 votes). Check out past polls.

    Notices?