This commit is contained in:
2024-10-13 23:32:58 +02:00
parent 30627b25b3
commit dbfba56f66
38 changed files with 3897 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
@echo off
cls
c:
cd \program files\cisco systems\vpn client\
echo Verbindungsversuch
:LOOP
vpnclient connect AW user Andre pwd K01v1kk0!>vpnconnect.log
type vpnconnect.log | find "already exists"
if errorlevel 1 goto NEXT1
if errorlevel 0 goto EXISTS
:NEXT1
type vpnconnect.log | find "is secure"
if errorlevel 1 goto NEXT2
if errorlevel 0 goto ESTABLISHED
:NEXT2
echo Neuer Verbindungsversuch
goto LOOP
:EXISTS
echo Verbindung bereits aufgebaut
goto ENDE
:ESTABLISHED
echo Verbindung erfolgreich aufgebaut
goto ENDE
:ENDE
cd \
goto QUIT
:QUIT
pause