Skip to content

Instantly share code, notes, and snippets.

@danielkec
Created October 15, 2024 16:29
Show Gist options
  • Save danielkec/0c11776383652bf192ce87f349fd43a0 to your computer and use it in GitHub Desktop.
Save danielkec/0c11776383652bf192ce87f349fd43a0 to your computer and use it in GitHub Desktop.
mkdir -p /opt/cisco/anyconnect/lib-hack/ext
cd /opt/cisco/anyconnect/lib-hack/ext
wget -c https://archive.archlinux.org/packages/l/libxml2/libxml2-2.11.5-1-x86_64.pkg.tar.zst
wget -c https://archive.archlinux.org/packages/g/glib2/glib2-2.78.0-3-x86_64.pkg.tar.zst
wget -c https://archive.archlinux.org/packages/i/icu/icu-73.2-2-x86_64.pkg.tar.zst
tar --use-compress-program=unzstd -xvf libxml2-2.11.5-1-x86_64.pkg.tar.zst usr/lib
tar --use-compress-program=unzstd -xvf glib2-2.78.0-3-x86_64.pkg.tar.zst usr/lib
tar --use-compress-program=unzstd -xvf icu-73.2-2-x86_64.pkg.tar.zst usr/lib
cp -av usr/lib/lib* /opt/cisco/anyconnect/lib-hack

/opt/cisco/anyconnect/AnyConnectLocalPolicy.xml

<BypassDownloader>true</BypassDownloader>
export LD_LIBRARY_PATH=/opt/cisco/anyconnect/lib-hack
/opt/cisco/anyconnect/bin/vpn -s connect ocna-amsterdam.oracle-ocna.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment