Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Six Demon Bag

Some stuff I have worked on, which may (hopefully) be helpful to others.

Interactive VBScript Shell

Python's interactive mode is very convenient, because you can try simple stuff without having to write it to a script first. Since I have to do a lot of VBScript lately, I wanted to have something like that for VBScript, too.

I found this blog post that has almost exactly what I wanted, except for line continuation. Which is what I added (for my own convenience). You can download the modified script here.

Patch for kh2reg.py

On Linux you can simply store a server's public key in your known_hosts file to avoid being prompted for host key verification. However, PuTTY stores server public keys in a different format, so you can't simply import a public key into the Windows registry and be done with it. You can convert known_hosts files to .reg file format with this script from the PuTTY homepage, but unfortunately the script doesn't account for entries that use a non-default port:

[a.b.c.d]:2222 ssh-rsa AAAA...

This patch fixes the issue. You can also download an already patched version of the script.

Update: The official version of kh2reg.py has been updated.

Backscatter protection

Backscatter (particularly spam-induced backscatter) is one of the major annoyances of the Internet. To get rid of this crap once and for all I wrote a backscatter filter for Postfix.

Mail encryption proxy

This is a quick & dirty Perl script Alexander Bernauer and I hacked, because we needed our ticketing system to send encrypted mail.

Wormhole

Sometimes administrators need to access the computer of a remote user, but depending on the location (e.g. hotels or foreign company networks) NAT or firewalls may get in the way. One method of getting around this problem is to establish an outbound SSH tunnel on the remote user's computer, and then connect back to the computer through that tunnel. However, setting up an SSH tunnel isn't something Joe Average usually is too comfortable with. That's why I wrote wormhole, a little application (actually a shell script encapsulated in an application bundle via Platypus) to make establishing a tunnel as simple as possible for remote Macintosh users.

Personal Firewalls

In 2004 Alexander Bernauer and I evaluated various personal firewalls. Our disillusioning findings have been published in issue #086 of the Datenschleuder, a quarterly journal issued by the Chaos Computer Club.

ntsvcfg

ntsvcfg is a Windows CMD script to automatically deactivate unneeded Windows services for either a standalone computer with its own internet connection or a computer that is part of a local network. I co-authored this script with Torsten Mann, who is hosting and maintaining it.

3D Simulation

Back in college, one of my software engineering classes was a project to develop a simple 3D engine without resorting to existing 3D routines. The implementation of my group was done in Java, because that way it was rather easy to implement the GUI, and the requirements were simple enough to be met by contemporary hardware. It's probably not really helpful to anyone, but it was fun to do, so I'm posting it anyway.

Run simulation
Project report (PDF, 307 kB, in German language)
Source code (Zip archive, 293 kB)

How to beat Windows software into submission

A lot of Windows software requires elevated privileges for no good reason. Usually the problem is simply that the program tries to write someplace where normal users don't have write access, in which case you can mitigate the problem by granting the users write permissions to the respective files, folders or registry keys. Here's a mini-HOWTO on how to identify (and fix) those missing permissions.

Multiboot Linux and Windows

There are some recommended ways in which order to install operating systems in order to get a working dual- or multiboot setup (e.g. install Windows 9x first, then Windows 2000; or install Windows first, then Linux). However, although these are the easiest ways to achieve the goal, they're not the only ones, and may even have considerable disadvantages. Here's how to do it the hard way.