If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Pleae help me to write a script from the encrypted file which consists login details

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-06-10, 06:32
kshyap007 kshyap007 is offline
Registered User
 
Join Date: Oct 2010
Posts: 2
Pleae help me to write a script from the encrypted file which consists login details

Hi Frorum Members,
I have an encrypted file which consists the usernames and Pwd in the encrpyted form.the file is _config.db_ids which will open with customize command mkidcfg.when we open this file with this command it will display four options 1:search2:add:update:exit and i will add a record ie unames and pwd.But this will store in encrypted form and redirect into a log file so I have to write a script to open the file and extract the passwords.

please find beloew snippet which is bit helpful.
Mkidcfg - Make ID Configuration File Program.
Version 1.1, 04/07/95


1 - Search for an ID
2 - Add an ID
3 - Update an ID
0 - Exit
Option: 2
Tag: testid
ID: testid
Password: pass123

1 - Search for an ID
2 - Add an ID
3 - Update an ID
0 - Exit
Option: 0

Now to extract the password, write a script to do this:
I am looking forward from you.


Advance Thanks
Siva Ranganath CH
Reply With Quote
  #2 (permalink)  
Old 10-06-10, 09:35
kitaman kitaman is offline
Papabi's friend
 
Join Date: Sep 2009
Location: Ontario
Posts: 629
What is the format of the file? Are the fields fixed length, or is there a separator character?
Do you expect to work with an existing database?
If 'mkidcfg' is a script file, you should already have the source code.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On