Skip to content

Instantly share code, notes, and snippets.

@kiwnix
Created May 18, 2019 03:36
Show Gist options
  • Save kiwnix/f4e02c284f125a296ff8763ac6418591 to your computer and use it in GitHub Desktop.
Save kiwnix/f4e02c284f125a296ff8763ac6418591 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Para smartproxy server ( https://addons.mozilla.org/es/firefox/addon/smartproxy/ )
echo "[SmartProxy Servers]"
curl -LsS https://api.mullvad.net/public/relays/wireguard/v1/ | jq -r ".countries[] | (.code + \" - \" + .name + \" \" + ( .cities[] | (.name + \";\" + (.relays[].hostname / \"-\")[0] + \"-wg.socks5.mullvad.net\" ) ) ) + \":1080\" " | awk '{split($0,a,";"); print a[2] " [SOCKS5] " "["a[1]"]"}' | sed s/","/" -"/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment