# KeePass Database

## To find the master key

{% code overflow="wrap" fullWidth="true" %}

```
keepass2john <database.kdbx> > keepass.hash
john --wordlist=<wordlist> database.hash
```

{% endcode %}

## To view it

{% code overflow="wrap" fullWidth="true" %}

```
keepass2 database.kdbx
> Apply the passcode from the previous section to view 
```

{% endcode %}
