Lorenz Cuno Klopfenstein

Posts tagged "Projects"

This weekend I needed to access a website via FTP from my laptop computer. Unfortunately, the password was stored only in the Filezilla "site manager" of my desktop PC and I had no copy of it in clear-text (since Filezilla ciphers all of its password...). If you ever have this kind of problem when using Filezilla, I hope you'll find the small program I wrote useful!  :)

Anyway all credit goes to Peter's Blog for the original deciphering code.

Note: Filezilla 2 stored all settings as ciphered strings either in the Filezilla.xml or in the Windows registry. This is not the case for FileZilla 3.0. Apparently they dropped the password ciphering stuff in the new version and passwords are simply stored in clear text. I can't say if this is good or bad (the original ciphering wasn't very strong anyway), but at least it's easier to get to your password once you forget them...

Filezilla Password Decoder screenshot However, if you're still using FileZilla 2, the passwords are very simple to decode: open the XML file or the registry and extract the keys of the program; copy and paste the ciphered values into the form and click on "decode".

The code

public string Decode(string sCrypt) { const string sKey = "FILEZILLA1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int cPass = sCrypt.Length / 3; int cOffset = cPass % sKey.Length; string sDecoded = ""; for (int i = 0; i < cPass; ++i) { int a = Int32.Parse(sCrypt.Substring(i * 3, 3)); char b = sKey[(i + cOffset) % sKey.Length]; char c = (char)(a ^ b); sDecoded += c; } return sDecoded; }

Download

Executable without installer. Needs the .NET 2.0 framework (x64) in order to run (or Mono if running on Linux).

Download the Filezilla Password Decoder (6.32 KiB)

Posted on Sunday, July 22, 2007
340 Views
0 comments posted

On Top Replica Did you ever want to watch a movie on your PC while actually working? Human multitasking, so to speak?  :D

Well, thanks to the DWM Thumbnail APIs of Windows Vista I was finally able to create a little application that does exactly what I always dreamed of: it let's you clone a window of your choice, thus keeping it "always on top" as a small real-time thumbnail. I'm new publishing version 1.0 as a preview (it has some quirks still... I learned how hard it is to proportionally resize a window  :)), but it should work fine in most cases. Check it out on its dedicated page and enjoy!

Posted on Wednesday, September 26, 2007
270 Views
0 comments posted

OnTopReplica on Codeplex.com "On Top Replica", the small application that I published on this site two months ago, has been updated (you will receive the update automatically if you installed it via OneClick) and has also been re-released with an open source licence on CodePlex.com.

The DWM Library on which the application is based has been released on CodePlex as well.

Check it out if you're interested and feel free to contact me for any feedback. If you simply want to install the application instead or need a short guide, please refer to the page on this website.

Posted on Thursday, November 22, 2007
317 Views
1 comments posted

Busy week! Exams are approaching and I keep working on my useless side-projects when I should be studying...  :|

Anyway, I found the time to update my pet project "OnTopReplica". You can download it directly from this site (it should update itself automatically). Enjoy!

And by the way, I learned some really interesting stuff about application settings and XML serialization: I'll post it soon.

Posted on Monday, January 21, 2008
312 Views
0 comments posted

It's time for a couple of updates to my side projects I enjoy to spend my free time with.

First of all, I finally posted a page about the Vista Controls for .NET 2.0 (update: later renamed to "WindowsFormsAero") library I started contributing code to in November 2007. The library has now reached version 1.3 and includes many of Vista's exclusive features for managed .NET applications. Check it out!  ;)

OnTopReplica too has reached version 1.3 and has undergone a lot of changes (better resizing, better error handling, more features...).

Posted on Thursday, February 28, 2008
Tagged as
291 Views
0 comments posted

Today I released an incremental update of OnTopReplica (reaching version number 1.3.1). No radical feature changes this time, just some fixes and improvements to how thumbnails are resized, how regions are defined and handled, and so on. Hope you enjoy it.  :)

As usual, source code and binaries are released on the CodePlex project page.

Posted on Monday, April 14, 2008
329 Views
0 comments posted

I'm back from a couple of exams at Unive and spent a couple of days working on my little side project "OnTopReplica". After some code refactoring, some neat additions and a completely rewritten (and definitely more usable) region selector, I ended up with what I think could be worthy of a major release: 2.0!

