Set user agent for latest anyconnect to avoid 404
This commit is contained in:
parent
bdb508675c
commit
fb4c7afcf5
@ -79,7 +79,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$SEED" ] && [ -z "$OC_YUBIKEY" ]; then
|
if [ -z "$SEED" ] && [ -z "$OC_YUBIKEY" ]; then
|
||||||
sudo openconnect \
|
sudo openconnect --useragent='AnyConnect Darwin_i386 5.0.05040' \
|
||||||
$COMMON_PARAMS \
|
$COMMON_PARAMS \
|
||||||
--csd-wrapper hostscan-bypass.sh \
|
--csd-wrapper hostscan-bypass.sh \
|
||||||
--os=mac-intel \
|
--os=mac-intel \
|
||||||
@ -89,7 +89,7 @@ fi
|
|||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
eval $LOGIN | sudo openconnect \
|
eval $LOGIN | sudo openconnect --useragent='AnyConnect Darwin_i386 5.0.05040' \
|
||||||
$COMMON_PARAMS \
|
$COMMON_PARAMS \
|
||||||
--csd-wrapper hostscan-bypass.sh \
|
--csd-wrapper hostscan-bypass.sh \
|
||||||
--os=mac-intel \
|
--os=mac-intel \
|
||||||
|
Loading…
Reference in New Issue
Block a user