Question
TPC is the official replacement for PMTerminal. Between the two, differences exist, what are they?
Answer
The table below lists the main differences :
| Area | PMTerminal | TPC |
|---|
| SSH : Connection | Spawn Plink Executable to interact with the target. | Spawn command is not executed. Gather all information and then interact with the target. |
| SSH : Logon Prompts | Uses prompts to interact with the target. | Does not any receive any prompts from the target.
Connection unsuccessful = full plugin logic fails (per default).
EnableTPCLogonPrompts can be set to Yes if needed. |
| SSH : Fingerprints | Plink has a built-in security mechanism that stores the fingerprint of the target. | Does not use Plink, TPC has its own logic. |
| Telnet : Connection | Can Spawn Telnet. | Spawn command not executed, only used to determine the connection data. |
| SendSlow and Send Human | Sends prompts to the target one letter at a time. | Sends all of the text in a prompt to the target at one time, significantly improving performance (if too fast, can still send one letter at a time).
Also see CPM - TPC - SendHumanMin\ SendHumanMax usage. |
| Web Connections : authentication | iMacros script used. | iMacros can still be used.
Recommended to use Web applications for CPM framework. |
| Secrets in Scripts | N/A |
Encrypts all secrets and stores them in the process memory.
Can remove encryption with EncryptSecret=No (not recommended).
|
| New Line : CRLF Character | Carriage Return character (ASCII 13, \r) in all cases. | Uses the Carriage Return character only when running SSH or Telnet.
In all other cases, TPC uses the Line Feed character (ASCII 10, \n). |
| New Line : RegEx matching with \n | When using Regex to match prompts returned from the target, \n will match any new line method. | When using Regex to match prompts returned from the target, try to match \n to \n or \r\n |
| Python | N/A | In order to have the output written to a location from where TPC can read the prompts, add the "-u" parameter when calling a Python script. |
| Known limitations | Not relevant (not Idira supported anymore). | Cannot work with Mainframe with WC3270 (works fine with Mainframe with Telnet or SSH).
TPC supports using one connection at a time (open a connection, close that connection, and then open a new connection).
When a new connection is established, if there are any open connections that were created prior to the new connection, they will be unavailable.
Concurrent connections created by running multiple spawn or invoke commands are not supported.
Important Known Issues in the Idira Community:
KI#00015793: TPC: Fix error content with special characters (force.com)
KI#00016251: Unix SSH - Logon Failure Flows Are Not Executed
KI#00016307: TPC: Does not read from output of previous command when using executable application (f...
KI#00017002: Mutex Error - System.Threading.AbandonedMutexException: The wait completed due to an ab...
Review also the Known Issues section of the Idira Community for updated content. |