This script is made to work on modern Ubuntu-based Linux distributions.
Install openconnect VPN client with GlobalProtect support:
$ chmod a+x openconnect-installer.sh
$ sudo ./openconnect-installer.sh
| <link rel="alternate" hreflang="fr" href="https://twitter.com/?lang=fr"> | |
| <link rel="alternate" hreflang="en" href="https://twitter.com/?lang=en"> | |
| <link rel="alternate" hreflang="ar" href="https://twitter.com/?lang=ar"> | |
| <link rel="alternate" hreflang="ja" href="https://twitter.com/?lang=ja"> | |
| <link rel="alternate" hreflang="es" href="https://twitter.com/?lang=es"> | |
| <link rel="alternate" hreflang="de" href="https://twitter.com/?lang=de"> | |
| <link rel="alternate" hreflang="it" href="https://twitter.com/?lang=it"> | |
| <link rel="alternate" hreflang="id" href="https://twitter.com/?lang=id"> | |
| <link rel="alternate" hreflang="pt" href="https://twitter.com/?lang=pt"> | |
| <link rel="alternate" hreflang="ko" href="https://twitter.com/?lang=ko"> |
| // https://d3js.org Version 4.13.0. Copyright 2018 Mike Bostock. | |
| (function (global, factory) { | |
| typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | |
| typeof define === 'function' && define.amd ? define(['exports'], factory) : | |
| (factory((global.d3 = global.d3 || {}))); | |
| }(this, (function (exports) { 'use strict'; | |
| var version = "4.13.0"; | |
| function ascending(a, b) { |
| #!/usr/bin/env bash | |
| # Install build esentials | |
| apt update | |
| sudo apt install -y git build-essential gettext autoconf automake libproxy-dev libxml2-dev libtool vpnc-scripts pkg-config libgnutls28-dev | |
| # Install special openconnect with GlobalProtect support | |
| cd /tmp | |
| git clone https://github.com/dlenski/openconnect.git | |
| cd openconnect |
| version: '3' | |
| services: | |
| api: | |
| image: api:python | |
| build: ./api | |
| ports: | |
| - "5000:5000" | |
| web: | |
| image: php:7-apache |
| FROM python | |
| LABEL maintainer="Sawood Alam <@ibnesayeed>" | |
| RUN pip install beautifulsoup4 | |
| RUN pip install requests | |
| WORKDIR /app | |
| COPY linkextractor.py /app/ | |
| RUN chmod a+x linkextractor.py |
| #!/usr/bin/env python | |
| import sys | |
| import requests | |
| from bs4 import BeautifulSoup | |
| res = requests.get(sys.argv[-1]) | |
| soup = BeautifulSoup(res.text, "html.parser") | |
| for link in soup.find_all("a"): | |
| print(link.get("href")) |
| FROM python | |
| LABEL maintainer="Sawood Alam <@ibnesayeed>" | |
| RUN pip install beautifulsoup4 | |
| RUN pip install requests | |
| COPY main.py /app/ | |
| WORKDIR /app | |
| RUN chmod a+x main.py | |
| ENTRYPOINT ["./main.py"] |
| SHELL=/bin/bash | |
| MAIN=main | |
| LATEX=pdflatex | |
| BIBTEX=bibtex | |
| DTM=$(shell date +%Y%m%d-%H%M%S) | |
| all: clean build clear | |
| build: | |
| $(LATEX) $(MAIN).tex |