I'm using a PC with Win10
and TotalCommander(v10).
and the optional cloud-plugin(v2.4) to support Network/cloud drives
When you use this plugin, using a TC-MasterPassword is required.
This works fine.
But I want to integrate all passwords in my passwordmanager (KeePass in my situation).
When I add the TC-MasterPassword as new entry to Keepass, this is not working.
The TC-MasterPassword window is detected by KeePass
but the input-window "Master Password" remains empty,
no password is transferred from KeePass tot the TC input-window.
In this thread https://www.ghisler.ch/board/viewtopic.php?t=57254
was advised to add AllowHook=0 in section [General] of the configfile wcx_ftp.ini
I tried this, but it did not solve my problem.
So I did additional tests.
First I added a test-entry to KeePass for a Notepad window with password-string=TEST1.
When I started 'notepad testfile.txt' from the TC-commandline,
Notepad opened a testfile, but the KeePass hot-key Ctrl-Alt-A did NOT add the password-string.
But when I did in Windows Start; CommandPrompt
and entered in the CommandBox 'notepad testfile.txt',
the testfile was opened and the hot-key Ctrl-Alt-A worked fine !
I tested another PC(laptop) with Win10
and on that PC it worked just fine from TC-commandline.
This was strange
and after several other tests, I think I found the problem,
because ... when I connected an USB-keyboard to my laptop, the keyboard and TC worked fine, but it no longer worked correctly with KeePass also.
So my conclusion:
The keyboard-input hook for TC is on a different level than for commandprompt
and so the TC-keyboard input misses input from my KeePass passwordmanager.
Uses TC incorrect keyboardhook ?
Moderators: Hacker, petermad, Stefan2, white
Re: Uses TC incorrect keyboardhook ?
This is a security feature on the master password input (No other input field inside TC use special keyboard-hook). It should be disabled when using AllowHook=0 in section [General] of the configfile wcx_ftp.ini and checking the hook lock state in the Master Password Ui.
If Keepass is not able to handle it, it is a Keepass issue. Even if AutoType do not work, you can still use password copy ^C and paste it.
--Edited for clarity
If Keepass is not able to handle it, it is a Keepass issue. Even if AutoType do not work, you can still use password copy ^C and paste it.
--Edited for clarity
Re: Uses TC incorrect keyboardhook ?
I can only paste the password when Allowhook=1 - if Allowhook=0 it seems that the Ctrl+C character is pasted.copy ^C and paste it.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Uses TC incorrect keyboardhook ?
You have to use ^C inside Keepass and then paste in Master Password window.petermad wrote: 2022-05-28, 10:38 UTCI can only paste the password when Allowhook=1 - if Allowhook=0 it seems that the Ctrl+C character is pasted.copy ^C and paste it.
I personally use powerpro to automatically run script or send Keys when a windows is open. It woks with Master Password dialog, Keepass, ping ID ...
Re: Uses TC incorrect keyboardhook ?
Sure - I am just saying that you cannot paste unless Allowhook=1You have to use ^C inside Keepass and then paste in Master Password window.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Uses TC incorrect keyboardhook ?
You probably mean ^v captured as "unprintable char" but [Shift]+[Ins] or [RClick] -> paste still works.petermad wrote: 2022-05-28, 19:28 UTC Sure - I am just saying that you cannot paste unless Allowhook=1
window SendKeys also works only if Allowhook=0 and "Master Password" windows active. Sendkeys have some drawback as it refer to keystroke and not chars and it is sensitive to caps lock and other modifier keys...
// Powerpro can automate password typing automatically when dialog show up, AHK or AutoIt should also works. About Keepass, I only use it for web access on customer appliance where it is the only password manager allowed...
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Uses TC incorrect keyboardhook ?
I can confirm that Ctrl+V doesn't work with AllowHook=0. I will fix it.
However, Shift+Insert does work because I'm not intercepting it.
However, Shift+Insert does work because I'm not intercepting it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com