Add AnyConnect useragent into openconnect-epfl script
This commit is contained in:
parent
c0dca78a74
commit
c7cc8f9516
|
@ -7,9 +7,10 @@ let
|
||||||
GASPAR_PASSWORD=$(rbw get gaspar)
|
GASPAR_PASSWORD=$(rbw get gaspar)
|
||||||
GASPAR_TOKEN=$(rbw code gaspar)
|
GASPAR_TOKEN=$(rbw code gaspar)
|
||||||
|
|
||||||
printf "%s\n%s" "$GASPAR_PASSWORD" "$GASPAR_TOKEN" | sudo openconnect \
|
printf "%s\n%s\n" "$GASPAR_PASSWORD" "$GASPAR_TOKEN" | sudo openconnect \
|
||||||
--passwd-on-stdin \
|
--passwd-on-stdin \
|
||||||
-u pham \
|
-u pham \
|
||||||
|
--useragent='AnyConnect' \
|
||||||
"https://vpn.epfl.ch"
|
"https://vpn.epfl.ch"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue