2015年12月3日 星期四

Apple 是否還是像以往一樣安全?

隨著蘋果產品的市佔率提高,有關於蘋果資訊安全的報導亦越來越多,像以下一篇。

「資安業者Palo Alto Networks公布一個鎖定中國市場蘋果用戶的新惡意程式家族WireLurker,WireLurker已經感染位於中國的第三方Mac App Store─Maiyadi(麥芽地)中的467個OS X程式,且已有超過35萬次的下載量。當iOS裝置透過USB連結這些已下載惡意程式的Mac裝置時,就可能受到感染,且不論iOS裝置有無越獄(jailbreak)都可能受駭。」
資料來源:http://www.ithome.com.tw/news/92098

文章大略講述了,有個新的惡意程式家族"WireLurker" 會透過Mac OS X 感染未有越獄(jailbreak)的iOS 裝置。

值得留意的是,以往關於蘋果的資安漏洞(特別是iOS 的漏洞),都是在裝置經過JB(jailbreak)後,惡意程式才會有機可乘,但這次比較特別的是惡意程式能夠感染未有JB的iOS 裝置。很多使用者(特別是非蘋果使用者)可能會認為蘋果的系統不再安全。其實事實並非如此,眼尖跟細心的人可能會留意到這則新聞中有一個很重要的關鍵字——"中國的第三方Mac App Store─Maiyadi(麥芽地)",所謂"第三方",意即非蘋果公司官方的。這意味著這一塊地跟蘋果是完全沒有任何關係,蘋果亦無權插手這塊地。

樹大便會招風,這句話在資安的世界裡一直都是至理名言,眼看以前的微軟的WINDOWS,每天都接受著幾百萬的惡意程式攻擊,最大的原因是這顆樹夠大,隨便駭到這顆樹的某一條分支,都可以獲利無數。而蘋果現在的市佔率亦不斷提高,樹越長越大,所招來的風也隨之而增加。然而,iOS 的沙箱機制(Sand Box) 安全性仍然遠比Android 來得要高,所以短期內使用iOS 應該都還是比Android 來得安全的.... 






2014年9月29日 星期一

Star Micronics Java SDK on Linux environment setup note

I am working on building a POS System for my father's restaurant. I have chosen the Star Micronics TSP 650II as the receipt and kitchen ticket printer. And I design the System in a modern form, not like the old style(Using the window xp/2000 with an ugly User Interface and low-end hardware), but still remain the light-weight feature. In first I have do the research of Star Micronics SDK and I find the java SDK so I decide to move on to design phase. However, after I have implement most of functions of the System. I recognize that the official Star Java SDK only provide the windows version(with only the dll files). As my server tier is planed to use Ubuntu Linux as the OS. So I have to solve the problem myself and in case I forgot what I have done and be usable later, here's what I have done to solve such problem.

On the Star Micronics Official Site comes with the Linux Driver of the Pos Printer. Inside the Linux Driver have two package one is named CUPS which is using the CUPS as the driver, another is name JavaPos. JavaPos is what I finally used after thousand of tries of using the CUPS one. inside root of the JavaPos folder there is a folder  names "StarIOPort_Install_x64" and inside has an shell script "install.sh", execute it as root or super user. then I can use the java sdk to print stuff with my TSP650II.

2012年7月28日 星期六

遊戲引擎開發日誌



這段時間裡,在開發的過程中遇到很多大大小小的問題,在遊戲引擎的場景引擎上花了點功夫,目前使用了一種叫TILED 的技術,來處理場景或者地圖,原理上不多解釋,正接圖解,以下是簡單的地圖資料:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0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1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 

經過場景引擎處理後畫出來的會是以下的圖:



目前還處於基礎的功能,之後資料裏的數字將會是圖片的編號,而畫出來將會是編號所對應的圖片另外,這段時間裡也將物理引擎的做了一些調整,而且也加入了拖放的操作模式。

以上

2012年7月19日 星期四

遊戲引擎開發日誌

        最近突然想開發一個遊戲引擎(以API 的型式),以我目前對3D 的了解,自問還沒能夠寫一個3D 遊戲引擎出來,所以正著手研究基礎的遊戲引擎,而PROTOTYPE 實作語言是JAVA,已經有某些功能實作成功,這遊戲引擎主要是以類似MARIO 的傳統2D 橫走式動作遊戲為主題的遊戲引擎。簡單功能如下:

  1. 精靈系統 (game sprite)---PROTOTYPE 
  2. 場景系統---PROTOTYPE
  3. 簡單物理引擎---PROTOTYPE 
  4. 主遊戲迴圈---PROTOTYPE
  5. 音效---尚未設計
  6. 事件系統---尚未設計
  7. 硬體加速RENDER 引擎---尚未設計
有志之士可以聯絡加入:
Email: warriorgiroro@gmail.com

2011年2月5日 星期六

多多指教...

這個應該算是我第三個BLOG 了...
主要是想要記錄一些研究相關的資訊...
多多指教...