Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I started using Keepass yesterday and it's really useful however I cannot find a way to add wildcard into the url...

I want one key being used on all url(s) that met the following rule:

http://www*.domain_name.ext

Then surfing to:

http://www.domain_name.ext
http://www1.domain_name.ext
http://www11.domain_name.ext
http://www12.domain_name.ext
http://www9999.domain_name.ext

will automatically fill user/password...

How can I obtain that?

share|improve this question

Original poster, are you using KeeFox plugin ? ( If not, it's advisable because it will solve your issue. )

A solution that worked for me was :

  1. install Firefox web browser, this does not work in Chrome or Iexplore as far as I know
  2. install KeeFox plugin and ensure it works with keepass on some test website like gmail.com
  3. in URL field, enter : domain_name.ext
  4. in KeeFox tab -> URLs tab enter: ^.*.domain_name.ext/.* -> Regular expression ticked, Match ticked
  5. test. Worked for me.
share|improve this answer
1  
Something like ^.*foo.com.* will match foo.com, http://foo.com/bar, https://www.foo.com, etc - ^ matches start, . matches any character, and * matches zero or more of the previous. – bburns.km Aug 5 '14 at 3:40
    
@BrianBurns that also matches barfoo.com – dube Mar 3 '15 at 9:12
2  
@dube Yeah, and I guess ^.* is kind of redundant - i.e. do either ^foo or .*foo. – bburns.km Mar 3 '15 at 17:21

I don't know about a wildcard solution but you can use references to re-use the username and/or password from one key in another.

You'd have to set up a key for each URL once but you'd only have to maintain the credentials in the master key.

See http://keepass.info/help/base/fieldrefs.html for more details.

Another thing that may match what you are looking for closer is how auto-type matches the window, look at http://keepass.info/help/base/autotype.html. If the different URL's contain the same title auto-type might work on all of them.

share|improve this answer

You want to use regular expression. So:

http://www*.domain_name.ext

would be represented as:

//http://www.*\.domain_name\.ext//

Depending on what browser you are using and what extension you are using to get the URL into the title bar, you may have to add something like this:

//.*http://www.*.domain_name.ext/ - Chromium//

More on regular expressions can be found ... well, it won't let me post any more links.

share|improve this answer
    
Here's the regexp link. Also, another Chrom(e|ium) extension. – Diagon Aug 21 '15 at 0:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .