Last active
July 18, 2019 18:25
-
-
Save jballe/68f75796089cafd0102de85a3e87e469 to your computer and use it in GitHub Desktop.
KeePass URL overrides
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd://cmd /c "cmdkey /generic:TERMSRV/{URL:RMVSCM} /user:{USERNAME} /pass:{PASSWORD} && mstsc /v:{URL:RMVSCM} && timeout /t 5 /nobreak && cmdkey /delete:TERMSRV/{URL:RMVSCM}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd://cmd /c "echo Username:{REF:A@T:{USERNAME}}\{REF:U@T:{USERNAME}} && cmdkey /generic:TERMSRV/{URL:RMVSCM} /pass:{REF:P@T:{USERNAME}} /user:{REF:A@T:{USERNAME}}\{REF:U@T:{USERNAME}} && mstsc /v:{URL:RMVSCM} && timeout /t 1 /nobreak && cmdkey /delete:TERMSRV/{URL:RMVSCM}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd://"C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe" -S {URL:RMVSCM} -U {USERNAME} -P {PASSWORD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd://"C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\Ssms.exe" -S {URL:HOST} -d {T-REPLACE-RX:;{URL:PATH};/;;} -U {USERNAME} -P {PASSWORD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd://putty -ssh {USERNAME}@{URL:RMVSCM} {KEEAGENT:IDENTFILEOPT} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rdp: Starts Remote Desktop. I learned this from http://blog.bitcollectors.com/adam/2014/04/launching-rdp-keepass-2-x-auto-login/
rdps: Searches for another entry with same title as the username. Url of that other entry is used as domain (as I could not get it to work with the backslashes in username)
sql: Start SQL Studio Management and connects to specified server. I use a custom field for database name
ssh: Starts PuTTY with SSH key from KeeAgent