This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Extracts the user and password for the VPNBook free VPN service | |
# out of their social media | |
# based on https://gist.github.com/tobidope/8568487 | |
# | |
# https://gist.github.com/SmartFinn/aec9267db348c0bffd6045e07294e2cd | |
readonly CONN_ID="vpnbook" | |
readonly WEBPAGE="https://nitter.net/vpnbook/rss" | |
readonly AUTH_FILE_TMP="/tmp/vpnbook.$$" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# set -x # Uncomment to debug this shell script | |
set -o errexit \ | |
-o noclobber \ | |
-o pipefail | |
readonly PROGNAME="$(basename "$0")" | |
readonly VERSION="0.0.4" |