Menu

Wildcards in URL

Anonymous
2012-03-06
2012-11-20
  • Anonymous

    Anonymous - 2012-03-06

    Hi all!

    Sometimes it is necessary to add a group rule for some URLs with authorization.
    A good example is ImageShack Image Hosting. Authorization on this site performs on different URLs like http://imgXXX.imageshack.us/content_round.php where XXX is some number.

    So KeePass is completely useless in this case because URL changes from time to time.

    Is it possible to solve such problem? Possibly some wildcards in URL?

     
  • wellread1

    wellread1 - 2012-03-06

    KeePass determines what auto-type to execute for a login by matching the Window Title not the URL.  As a result when logging into a site, auto-type will only be affected if the Window Title changed, not the URL. In KeePass 2.x, when matching Window Titles, you can use wildcards in the middle of a string, and regular expressions. See http://keepass.info/help/base/autotype.html#autowindows.

    You can also use placeholders in a URL if you desire.

    -wellread1

     
  • Anonymous

    Anonymous - 2012-03-07

    Dear wellread1

    Thanks for your reply.

    Possibly I have a misunderstanding of you, but your recommendations doesn't work.

    1. Please visit http://imageshack.us/ and hit "Login" in up right corner of the windows. The login page will appear. It is javascripted page with "Login" in title only so there is no possibility to use auto-type here.

    2. I cannot find any information about using any form of placeholder to make URLs specified above be general.

     
  • wellread1

    wellread1 - 2012-03-07

    Java script can occasionally complicate matters. In this case the apparent Window Title "Login" displayed in the pop-up is not the actual window title. The full window title of the pop-up is that of the parent page.  In Firefox this is: ImageShack® - Online Photo and Video Hosting - Mozilla Firefox

    Tip: to find the actual window title that KeePass matches, open the web page you want to auto-type into (e.g. the login pop-up).  While that page is open, open the KeePass entry, navigate to the auto-type edit dialog, and view the Target Window list in the drop down list.  These are all the currently active Window Titles, and are the only Window Titles that KeePass can make use of.

    I created an custom auto-type with a wild card as follows:
    Target Window: ImageShack*
    Sequence: {USERNAME}{TAB}{PASSWORD}{ENTER}

    The above custom auto-type worked in Firefox, Chrome & IE Explorer when I placed the cursor in the login pop-up email field and pressed the global auto-type sequence

    -wellread1

     

Log in to post a comment.

MongoDB Logo MongoDB