nerdstuff

How to loop mount image files with several partitions

Image files for embedded devices often have several partitions in them. To loop mount them locally we have to calculate the offset of the partition within the image. Here we go:

Why not ... a web server in a shell script?

Hey, why not making a watch with bricks, building a fighter jet with tree trunks or programming a web server in bash?

Now that's geeky!



Professional desktop hijacking

There is a very interesting interview with a damned smart former adware coder on (Windows) OS hijacking.

Christmas presents from 25C3

Wow, this year i should have gone to the 25C3:

  • Mifare classic RFID (e.g. Oyster card) broken: 1, 2, 3
  • DECT broken: 1, 2
  • X.509 PKI broken (!) via MD5 collisions: 1, 2
  • Cold boot attacks for the masses: 1, 2

Happy new year!

Mein erster Mac

Ich bin wahrlich kein Freund von Apple, aber ich gestehe: ich hab jetzt ein MacBook! Natürlich verwende ich nicht MacOS, sondern Ubuntu Linux. Wozu das ganze? Das MacBook ist eines der ganz wenigen leichten Laptops mit hochauflösendem digitalem Videoausgang! Und so sitze ich in diesem Moment vor einem riiiiiiesigen virtuellen Desktop von 3200x1200 - uiuiuiuiui Tiffy!

Deleting all x32 packages from a x64 CentOS/Fedora

The x64 flavors of CentOS and Fedora linux always install compatibility packages for x32 apps. Which is quite annoying on a server! This is how you get rid of them:

rpm -e `rpm -qa --qf "%{name}.%{arch}\n" | egrep "\.i[36]86$" | while read p ; do echo -n "$p "; done`

Hua!

Obasi & Ribéry auf chinesisch

Hier gibt's zwar jede Menge Pubs die Fussball zeigen, aber verständlicherweise keine boring Bundesliga. Dafür gibt es ja das chinesische TV-P2P Netz SopCast, und natürlich hat irgendjemand einen Linux Clienten namens GMLive gecoded und irgendjemand anderes Ubuntupakate daraus gebaut. Es lebe das Internetz und Open-Source!

Lab rat: Hacking buildings

Yesterday i helped some friends to reverse engineer the communications within a Building Management System (BMS). A BMS usually consists of lots of sensors (like thermal sensors) and actors (like fans or valves) distributed over a building and controlled locally by autonomous BMS units. These local units themselves are monitored and managed by control units over ancient network techniques like 19200 Baud (!) token ring. But recently the control units learned ethernet and encapsulating their obscure proprietary BMS protocol in UDP datagramms.

Rant: Why not to use Skype

I strongly recommend you to not use Skype but open, standardised protocols like Jabber for chatting and SIP or the Jabber extension Jingle for (video) phoning. This is why:

Inhalt abgleichen