我的外部記憶區

顯示包含「hack」標籤的文章。顯示所有文章
顯示包含「hack」標籤的文章。顯示所有文章

2009年8月2日星期日

Arduino based Office-WTF-Counter



As in any office, my co-workers and I experience several WTF-Situations during our working day. So we decided to implement a simple system to count the WTF's and use them as a metric for our working climate :-)

we use an "emergency stop"-Button which is connected to an arduino. This arduino sends the string "WTF" on the serial line a little python scrip writes them to a file, another processing app count's the lines in the file and offers the result via http, which is read by a processing app for visualisation ...

2009年5月3日星期日

Youtube audio ID

There's a Youtube audio content ID system in place, someone was doing "try-n-error" on that. Interesting reverse engineering!

2008年12月31日星期三

SSL 出事了,大家要小心!

2008 年底,已經有人用 MD5 Collision 方法,加上 200 部 PS3,產生 SSL root certificate
雖然叫大家小心,但係都冇乜嘢可以做⋯

From:

SSL broken *NOW*
MD5 considered harmful today
25C3: Hackers completely break SSL using 200 PS3s

2008年10月2日星期四

LCD TV Lamp / Light Table

From: http://www.stevediraddo.com/lcdframe.htm


What do you do with a large LCD television with a smashed screen?
Well.. if you're the average person you'll call every person and
company you know and ask how it can be fixed. Here's the problem.. the
LCD panel itself makes up most of the cost of the entire television.
You will eventually realize it's not worth getting fixed, and you'll
sob softly as you throw it in a dumpster and get a new one.

2008年9月17日星期三

Thermic destruction of Harddisk

From: How-to: Thermite hard drive destruction

With the amount of personal data stored on your computer, we all understand the importance of destroying the data that is stored on the platters of a hard drive before disposing of it. There are many ways to destroy a hard drive; software, physical disassembly, drills, hammers, magnets/electromagnets, and acid, but none are quite as outrageous and dangerous as thermite. That’s what we’re going to do here today. Follow along for pictures and videos of the results.

A couple different methods of containing the thermite above the hard drive were tried and we quickly found the best way is a clay flower pot with the drip tray for a lid. An Altoids tin was also tried, but it burned up to quickly. Molding a cement container was also attempted. Since thermite is extremely hard to ignite, sparklers that were left over from the 4th of July were used, and offered a very reliable method of ignition.

Our goal was to completely destroy the drive while it was still in the computer case. The theoretical application is to destroy the disk at a moments notice so it won’t fall into the wrong hands. After testing multiple methods, placing about 1 pound of thermite in a clay flower pot and lighting from the drain hole in the bottom yielded the best results. This could easily be placed in the 5.25″ bays above the drive.

2008年9月10日星期三

Autonomous paintball sentry gun

一支行 Linux 既自動機關槍,自動瞄準射擊。boot 機都係40秒!


From: http://www.hackaday.com/2008/08/24/autonomous-paintball-sentry-gun/



[Alan] pointed out this great commercial paintball sentry gun.
The gun has a low power motherboard running Ubuntu connected to a
firewire camera. Two high torque motors control the pan and tilt of a
Tippman 98 custom. The control box allows for easy setup. You can
change the sensitivity, color tracking, and firing modes. It also has a
remote kill switch. All around a nice looking machine, but at $3K we
doubt many of you will be buying one. Beta test video embedded after
the break.

2008年8月26日星期二

Google計算機會算錯答案


幸災樂禍者最覺得好笑的地方,是用Google這個名稱的加減算數,得到的結果也是錯的。英文字googol的原意代表1後面加上100個零。一個googol加1再減一個googol,正確答案是1,Google計算機的解答是錯誤的0。



事實上,大數字的算術的確很難,當中涉及特別的數字加密方法,才能得到絕對準確的答案。所幸,一般的計算機製造商不會碰到這些問題,因為如此大的計算通常只用在天文學計算星體的距離;太過細微的結果,在現實世界中其實沒什麼意義。

http://www.zdnet.com.tw/news/web/0,2000085679,20131363,00.htm?feed=RSS:+ZDNet+Taiwan%3A+%B7s%BBD+-+Web%C0%B3%A5%CE

2008年8月13日星期三

箱頭筆死都救翻生?

膠紙、剪刀、量度尺、原子筆、鉛筆及箱頭筆(marker)等,都是家中必備的文具。特別是箱頭筆,絕對是搬家、寄包裹時不可缺少的,相信大家都會
購備三數支在家,以備不時之需。但是,油性的箱頭筆只要擺放一段時間,就會乾涸無墨出。然後,你就乾脆將它扔掉,買過另一支嗎?

箱頭筆之所以無墨出,其實是因為擺放得太久,它裏面的溶劑揮發,色素發乾,要它「出色」,自然不容易。教大家一個令箱頭筆「復活」的方法
吧:只要預備一瓶洗甲水,然後將洗甲水注入筆蓋(分量大約是筆蓋的三分之一);接,把箱頭筆插入筆蓋扭緊,待5分鐘。時間夠了,試試看吧!原來丁點墨水
也擠不出的箱頭筆,竟然光「彩」如昔。

