File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,19 +111,38 @@ public override async Task Execute(Arguments args)
111111 {
112112 case "accept? [y/n]:" :
113113 case "Connect Anyway? [y/n]:" :
114+ case "Trotzdem verbinden? [y/n]:" :
114115 case "Change the setting that blocks untrusted connections? [y/n]:" :
115116 case "Always trust this server and import the certificate? [y/n]:" :
116- await process . StandardInput . WriteLineAsync ( "y" ) ; break ;
117+ await process . StandardInput . WriteLineAsync ( "y" ) ;
118+ break ;
119+
117120 case "Group:" :
118121 if ( group is - 1 )
119122 throw new ArgumentException ( $ "Gruppe '{ args . Group } ' ist ungültig", nameof ( args . Group ) ) ;
120123 await process . StandardInput . WriteLineAsync ( $ "{ group } ") ;
121124 break ;
122- case "Username:" : await process . StandardInput . WriteLineAsync ( args . Username ) ; break ;
123- case "Password:" : await process . StandardInput . WriteLineAsync ( args . Password ) ; break ;
124- case "AnyConnect cannot verify server:" : writeNewLine = false ; break ;
125+
126+ case "Username:" :
127+ case "Benutzername:" :
128+ await process . StandardInput . WriteLineAsync ( args . Username ) ;
129+ break ;
130+
131+ case "Password:" :
132+ case "Kennwort:" :
133+ await process . StandardInput . WriteLineAsync ( args . Password ) ;
134+ break ;
135+
136+ case "AnyConnect cannot verify server:" :
137+ case "Cisco Secure Client cannot verify server:" :
138+ case "Cisco Secure Client kann den Server nicht verifizieren:" :
139+ writeNewLine = false ;
140+ break ;
141+
125142 case "Answer:" :
126- case "Second Password" :
143+ case "Antwort:" :
144+ case "Second Password:" :
145+ case "Zweites Kennwort:" :
127146 if ( ! string . IsNullOrEmpty ( args . Totp ) )
128147 await process . StandardInput . WriteLineAsync ( args . Totp ) ;
129148 else if ( args . Mail is not null )
You can’t perform that action at this time.
0 commit comments