We use the pil scripts to install the new software. With the cyber resilience act we need to use usernames and passwords. The current problem is that we start the script with
PVITransfer.exe -automatic -“Install.pil” -“Log.txt”
Everything is displayed in the output window and the log. It makes sense to hide a few commands, such as connection commands and password variables. The silent mode is not a solution because we can not figure out what is happening in the script and also afterwards. The next problem is we can not write the password static in the pil script.
I think we have three possiblities:
-
We have to hide the password like in the command. Is it possible to create this via an external Program like opennssl or windows Powershell
Connection “/IF=TCPIP”, “/IP=192.168.0.20 /COMT=350 /PT=11169 /UN=‘"admin’ /PW=‘wf0DC2URn/TwlWEd7t79FOVCYQjiUXPHCYCiscVUbmI=’”, “WT=30”
-
We have to Include another pil script in the silent mode
-
We have to call the connection command via exe and after that we will go on with the pil script (i don’t know how)