Retrieve unencrypted password

Discussion in 'Firefox' started by Christian Dornes, Mar 4, 2004.

  1. I want to retrieve a certain password from my password manager file.
    I did not check the encrypt option nor did I set a master password.
    But nonetheless I cannot get access to my passwords, they are not
    stored in plain text, but somehow encrypted.

    If I visit the website the password belongs to, the form is filled out,
    but I'd like to get access again without having to use mozilla and my
    password file, not at home that is.

    How to retrieve the password? Since I did not encrypt the .s file
    and did not set a master password, it should be possible. Or is there
    a way to read the asterisk in the form filled out my mozilla? I tried
    some asterisk-reaveal-programs, but they did not work with
    mozilla.


    Grant

    Christian Dornes
     
    Christian Dornes, Mar 4, 2004
    #1
    1. Advertising

  2. Christian Dornes wrote:

    > I want to retrieve a certain password from my password manager file.
    > I did not check the encrypt option nor did I set a master password.
    > But nonetheless I cannot get access to my passwords, they are not
    > stored in plain text, but somehow encrypted.
    >
    > If I visit the website the password belongs to, the form is filled out,
    > but I'd like to get access again without having to use mozilla and my
    > password file, not at home that is.
    >
    > How to retrieve the password? Since I did not encrypt the .s file
    > and did not set a master password, it should be possible. Or is there
    > a way to read the asterisk in the form filled out my mozilla? I tried
    > some asterisk-reaveal-programs, but they did not work with
    > mozilla.


    You can use a small javascript bookmarklet to reveal the password after
    Mozilla fills it in. In the browser, open the Bookmark Manager from the
    Bookmarks menu (or press Ctrk+B). In the Bookmark Manager's File Menu,
    select New>Bookmark. In the File Bookmark dialog, paste this line in the
    Location field (be sure that it's all one continuous line):

    javascript:(function(){var s,F,j,f,i; s = %22%22; F = document.forms;
    for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if
    (f.type.toLowerCase() == %22password%22) s += f.value + %22\n%22;
    } } if (s) alert(%22Passwords in forms on this page:\n\n%22 + s); else
    alert(%22There are no passwords in forms on this page.%22);})();

    Enter whatever you want to call the bookmarklet in the Name field, save
    the bookmarklet and exit the Bookmark Manager. Now navigate to the page
    where that password is used and let Mozilla fill in the password, but
    before doing anything else, click that bookmarklet and your password
    should be displayed in the resulting dialog.

    --
    CJ
     
    Caffeine Junkie, Mar 4, 2004
    #2
    1. Advertising

  3. Christian Dornes

    Ed Mullen Guest

    Caffeine Junkie wrote:

    > Christian Dornes wrote:
    >
    >
    >>I want to retrieve a certain password from my password manager file.
    >>I did not check the encrypt option nor did I set a master password.
    >>But nonetheless I cannot get access to my passwords, they are not
    >>stored in plain text, but somehow encrypted.
    >>
    >>If I visit the website the password belongs to, the form is filled out,
    >>but I'd like to get access again without having to use mozilla and my
    >>password file, not at home that is.
    >>
    >>How to retrieve the password? Since I did not encrypt the .s file
    >>and did not set a master password, it should be possible. Or is there
    >>a way to read the asterisk in the form filled out my mozilla? I tried
    >>some asterisk-reaveal-programs, but they did not work with
    >>mozilla.

    >
    >
    > You can use a small javascript bookmarklet to reveal the password after
    > Mozilla fills it in. In the browser, open the Bookmark Manager from the
    > Bookmarks menu (or press Ctrk+B). In the Bookmark Manager's File Menu,
    > select New>Bookmark. In the File Bookmark dialog, paste this line in the
    > Location field (be sure that it's all one continuous line):
    >
    > javascript:(function(){var s,F,j,f,i; s = %22%22; F = document.forms;
    > for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if
    > (f.type.toLowerCase() == %22password%22) s += f.value + %22\n%22;
    > } } if (s) alert(%22Passwords in forms on this page:\n\n%22 + s); else
    > alert(%22There are no passwords in forms on this page.%22);})();
    >
    > Enter whatever you want to call the bookmarklet in the Name field, save
    > the bookmarklet and exit the Bookmark Manager. Now navigate to the page
    > where that password is used and let Mozilla fill in the password, but
    > before doing anything else, click that bookmarklet and your password
    > should be displayed in the resulting dialog.
    >


    Or you can use this page: http://edmullen.net/Mozilla/moz_pw.html

    --
    Ed Mullen
    http://edmullen.net
    Are the kids on the Barney Show just too damn happy?
     
    Ed Mullen, Mar 4, 2004
    #3
  4. > In the File Bookmark dialog, paste this line in the
    > Location field (be sure that it's all one continuous line):
    >
    > javascript:(function(){var s,F,j,f,i; s = %22%22; F = document.forms;
    > for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if
    > (f.type.toLowerCase() == %22password%22) s += f.value + %22\n%22;
    > } } if (s) alert(%22Passwords in forms on this page:\n\n%22 + s); else
    > alert(%22There are no passwords in forms on this page.%22);})();


    I did.

    > Enter whatever you want to call the bookmarklet in the Name field, save
    > the bookmarklet and exit the Bookmark Manager. Now navigate to the page
    > where that password is used and let Mozilla fill in the password, but
    > before doing anything else, click that bookmarklet and your password
    > should be displayed in the resulting dialog.


    Unfortunately, i got the message "There are no passwords in forms on this
    page".
    Since I am not very much into reading code, my efforts to change the script
    to make it work did not succeed.

    The form on the website looks like this:

    First Login Name (Group): Plain text
    Second Login Name (Person): Plain text

    Password: 8 Asterisks


    I did not completely understand the code, so I cannot say if the structure
    of the form prevents the script from working as it was intended.

    javascript:
    (
    function()
    {
    var s,F,j,f,i; /* ok, i get this one. initializing variables */
    s = %22%22; /* set s to "2 blanks" */
    F = document.forms; /* what type does document.forms have? what IS it? */
    for(j=0; j<F.length; ++j) /* set j to 0, increase it by one every loop */
    {
    f = F[j]; /* here's the point when I begin not to understand it */
    for (i=0; i<f.length; ++i)
    {
    if (f.type.toLowerCase() == %22password%22) s += f.value + %22\n%22;
    }
    }
    if (s) alert(%22Passwords in forms on this page:\n\n%22 + s); /* msg the pw
    */
    else alert(%22There are no passwords in forms on this page.%22); /* msg no
    pw*/
    }
    )
    ();


    Thanks,

    Christian Dornes
     
    Christian Dornes, Mar 4, 2004
    #4
  5. Success! :D

    > Or you can use this page: http://edmullen.net/Mozilla/moz_pw.html

    Yeah, thank you! That's what I needed!

    The javascript:atob("<password>") method worked, I just copied
    my password from the .s file and it was decrypted.

    Thank you for your help, it was quite a problem for me because I really
    needed the password. I'm really happy now =)


    Christian Dornes
     
    Christian Dornes, Mar 4, 2004
    #5
  6. Christian Dornes

    Ed Mullen Guest

    Re: Success! :D

    Christian Dornes wrote:

    >>Or you can use this page: http://edmullen.net/Mozilla/moz_pw.html

    >
    >
    > Yeah, thank you! That's what I needed!
    >
    > The javascript:atob("<password>") method worked, I just copied
    > my password from the .s file and it was decrypted.
    >
    > Thank you for your help, it was quite a problem for me because I really
    > needed the password. I'm really happy now =)
    >
    >
    > Christian Dornes
    >
    >


    Christian,

    Happy to help and I'm glad you found a solution. Now, make sure you
    bookmark that solution so the next time it pops up you'll be able to
    find it. ;-)

    BTW, hanging out in various newsgroups is the way I picked up on all
    this "stuff." I'm a fairly-compulsive organizer so I developed a set of
    pages for my own reference and then realized, hey! Other people could
    benefit from a simple URL.

    In my humble opinion, sometimes just posting a URL is a very good thing
    if the person with the problem will take the time to do a little
    reading. It will solve the problem, yes, but it will also educate that
    person and - hopefully - the next time something similar comes up, that
    user will be better-armed to tackle the problem.


    --
    Ed Mullen
    http://edmullen.net
    A penny saved is ridiculous.
     
    Ed Mullen, Mar 4, 2004
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kathi
    Replies:
    0
    Views:
    702
    Kathi
    Jul 17, 2006
  2. theSunbird

    unencrypted wireless?

    theSunbird, Mar 1, 2004, in forum: Computer Security
    Replies:
    6
    Views:
    540
    BullBar
    Mar 2, 2004
  3. Replies:
    1
    Views:
    500
    Aaron Leonard
    Jul 28, 2006
  4. Niniel

    WPA encrypted connection reporting as unencrypted

    Niniel, Jan 27, 2009, in forum: Wireless Networking
    Replies:
    3
    Views:
    361
    Jack \(MVP-Networking\).
    Jan 27, 2009
  5. kevin turvey

    truecrypt drive merge with unencrypted drive

    kevin turvey, May 17, 2009, in forum: Computer Support
    Replies:
    1
    Views:
    626
    Just zis Guy, you know?
    May 17, 2009
Loading...

Share This Page