[TC 8.0 B21 x64] Weird error with e-banking software

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

User avatar
Flint
Power Member
Power Member
Posts: 3511
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Timores
I took a look but there are too many differences, and I have too little knowledge of the program's internals. The most visible differences I noticed are that the "bad" instance is actively reading the contents of the local Firefox profile, and the "good" instance performs some negotiation with mid.migrosbank.ch, but I cannot tell why this happens. Let's see what Process Explorer has to tell.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
Timores
Junior Member
Junior Member
Posts: 11
Joined: 2012-02-24, 22:59 UTC
Location: Switzerland

Post by *Timores »

Flint
Thank you for all your time and support. Really appreciated.

I could not find any interesting stuff from the Process Monitor trace, either.

I uploaded 24 screnshots in https://skydrive.live.com/#cid=1E771DCD1C382F9C&id=1E771DCD1C382F9C%21437

The e-banking sw is made up of 3 processes, easily found through PE's hierarchical process view. I named them root, child and grand-child.
I took screenshots of the Image, TCP/IP, Security, Environment tabs of each of them. One set is in the sub-directory "Launched by TC" and the second one is the sub-directory "Launched by cmd".

I compared them side-by-side but did not find any significant difference (the only one I found was the inclusion of 3 environment variables by TC).
Last edited by Timores on 2012-03-06, 22:03 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50861
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I don't think that the environment variables have any influence - they are also present when you start cmd.exe from TC, and then the banking software. Could you make three more tests, please?

1. Press Ctrl+Enter on the EXE to put it in the command line, then ENTER to launch it from there.

2. Drag&drop the EXE to the command line with SHIFT pressed to put it there with DOS names (no spaces in name), then press ENTER to launch it.

3. Drag it to the button bar to add it, then try to launch it with a click on the button.

Does any of the launches succeed?
Author of Total Commander
https://www.ghisler.com
Timores
Junior Member
Junior Member
Posts: 11
Joined: 2012-02-24, 22:59 UTC
Location: Switzerland

Post by *Timores »

Thanks for your patience with this issue.
ghisler(Author) wrote:I don't think that the environment variables have any influence - they are also present when you start cmd.exe from TC, and then the banking software. Could you make three more tests, please?
To be honest, I was not expecting them to make any difference, but it was the only difference I could find between the 2 sets....
ghisler(Author) wrote: 1. Press Ctrl+Enter on the EXE to put it in the command line, then ENTER to launch it from there.
Software launches but is unable to access the smart card.
ghisler(Author) wrote: 2. Drag&drop the EXE to the command line with SHIFT pressed to put it there with DOS names (no spaces in name), then press ENTER to launch it.
I don't want to be picky, but I could not do it exactly like this. Dragging&dropping the EXE to a command prompt did not activate the cmd.exe window, so pressing ENTER after the drop launched the software from TC, and it did not work (no access to smart card).
If, after dropping the EXE, I first activate the command prompt and press ENTER, it is not working at all, because the software seems to load other EXEs and DLLs from its current directory, which was my user's directory (i.e. c:\users\_user name_). Thus, it starts and quits immediately.
If I first set the current directory in the cmd.exe window to the USB key drive and drag&drop the EXE and activate the cmd.exe and press ENTER, it works fine (I am quite curious about this procedure because it does not seem to be different than a normal launch from cmd.exe).
ghisler(Author) wrote: 3. Drag it to the button bar to add it, then try to launch it with a click on the button.
Software launches but is unable to access the smart card.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Timores,
Dragging&dropping the EXE to a command prompt
Not the command prompt but the command line. The command line is a part of TC itself, just below the file panels, above the function key buttons.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Timores
Junior Member
Junior Member
Posts: 11
Joined: 2012-02-24, 22:59 UTC
Location: Switzerland

Post by *Timores »

Hacker,

Thanks for the clarification. Now I understand what Ghisler meant. And his request now makes sense to me. And the manipulation is 100% correct.

Unfortunately, I get the same result. The software starts OK but cannot access the smart card.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50861
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I don't see any solution for your problem then, except for not running the misbehaving software from TC.
Author of Total Commander
https://www.ghisler.com
Timores
Junior Member
Junior Member
Posts: 11
Joined: 2012-02-24, 22:59 UTC
Location: Switzerland

Post by *Timores »

No problem, thanks for trying !
User avatar
CopyCats
Member
Member
Posts: 195
Joined: 2003-02-05, 13:09 UTC
Location: Netherlands
Contact:

Post by *CopyCats »

I'd be curious to know if it works, when you create a batch file (in the program's own folder) that launches the program. And then, if it still works if you run that batchfile from Total Commander.

(Inside the batchfile, you can call the banking program directly, but you could also try to launch it through the 'Start' command which opens it in a separate window).
#5050 :: Everyone who believes in telekinesis, raise my hand!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50861
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The user was already asked to start cmd.exe from Total Commander, and then start the tool from there, but he still got the same error. Therefore the problem will also occur with a batch file.
Author of Total Commander
https://www.ghisler.com
Post Reply