最近领导在做一个网站检测系统,本来发邮件的,今天甩给我一个文档…MSN的,小弟又小白了,非常的简单:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
msnrobotweb(http://code.google.com/p/msnrobotweb/) ================================================ Introduce: msnrobotweb is a msn robot with a small http server embeded. message clients could send messages to buddy with a simple http://localhost:9008/post?msg=[some messages] http request. Requirements: -a msn account signin as the robot ,if not please go to http://get.live.com/ and signup one. -jre/jdk1.5 or high. Install: (the following Linux-based step, Windows is not difficult ): 1 svn checkout http://msnrobotweb.googlecode.com/svn/trunk/msnrobotweb msnrobotweb 2 cd msnrobotweb 3 open start.sh to 3.1 edit username/password , replace with your own. 3.2 change JAVA_HOME path to your own . 4 run ./start.sh to start , your may see something "http server started with port:xxx" then service is done. 5 add buddy which you changed in 3.1 step as your msn friend, and signin your msn. 6 sending a message. open browser with url : http://localhost:9008/post?msg=hello, your msn would receive a message "hello" . every thing is completed. in linux or console,try: curl http://localhost:9008/post?msg=hello Depends: must have jre/jdk1.5 or high version installed. -JML (http://sourceforge.net/projects/java-jml/) , jars are in lib dir. -Simple , an embeddable Java based HTTP engine (http://www.simpleframework.org/) jars are in lib dir. -Common-logging, jars are in dir. you may want to check sources ,please go to see src. code is everything. |
下载地址如下:
http://msnrobotweb.googlecode.com/files/msnrobotweb-bin.tar.gz
下载解压 (解压:tar zxvf FileName.tar.gz)
修改账号密码
执行shell
然后就可以了
这个会向你填写的MSN的账号的所有好友发送信息,建议你重新申请一个….
======================================================
echo $JAVA_HOME
将值填入start.sh中的对应位置 枫爱若雪20131111
时间:2012-11-06 21:40:57
Latest posts by Zhiming Zhang (see all)
- aws eks node 自动化扩展工具 Karpenter - 8月 10, 2022
- ReplicationController and ReplicaSet in Kubernetes - 12月 20, 2021
- public key fingerprint - 5月 27, 2021