Saturday, May 5, 2007

Wednesday, April 18, 2007

Tetrinetstats (former tnet2html) rewritten

I have completely rewritten the tnet2html perl script and renamed the project to "tetrinetstats". It is now capable of showing more than one winlist file and even to sum them up. Neat, isn't it? For an example of it's output take a look here.

Download (sample templates and CSS included).

Thursday, March 29, 2007

Tetrinet-X scores on a webpage

My home server (saladrex, FreeBSD machine) is now running a TetriNET server (tetrinet-x). Today I have written a small script which parses the game.winlist file the TetriNET server produces and displays it as HTML you design. Generally it does the following:
  1. Blindly sending a 'header.htm' to the client.
  2. Reading and parsing the score file.
  3. Sending out the content of a 'bit.htm' for each score field, and replacing $name with the name of the score holder and $score with the score value.
  4. Blindly sending a 'footer.html' to the client.
So far it can only cover one winlist file. Though I am working on it! Tested on IIS and Apache 2; and sorry for the missing help file: Too lazy!

Download (Sample HTML/CSS included)

Tuesday, March 20, 2007

flv2mpg utility

I have written a small but useful utility today: flv2mpg.pl. A perl script which tries to convert flash video files (.flv) specified via the command line to mpg files. The script uses ffmpeg do accomplish its task. I tested it both with the ffmpeg which is in the FreeBSD ports, and with a 'ffmpeg.exe' (win32 obviously) I downloaded somewhere. It is really useful when it comes to convert YouTube videos:

flv2mpg
flv2mpg - with ffmpeg.exe (Win32)

Monday, March 19, 2007

OpenBSD T-Shirt

Wow, it's finally here. And it looks awesome! Here are some pictures:




And I got the following:
  • Puffy transparent sticker.
  • A flyer for the OpenCON 2007 on 30th of November.
  • Flyer for the Chaos Communication Camp 2007
  • ... and a flyer for the EuroBSDCon 2007
I definitely try to come the latter two.

Tuesday, March 13, 2007

XSS on Aon.At

I recently discovered an XSS security hole on my ISPs website: aon.at. It can be used to create a "type 1" XSS attack against their search engine: POC. My email explaining my exposure has been accepted friendly by their support:

Thank you for informing us directly. After we have checked your link and/or input data ourselfs, we totally agree with the existence of this issue. We have redirected this issue it to our local administration. We will try to react to it as fast as possible.


Good work guys, and good luck.
P.S: @Aon Support: Please stop writing HTML emails. My spine shivers to the thought that YOU guys send out HTML emails. ;-) Just kidding!

Wednesday, March 7, 2007

CISCO CCNA Final

Hey, final tests today. I made it up 70% without learning anything. Cool ey? The others haven't learned anything either, though they have cheated and were thus possible to reach the 90% percent (and above). I did not cheat at all and reached 70% without learning anything. Yeah, I am proud of it.