My 123 Application
Page 1 of 1
Ace128




Posts: 337

PostPosted: Wed, 22nd Jun 2005 23:00    Post subject: My 123 Application
Hey folks,

Ok, here is a paste from my latest app's help output:

Code:

123 v1.0
--------

Usage: 123 [Options] <path>
This utility is for renaming files to a "unique" filename, and also save the
unique md5 hex of the filename(s) and the original name next to it in a file
(named files.123). This utility also has the ability to encrypt and decrypt
using Blowfish.
If a file named key.123 is located in the same dir as this application, it's
content is used as <key>.

[Options]
 --reverse            - Change from the md5hex mentioned in .123 to the
                        original filename.
 --rename             - Rename files aswell.
 --encrypt[=]<key>    - Encrypt the .123 file's content aswell using the <key>
                        provided.
 --decrypt[=]<key>    - Tells the application that the .123 file's content is
                        encrypted, and tries to decypt this first by using the
                        <key> provided.

 -[-]c[=]<pattern>    - Encrypt file(s).
 -[-]d[=]<pattern>    - Decrypt file(s).
 --key[=]<key>        - Used with --c and --d option.

 --paranoid           - Using this option it first encrypts the files before
                        doing md5hex on their names (this, if creating the .123
                        file). Otherwise (if option --reverse is used), this
                        will lastly decrypt the file(s).

  Examples:

  #1) 123 --rename .  - This will create the files.123 file, and also rename
                        the files in the current directory.

  #2) 123 --rename --reverse . - This will change the files back to their
                                 original name. ("Undo" the above).

  #3) 123 --rename --encrypt=secret_pass .  - This will do as #1, but also
                                              encrypt the "files.123"'s
                                              content using "secret_pass" as
                                              a key.

  #4) 123 -c=*.zip --key=secret_pass .  - This will encrypt all .zip files in
                                          the current directory with the key
                                          "secret_pass".
                                          Note: Any 32 length filename is
                                          ----- ignored, aswell as "key.123"
                                                and "files.123".


The basic idea behind lies with .sfv files, but here the filename is md5:ed and saved with the original filename in a file. So, if you dont wanna have your filenames widely open, you can use this tool.

Example: In the file "files.123" it looks like this:
Code:

dd18bf3a8e0a2a3e53e2661c7fb53534 = test.txt
8caba7d65b81501f3b65eca199c28ace = test.zip

And those files in the dir are renamed to that 32 character long name. Quite like sfv. Now, if you want, you can also encrypt the data within this files.123. So it can be like:
Code:

52616e646f6d4956f12680d253240eb119e309b986784830ca729c89d91
c8c39bc130829c5aae6be18b2e9c6d61a117cf83ab1c1c9453d7105656d
44c2ca4f0ef1ade7c74604fc20b6daef3f5b2deb61767c7f5fbda8524ca
3dfca05af73f4044ab4830fe7c46303


Natrually, you can also, encrypt the files themselfes if you want. Preferbably before you do all that md5 on them.
Code:

test.txt.3nc
test.zip.3nc


Would be nice to have some comments on this app. And, maybe some ideas. GUI? (shouldnt really have to be needed!)

Edit: Maybe AES is better... But, an easy change. Main app is done. Change of algorithm is easy.

Thanks,
Ace
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Applications
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group