這到底是甚麼原因呢?原來,洗甲水內含「丙酮」這種有助溶解的物質,它可以將風乾了的顏色,再度引出來。所以,凡是油性的箱頭筆,都可以用這個方法令它「復甦」,大家不妨試試!但小朋友一定要在家長陪同下,才可以做這個「實驗」!

2008年8月8日星期五

電子收費系統容易被駭


安全顧問公司Root Labs社長Nate Lawson表示,只要有適當的轉頻器(transponder)讀取機,任何人都可以走進停車場,竊取駕駛人的身份資料,把資料放在自己的裝置內,用來通過收費道路和停車,讓受害者支付所有費用。




他指出,轉頻器上的身份資料沒有任何加密保護,有可能被刪除,或被轉換到另一輛車上的轉頻器,偽造出犯罪的不在場證明。

http://www.zdnet.com.tw/news/hardware/0,2000085676,20131036,00.htm?feed=RSS:+ZDNet+Taiwan%3A+%B7s%BBD+-+%A5%F8%B7%7E%B5w%C5%E9

2008年7月12日星期六

建築物變成樂器

將整個建築物變成樂器!

From: Playing the Building with David Byrne



Do you remember the solenoid concert that used a sequencer to control several solenoids striking different surfaces? Musician David Byrne has taken the concept and executed it on a much larger scale with his "Playing the Building" installation in an old municipal ferry terminal in New York. Devices that bang the girders, rattle the rafters, and blow through the pipes of the building are attached to the only object inside, a weathered pipeorgan. Every key is wired to different device in the building, each producing a unique sound. Attendees are invited to fiddle with keys of the organ to produce sounds from the building's various materials, thus playing the building like an instrument. Here's a video from the installation.

2008年1月7日星期一

Car Signals Denial Of Service

Denial of service anywhere! :)



來自Hacker Webzine

You can't make this stuff up, really.

Apparently a dozen car owners stranded at their car and found out that their electronic car lock was jammed. Some of them also failed to start their engine, leaving the motorists in a real life denial of service. It is known, all wireless transmissions can be hacked, modified or in this case be jammed. It took the car park weeks to investigate what the problem was. Well, it turned out that there was a small family car was intermittently sending out signals blocking other fobs in a 164ft (50 m) radius. Now, that's pwnage!

Happy Holidays!

story: http://news.bbc.co.uk/1/hi/england/kent/7073935.stm

2007年12月10日星期一

MD5 碰撞

MD5 的碰撞原來已經成功了。Security update 的 cycle 又來了…


MD5 的淪陷:實例 (From: Gea-Suan Lin )

自 2004 年女士找到方法有效率的產生 MD5 碰撞後 (也就是兩個不一樣的資料的 MD5 Digest 相同),就不斷有人嘗試更進一步的攻擊。

之前最主要的攻擊是對某一組 X.509 的 public key 產生另外一組 MD5 Digest 相同的 public key,再對這組 public key 攻擊而產生 private key (因為這組 public key 是 weak key),接下來就可以做各種攻擊。這篇論文在:Colliding X.509 Certificates。

這次則是更進一步思考要如何放惡意程式碼到 Windows 執行檔,卻仍然可以騙過 MD5 檢查,比較抽象的講法是 “chosen-prefix collision”,表示新的資料前面是包含惡意程式的程式碼 (所以 prefix 是選定的),然後利用後面的空間接一段垃圾用以「湊」出同樣的 MD5 Digest:MD5 Proven Ineffective for App Signatures。

這個攻擊非常重要的原因是因為這離一個 Secure Hash Function 的消失又更進一步:pre-image attack,我只給你 MD5 Digest,要找出一組資料符合這組 MD5 Digest。看起來新系統還是趕快換用 SHA-256 吧 orz…

2007年7月23日星期一

Firefox Unresponsive Script: Increase JavaScript Execution Waiting Time » My Digital Life

Finally, there's way to stop / postpone the annoying javascript execution warning.

  1. Run Firefox.
  2. In the Firefox address bar, type about:config, and then press Enter.
  3. Scroll and locate or search with Filter text box for dom.max_script_run_time.
  4. Double click on the line of dom.max_script_run_time, and change the value to a higher number (in seconds) that you want Firefox to wait before getting the Unresponsive Script warning. Be default, the value is 5 or 10 seconds. You can safely set the magical number to let’s say 20. You can set the value to 0 to instruct Firefox to wait foever - no warning and dialog whatsoever. Note that the whole Firefox may be not responsive and cannot be used while waiting for scripts to execute, so the number should not set too high in order to give you an opportunity to stop truly nasty or buggy scripts and recover use of Firefox.
  5. Click OK.
  6. Restart Firefox.
From: Firefox Unresponsive Script: Increase JavaScript Execution Waiting Time » My Digital Life

2007年6月4日星期一

別亂用我的 Wifi

一個好有趣的 trick,只用 Linux 的 IPTable 及 proxy server,就可以教訓亂用你的 Wifi 的人。

My neighbors are stealing my wireless internet access. I could encrypt it or alternately I could have fun.
Link: Upside-Down-Ternet

2007年6月3日星期日

Cat Camera


又一 nice hack,由 Juergen Perthold 創作一個貓用相機 (photo captured from Hack A Day)
一定要看看 Mr. Lee (一隻貓)的作品,有一些相片拍得不錯。

還有一位貓 Fritz 的作品,它們是否用同一型號相機?