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