My company locked MSN application on PC, so I have to write my own application running on work station (FreeBSD). I found jmsn and the simple tutorial. It helped me complete it smoothly.
原本只是單純call已經寫好的jar檔(API in java),不過後來發現有問題,所以也修改了部份的jar檔。簡述如下:
At beginning, I just want to use the APIs in the original JAR file, but I found some bugs, and modify the source code to build my own JAR file. Below is my note.
At beginning, I just want to use the APIs in the original JAR file, but I found some bugs, and modify the source code to build my own JAR file. Below is my note.
- 送出登入訊息時密碼未經過URLencoding:
The password of user's log-in has not been URLencoding:
有不少人對於jmsn無法登入有問題,我很想告訴他們,那是因為原本lib的錯誤,會使得密碼中含有特殊符號的人無法登入,不過不是所有人都有留下聯絡辦法,只希望他們在茫茫網海中能看到我的文章了。
Some people complained that they cannot login by jMSN. I want to tell them that it's because the bug in the original lib. It will abort the special symbol(ex: / " * ...) in your password. On the other hand, if you put these special symbols in your password, you may not have ability to log-in by jMSN. I try to contact these people, but not all of them put their contact information on the web. I hope these people can find this pages fortunately.
不過能夠登入的也不用太得意,在你在網路上公佈自己能夠使用jmsn的同時,也告訴了有心人士自己的密碼並不含有特殊字元。
For the people who mentioned that they have no problem to use jMSN, you have put yourself in danger. One with bas intentions may recognize that there is no special symbols in your password. - 原本的msnm.jar 會對於使用者資訊做記錄:
有人在msnm.jar檔之上寫了以web為介面的msn版本,雖然自己說沒有對於登入的使用者留下記錄,但是不管是有心還是無意,有使用過的人的確都會留下包含群組、好友、等記錄(不含密碼)。
- 接收封包未解析完全:
我指的是在收到訊息封包的時候,並沒有將字形的選項挑出來,所以不管收到什麼字型的訊息都是用預設的字形顯示。
大概問題就如上述,另外由於作者是韓國人,所以在找伺服器的時候送出本端為KOREA,也會讓MSN的伺服器指派離韓國比較近的伺服器給使用者。
問題大致如上,反正重點是我在公司能夠上MSN了
文章標籤
全站熱搜

- 2006/4/24 下午 04:05:06公司鎖MSN是指鎖住MSN這個應用程式 那像之前的web messenger也不行用嗎? 蠻想知道你公司他們鎖住的情形耶,有空的話稍微介紹囉
Yeh Kodomo - 2006/4/24 下午 10:20:21我不是很清楚鎖的機制,現在是擋port(包括23 21)以前據說使用MSN的時候會跳出警告視窗。 另外MIS有針對各網站作資料庫,會鎖某些類型(ex: web mail Entertainment) 不過鎖什麼每天好像都 不大一樣。
王 大馨 - 2006/5/7 下午 04:21:08公司連 web messenger 都擋住囉 應該是瑣網址.... 因為每隔一段時間 原本可以用的 web messenger 就會不能用
雷 .賀君 - 2007/9/10 下午 12:15:44您好...我的MSN也是被鎖住,用JMSN時他一直告訴我帳號或密碼錯誤...但我確認都是對的...想請問您...jar檔要去哪改怎麼改?或是能不能拜託您把改好的寄給我呢....謝謝你唷
luke luke - 2008/11/12 下午 06:46:043分鐘學會使用程式發送msn訊息,php篇(一) http://rd-program.blogspot.com/2008/11/5msnphp.html 3分鐘學會使用程式發送msn訊息,dotNet C#篇(二) http://rd-program.blogspot.com/2008/11/3msn-net-c.html 3分鐘學會使用程式發送msn訊息, Java篇(三) http://rd-program.blogspot.com/2008/11/3msn-java.html