This shows you the differences between two versions of the page.
script_generic_adaptor [2024/12/09 14:53] montse [Initialization Parameters] |
script_generic_adaptor [2025/03/07 10:07] (current) ale |
||
---|---|---|---|
Line 25: | Line 25: | ||
* **disconnect_Script():** performs disconnection of the SSH server. Returns true if it succeeds or false otherwise. It does no requires parameters. | * **disconnect_Script():** performs disconnection of the SSH server. Returns true if it succeeds or false otherwise. It does no requires parameters. | ||
- | * **execute_Script(Script):** picks up the command that allows you to execute the script. Returns true if the execution was successful or false otherwise. Leave the result in an output file in the execution Log along with the Screenshots if they have been requested. | + | * **execute_Script(Script):** gets the command that allows you to execute the script. Returns a String with the result of the script execution. It generates a file “ScriptResultsStep.txt” in the same directory as the logs, if evidence has been requested. |
* **newConnect_Script(Username, Password, Host, Port, Connection_Type):** allows defining a new connection with a different SSH server, using the same parameters that are used in the initialization of the Adapter. Returns true if successful or false otherwise. | * **newConnect_Script(Username, Password, Host, Port, Connection_Type):** allows defining a new connection with a different SSH server, using the same parameters that are used in the initialization of the Adapter. Returns true if successful or false otherwise. |