automated gitolite backups

Jun 27, 2017 - 1 minutes

Since I run a gitolite server for my private projects, I needed a way to regularly backup these repositories. The following script is run via crontab as the gitolite user, and creates bundled versions of all hosted repositories. Those are then pushed via SMB to a network attached storage.

Read more ...

Alexa Developer T-Shirts

Mar 26, 2017 - 1 minutes

So I got one of those T-Shirts Amazon offered for Alexa Skill developers in Germany. Quite cool design, and those binary numbers on the front apparently were supposed to mean something. Actually supposed is the key word here, as it seems someone over at Amazon did produce a typo ;-)

Read more ...

512-Byte Clock

Feb 24, 2013 - 1 minutes
So I coded a tiny little 512-byte program fitting into a bootsector, which displays a big clock. I even managed to squeeze switchable fore- and background colors and a key to toggle 12 vs 24 hour display in there. Now the sector is filled up to the limits, only 1 byte left. That’s 509 Bytes of Code & Data for a functioning clock program + 2 Bytes for the bootsector marker. Read more ...

Breaking QuickStego

Jan 18, 2013 - 4 minutes

Target: QuickCrypto’s QuickStego Version

QuickStego is a tool that can hide unencrypted text data in BMP image files.

The first look with PEiD reveals a Visual Basic executable, the crypto analyzer tells us something about CRC32. This may be used as some kind of verification of the data.

Trying the program on some small Bitmap files shows an unchanged file size, but many changed image data bytes, even for a message as short as one char (I used ‚A‘ for the test). The text is thus hidden directly in the pixel data, presumably by LSB method, with some overhead for management.

Read more ...

Reading SDRAM configuration data with the Bus Pirate

Oct 4, 2012 - 2 minutes

SDRAM DIMMs have a standardized way of storing configuration data in an on-chip EEPROM. In this case the EEPROM is a 24C02, 256 Byte one. The storage of information in it is defined by the Serial Presence Detect - SPD standard. It integrates into the SMBus when plugged into a computer, and the BIOS uses the data contained to initialize memory access.

Read more ...