Tech Tips & Tricks

Change UUID of a mdadm partition

published on
Today I got screwed, because the raid did not boot up, so I had a look and blkid showed me several partitions with the same UUID. UUID, shouldn’t that be unique? Well I figured I screwed something up using dd while setting up the raid, so I got the (bad, I repeat: bad) idea of changing the partitions’ uuids, which seemed impossible (for good reason!). It turns out, these UUIDs are stored in the md_raid superblock at the end of the partition. Read More...

Occasionally compose HTML-Messages in Thunderbird

published on
There’s these programs you really like, but they might have these little inconveniences which are too small to really matter, but still kind of annoy you. Well HTML-messages in thunderbird are on such thing. Usually I don’t want HTML-messages, but sometimes not limiting yourself to unformatted UTF-8 comes in handy (for me basically when writing in arabic, so I can have a bigger font-size and a natural right-alignment). Now, the only option to switch between HTML and plain text composing was to use the preferences dialog. Read More...

cracking mysql passwords

published on
Recently I needed to crack recover a “lost” mysql-password from the hash stored in the database and there is a handy tool called mysqlpassword.c which tries to bruteforce the password. Awesome! :) I was impatient though and implemented userspecific charsets and a wordlist-mode, which yielded much quicker results for me. You can get the modifications from the git, so have fun: mysqlpassword.c This is still mysql-4.x hashes only, but that was sufficient for my case ;-)