[FSPlugin] New idea

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

[FSPlugin] New idea

Post by *fenix_productions »

Hello.
I've got an idea for new filesystem plugin. I've tried to write it myself but I've discovered that my programmer skills are not good enought...

The main idea is plugin to store user passwords accessible by Network Neighborhood.

I've analize KeePass sources (http://keepass.sourceforge.net/) and I think that should be easy enought to implement something like that for someone who's got few experience with writing plugins.

What do You think about it?

P.S. My main ssumption was using XML files to store and manage datas. It could be universal someway 'cause many other softwares can export password databases to that format. For beginning XML file with crypted content (not tags of course) should be enought.
User avatar
CoMiKe
Senior Member
Senior Member
Posts: 285
Joined: 2003-05-05, 17:45 UTC
Location: Salamanca, Spain

Post by *CoMiKe »

Well, you could even use normal XML files, then pack them using and encrypted zip...

EDIT: Anyway, I think FS custom columns would be very useful for this plugin. Let's wait for TC 7.0.
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

I have made a litle FS plugin which is capable to load via F5 any xml file as long the xml represents a file system. All the plugin operations are possible (copy, move, delete, create dir). I think it could be improved to store passwords.

XML Example:
<?xml version="1.0" encoding="UTF-8"?>
<Drive>
<Folder Name="Messengers">
<Folder Name="MSN">
<File>UserName: davidMSN</File>
<File>Password: davidMSN</File>
</Folder>
<Folder Name="ICQ">
<File>UserName: davidICQ</File>
<File>Password: davidICQ</File>
</Folder>
<Folder Name="Yhaoo">
<File>UserName: davidYhaoo</File>
<File>Password: davidYhaoo</File>
</Folder>
</Folder>
<Folder Name="Mail Boxes">
<Folder Name="Zmail">
<File>Homepage: www.zmail.pt</File>
<File>UserName: zmail</File>
<File>Password: zmail</File>
</Folder>
<Folder Name="Gmail">
<File>Homepage: www.gmail.com</File>
<File>UserName: gmailuser</File>
<File>Password: daviduser</File>
</Folder>
<Folder Name="Mail.pt">
<File>UserName: daviduser</File>
<File>Password: davidpwd</File>
</Folder>
</Folder>
</Drive>
What do you mean with crypted content? Give example plz.

New exported passwords could be added by simply copy the new xml file to the plugin at any location.
______________________
David Jorge
Personal License #117854
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

I mean something like that in the passwords base file:

Code: Select all

...
<UserName>whatever</UserName> 
<Pswd>Password: 42hjkhr76^*&HEK#&I</Pswd>
...
Using some kind of encyption (even "stupid" Viegenere algorithm) You can prevent Your passwords before steal by someone.

More effective could be extra window appearing when You enter the plugins FS. That window needs pswd to show You unencrypted contents.
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

And what should appear in the FS pannel?
<UserName>whatever</UserName>
<Pswd>Password: 42hjkhr76^*&HEK#&I</Pswd>
According to you example 2 files will appear in the fs pannel, right?
One file with Username and another file with the password.

What if an user wants to keep addicional information like webpage, or some other note?
______________________
David Jorge
Personal License #117854
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

What if an user wants to keep addicional information like webpage, or some other note?
That's why I think Your XMLplugin in not good enought.
I was trying to write something like that:
folder - group of passwords
file - specific item

Here you've got an example.

For the structure above You could see only folder and files name but ENTER on any of them means:
on folder - go to the group and see it's subfolders & files
on file - new window pops up (something like that)

On FindFirst() and FindNext() You can parse only files and folder tag's and extract their names to show in the panel....
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

You are right. My xml plugin can't do that. That's why i have never released it to the plubic :wink:
It was my first attempt to play with the FS interface....

However, the most dificult part is to make those fancy windows. All rest is just parsing.
______________________
David Jorge
Personal License #117854
djorge
Senior Member
Senior Member
Posts: 422
Joined: 2003-07-03, 12:48 UTC
Location: Portugal

Post by *djorge »

I have modified my xml plugin to parse the xml file you post, and show the:
folder - group of passwords
file - specific item

But that's the easy part (all the hard work is already done in the xml plugin). Like i said, the fancy window is the most difficult part to do.

I will try to show a window when the user press enter, but show the password text as it is in the xml at this moment.
______________________
David Jorge
Personal License #117854
Post Reply