Command Line Extension
  • Password Dragon can be invoked from the command line. i.e records can be queried from the command line without launching the graphical user interface.

  • How to Invoke Password Dragon from Command Line

    Step 1 : Invoke the passworddragon command line as shown below.
    java -jar passworddragon.jar -cmd

    ---------------------------------------
    Password Dragon V4.0.0
    ---------------------------------------

    Step 2 : Open the *.pwm file as shown below
    pwm>open D:\passworddragon\datafile\test.pwm

    -------------------------
    Enter Password:*
    [Enter your password here]
    Confirm Password:* [Reenter your password again.]
    STATUS : File opened successfully.
    -------------------------

    Step 3: Now you can run all the available commands.


  • Commands Available :

    Command help
    Description This will display all the available commands
    Sample Usage pwm>help
    -------------------------
    Following commands are available :
    help
    open
    ls
    show
    fileinfo
    exit
    quit
    -------------------------
       
    Command open file_name
    Description Open a *.pwm file. file_name - This should include the full path to the file name. Once the file_name is provided, this will ask for the Password.
    Sample Usage pwm>open D:\test.pwm
    -------------------------
    Enter Password :*****
    Confirm Password :*****
    STATUS : File opened successfully.
    -------------------------
       
    Command ls [-l] [account_name]
    Description This will list all the records.
    Sample Usage

    pwm>ls
    -------------------------
    Id   Account Name
    = = = = = = = = = = = = = = = =
    0    Yahoo Email
    1    Hotmail
    2    Travelocity
    3    E-Bay

    STATUS : 4 records displayed
    -------------------------

    pwm>ls test
    -------------------------
    Id    Account Name
    = = = = = = = = = = = = = = = =
    12    Intranet Testing website
    15    Production Testing website
    20    Development Testing website

    STATUS : 4 records displayed
    -------------------------

    pwm>ls -l
    -------------------------
    Id     Account Name                    UserId            Password
    = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    0    Yahoo Email                          ramix_info       testpwd
    1    Hotmail                                  ramesh            mypwd
    2    Travelocity                             ramix_info        secretpwd
    3    E-Bay                                    ramesh             buyingpwd

    STATUS : 4 records displayed
    -------------------------------

    pwm>ls -l test
    -------------------------
    Id     Account Name                        UserId            Password
    = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    12    Intranet Testing website            intra_user        intrapwd
    15    Production Testing website       prod_user       prodpwd
    20    Development Testing website   dev_user         devpwd

    STATUS : 3 records displayed
    -------------------------

       
    Command show [-v] id
    Description This will display the details about a particular record.
    -v : Will display all the attributes of the records.
    id : This id can be obtained from the output of the ls command.
    Sample Usage

    pwm>show 10
    -------------------------
    Account Name : Yahoo Email
    User Id : ramix_info
    Password : ******
    URL : http://mail.yahoo.com
    Category : Personal
    -------------------------

    pwm>show -v 10
    -------------------------
    Account Name : Yahoo Email
    User Id : ramix_info
    Password : ******
    URL : http://mail.yahoo.com
    Category : Personal
    Notes : This account is used for yahoo email.
    Attribute 1 : Q:What is my pet name?
    Attribute 2 : A:whocares
    Attribute 3 :
    Attribute 4 :
    Attribute 5 :
    Attribute 6 :
    Attribute 7 :
    Attribute 8 :
    Attribute 9 :
    Attribute 10 :
    Created On : 21-Sep-2004 08:01:06 PDT
    Updated On : 30-Sep-2004 08:29:06 PDT
    -------------------------

       
    Command fileinfo
    Description This will display the name of the current open file.
    Sample Usage pwm>fileinfo
    -------------------------
    STATUS : Current Open File : D:\test.pwm
    -------------------------
       
    Command quit
    Description Exit the command line password dragon shell.
    Sample Usage pwm>quit
    -------------------------
    STATUS : Exiting Password Dragon..
    -------------------------