之前因為公司鎖MSN,開始了想在工作站上面寫自己的MSN,後來在網路上找到了jmsn 以及簡單的教學,所以目前順利的完成了。
 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.
  1. 送出登入訊息時密碼未經過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.
  2. 原本的msnm.jar 會對於使用者資訊做記錄:

    有人在msnm.jar檔之上寫了以web為介面的msn版本,雖然自己說沒有對於登入的使用者留下記錄,但是不管是有心還是無意,有使用過的人的確都會留下包含群組、好友、等記錄(不含密碼)。

  3. 接收封包未解析完全:

    我指的是在收到訊息封包的時候,並沒有將字形的選項挑出來,所以不管收到什麼字型的訊息都是用預設的字形顯示。

 大概問題就如上述,另外由於作者是韓國人,所以在找伺服器的時候送出本端為KOREA,也會讓MSN的伺服器指派離韓國比較近的伺服器給使用者。

 問題大致如上,反正重點是我在公司能夠上MSN了


arrow
arrow
    全站熱搜

    葉子 發表在 痞客邦 留言(5) 人氣()