By the way, OnTopReplica has been recently featured on Softpedia, therefore I'll have a larger audience to satisfy now... (that is, larger than "my brother and I").  :D

Please check it out if you haven't already and let me know! Source code is available as always on CodePlex.com and it's definitely less messy this time.

Posted on Monday, September 15, 2008
371 Views
0 comments posted

Stopwatch - from Geekpedia.com I just published my new small project "MotoX Stopwatch" on the website: it's basically a simple stopwatch that allows you to keep track of times and laps for multiple people.

It's also my first program written with the Cobra language and released under the "Do What The Fuck You Want" public license (I always wanted to use it  :D)!

Posted on Monday, November 10, 2008
Tagged as
275 Views
1 comments posted

This evening I pulled together the last updates to my side project OnTopReplica and published it under version 2.1.

The update contains two nice features: first of all you can now adjust the opacity of the window by turning the mouse wheel. This also makes possible to set the opacity in finer increments than through the default menu.

Additionally, the fullscreen mode has been completely overhauled and now adapts much more nicely to the screen (in fact it now leaves the taskbar free and doesn't cover potential notifications). There's also a new click-through mode (you can enable it in the "resize" menu and by setting the window opacity to non-opaque) which transforms the default fullscreen mode into an "overlay" mode: the window will sit in the foreground as usual, but you will be able to click on every window underneath. Very cool to watch movies in full resolution!  ;)

Hope you like it! Download it here.

Posted on Monday, November 10, 2008
341 Views
0 comments posted

Today I'm starting another new exciting pet-project of mine!  :) I'm planning to buy some DMX hardware (DMX is a simple protocol to control lighting shows and such) and build a custom piece of software, that I could then use on live shows to give life to the gig with rhythmic lighting, effects and whatnot.

The most immediate use for it would by on gigs of my brother's band, Spasmodicamente. That would be totally awesome.  :D

So, for starts, I went looking for a cheap DMX controller that can be used interactively by a computer. There are several solutions by different companies, but the most convincing seemed to be those made by Nicolaudie-Sunlite. Different models exist, some of them are pretty expensive but they also include much stuff I don't really need. Fortunately, Sunlite also sells simple kits that come with a software development kit to program the thing.

Unboxing

Two days ago I ordered one SIUDI-6C (the cheapest model, since I wasn't completely sure it was going to work). It cost 100 € plus 25 € for shipping and it was one of the quickest deliveries I ever witnessed in my life! This morning at 10 o'clock it arrived safely in my hands (that's roughly a single day from France to central Italy). Thank you Sunlite!  :)

The unwrapped box.

The nice cardboard box is definitely overkill for the three items contained in it:

Contents of the box.

The little blue plastic box is the SIUDI-6C DMX controller. The disc contains a collection of software (most of which I won't use anyway), the SDK and some documentation (it's not MSDN, but it will do). A standard printer usb cable is also in the box.

Installing

As soon as I plugged the controller in the usb slot, Vista went searching for drivers on Windows Update for almost ten minutes. Without success.  :) Anyway, all drivers are on the CD (and on the website as well).

Just make sure you don't install the drivers in the /drivers folder, but directly install the SDK in /siudi/siudi5-6_developerkit.exe. The first set of drivers cannot be installed (on Vista) because of some error in the INF file. After some hacking around in the file I managed to get them installed (and thought all was well) but the example programs did not work: "no DMX interface installed". Duh.

Then I exumed my old XP disc, installed it on the former Linux partition (won't need that for this project, that's for sure) and tried again: same story. Those drivers simply do not work. I was almost about to send a mail to Sunlite, but I tried the (slighty smaller) driver pack included with the SDK and that did the trick!  :)
Now the little fellow is blinking like mad and responds to some basic DMX command.

The SIUDI-6C DMX Controller

So, now I'm ready to do some nice stuff with my new gadget! I ordered some other hardware that can be controlled via DMX today (a DMX dimmer), therefore I will probably have something working by the end of the next week.

Posted on Friday, November 14, 2008
1167 Views
1 comments posted
Back to Klopfenstein.net
Clemens Klopfenstein Serena Kiefer Lukas Tiberio Klopfenstein Lorenz Cuno Klopfenstein
English German